Forum » Programska oprema » Postfix Relay access denied
Postfix Relay access denied
2g00d4u ::
Pozdravljeni!
Naletel sem na eno težavo. Do sedaj sem na serverju poganjal "legalno" komercialni server.
Sedaj pa sem se odločil da je konec temu in da bom namestil postfix. Šel sem skozi ta howto http://howtoforge.com/perfect_setup_cen...
In sedaj nastane problem. Emaile lahko pošiljam prejemati pa jih ne morem
NOQUEUE: reject: RCPT from unknown[64.233.166.179]: 554 email@mojadomena.net: Relay access denied; from=email@gmail.com to=email@mojadomena.net proto=ESMTP helo=py-out-1112.google.com
/etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.10/samples
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
mynetworks = 127.0.0.0/8
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
mailbox_command =
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login
Rad bi pa da lahko pošiljajo emaile samo avtorizirani uporabniki.
Prosim za pomoč
Hvala
Naletel sem na eno težavo. Do sedaj sem na serverju poganjal "legalno" komercialni server.
Sedaj pa sem se odločil da je konec temu in da bom namestil postfix. Šel sem skozi ta howto http://howtoforge.com/perfect_setup_cen...
In sedaj nastane problem. Emaile lahko pošiljam prejemati pa jih ne morem
NOQUEUE: reject: RCPT from unknown[64.233.166.179]: 554 email@mojadomena.net: Relay access denied; from=email@gmail.com to=email@mojadomena.net proto=ESMTP helo=py-out-1112.google.com
/etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.10/samples
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
mynetworks = 127.0.0.0/8
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
mailbox_command =
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login
Rad bi pa da lahko pošiljajo emaile samo avtorizirani uporabniki.
Prosim za pomoč
Hvala
2g00d4u ::
A mi res nihce ne zna pomagat?
Mogoce kako bi z nule nastavil da bi delalo
Vsaka pomoc je dobrodosla
Mogoce kako bi z nule nastavil da bi delalo
Vsaka pomoc je dobrodosla
mHook ::
Ne poznam postfixa, ampak nekje moraš nastavit, da ti sprejema maile za domeno mojadomena.net in kreirat userje.
Moglče ti bo dokumentacija kaj pomagala.
Moglče ti bo dokumentacija kaj pomagala.
jype ::
mojadomena.net mora biti v mydestination, če hočeš da postfix razume, da je ta domena na lokalnem strežniku.
mydomain = mojadomena.net
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = mojadomena.net
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
bbb1 ::
Lahko uporabiš virtual tabelo uporabnikov/domen,
za smtp pa je problem.. pop before smtp, ali pa smtp authentifikacija.
Lahko ti pa skonfiguriramo in postavimo
za smtp pa je problem.. pop before smtp, ali pa smtp authentifikacija.
Lahko ti pa skonfiguriramo in postavimo
2g00d4u ::
Hvala!
Res je manjkala domena.
Sedaj pa me še zanimajo druge stvari. Kateri zares dober spam filter in AV mi priporočate da dam gor?
Res je manjkala domena.
Sedaj pa me še zanimajo druge stvari. Kateri zares dober spam filter in AV mi priporočate da dam gor?
jype ::
Kaj pomeni "zares dober"?
Meni že vrsto let odlično služi jo amavisd-new, ClamAV in spamassassin. Vsi so GPL (in tudi zastonj).
Meni že vrsto let odlično služi jo amavisd-new, ClamAV in spamassassin. Vsi so GPL (in tudi zastonj).
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | SpamOddelek: Pomoč in nasveti | 6079 (4536) | Matko |
» | Mail strežnik na linuxuOddelek: Omrežja in internet | 1916 (1615) | x.sci |
» | [Ubuntu server] mail poslan iz serverja zazna kot vsiljeno pošto (strani: 1 2 )Oddelek: Omrežja in internet | 9158 (8128) | shorvat |
» | Postfix MX lookupOddelek: Omrežja in internet | 2309 (1908) | Bakunin |
» | all in one mail serverOddelek: Omrežja in internet | 2656 (2246) | r5r |