[Postfixbuch-users] Relay Access Denied

Alexander Dalloz ad+lists at uni-x.org
Sa Jul 28 15:38:42 CEST 2007


Jens M. schrieb:
> Hallo Liste,
> 
> ich habe ein kleines Problem mit meiner Postfix-Konfiguration.
> Und zwar habe ich sowohl auf einen neuen Server, als auch auf Verwaltung 
> via MySQL umgestellt. Eigentlich dachte ich, es geht alles, bis ich 
> versucht habe, eine E-Mail an eine Adresse ausserhalb meines Servers zu 
> senden. Da kommt dann nämlich:
> 
> Jul 28 14:38:36 vinola1 postfix/smtpd[21239]: NOQUEUE: reject: RCPT from 
> p54A82A4F.dip0.t-ipconnect.de[84.168.42.79]: 554 <user at otherDomain>: 
> Relay access denied; from=<user at myDomain> to=<user at otherDomain> 
> proto=ESMTP helo=<[192.168.178.23]>
> 
> user at otherDomain + user at myDomain sind natürlich mit echten werten gefüllt.
> 
> Ich weiss nicht so recht, woran es liegen mag.
> Habe schon im Inet gesucht und viel probiert, jedoch alles ohne Erfolg. :-(
> 
> Ich bin für jeden Tipp dankbar!
> 
> Viele Grüße,
> Jens
> 
> 
> 
> postconf -n
> 
> append_dot_mydomain = no
> biff = no
> config_directory = /etc/postfix
> inet_interfaces = all
> inet_protocols = all
> mydestination =
> myhostname = localhost
> mynetworks = 127.0.0.0/8
> myorigin = localhost
> recipient_delimiter = +
> relayhost =
> smtp_tls_note_starttls_offer = yes
> smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
> smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
> smtpd_recipient_restrictions = 
> permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
> smtpd_tls_CAfile = /server/postfix/certs/cacert.pem
> smtpd_tls_auth_only = no
> smtpd_tls_cert_file = /server/postfix/certs/smtpd.crt
> smtpd_tls_key_file = /server/postfix/certs/smtpd.key
> smtpd_tls_loglevel = 1
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
> smtpd_tls_session_cache_timeout = 3600s
> smtpd_use_tls = yes
> tls_random_source = dev:/dev/urandom
> virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
> virtual_gid_maps = static:106
> virtual_mailbox_base = /server/postfix/vmail
> virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
> virtual_mailbox_limit = 0
> virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
> virtual_minimum_uid = 106
> virtual_transport = virtual
> virtual_uid_maps = static:106

Ja was hast Du denn "probiert", um das relaying zu kontrollieren?

Du hast zwar in smtpd_recipient_restrictions "permit_sasl_authenticated"
gesetzt, ich sehe aber keine entsprechende SMTP AUTH Konfiguration. Da
der relay-Versuch von extern kommt, scheidet $mynetworks aus.

http://www.postfix.org/SASL_README.html
http://www.postfix.org/SMTPD_ACCESS_README.html

Alexander




Mehr Informationen über die Mailingliste Postfixbuch-users