X_FISH
27.09.10, 13:12
Ich bin anhand der Anleitung Sender-abhängige Authentifizierung (http://wiki.ubuntuusers.de/Postfix/Erweiterte_Konfiguration#Sender-abhaengige-Authentifizierung) vorgegangen und habe Postfix mit sender_dependent_relayhost_maps konfiguriert.
Einziger Unterschied zur Anleitung: /etc/postfix/sasl_password ist bei mir nicht nach dem Schema "Absenderadresse Loginname:Passwort" sondern nach "Mailserver Loginname:Passwort" konfiguriert (da dies in einer englischsprachigen Anleitung so vorgegeben war und bisher für den Relayhost funktioniert hat).
Auch eine Veränderung der Konfigurationsdatei gemäß des Schemas der verlinkten Anleitung hat keine Abhilfe gebracht. Offensichtlich funktioniert Auth nicht?
E-Mails werden abgewiesen, beispielsweise hier bei Hotmail:
[...] status=bounced (host mx4.hotmail.com[65.55.37.120] said: 550 DY-001 Unfortunately, messages from 217.190.175.98 weren't sent. Please contact your Internet service provider. You can tell them that Hotmail does not relay dynamically-assigned IP ranges. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. (in reply to MAIL FROM command))
Offensichtlich funktioniert der Eintrag in /etc/postfix/sender_dependent, jedoch erfolgt kein Auth, welches den Versand ermöglichen würde?
Gleiches Problem bei GMX (ohne Angabe eines Ports, siehe weiter unten):
[...] status=deferred (lost connection with mx1.gmx.net[213.165.64.102] while receiving the initial server greeting)
Und bei Googlemail:
[...] status=bounced (host gmail-smtp-in.l.google.com[74.125.39.27] said: 550-5.7.1 [217.190.175.98] The IP you're using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1 http://mail.google.com/support/bin/answer.py?answer=10336 6si5359153fay.34 (in reply to end of DATA command))
Abhilfe soll angeblich schaffen, den Eintrag mit dem Port zu versehen:
@googlemail.com [smtp.googlemail.com]:587
@gmx.net mail.gmx.net
@live.de [smtp.live.com]:587
[...]
Jedoch auch hier die Ausgaben wie oben bereits geschrieben.
farnsworth:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = farnsworth.futurama, localhost.futurama, localhost
myhostname = farnsworth.futurama
mynetworks = 127.0.0.0/8,192.168.56.0/24 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_dependent
smtp_connection_cache_on_demand = no
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
farnsworth:~# postconf -d mail_version
mail_version = 2.5.5
Anmerkung: Der Server läuft in einer VM und ist nicht direkt mit dem Internet verbunden.
Grüße, Martin
Einziger Unterschied zur Anleitung: /etc/postfix/sasl_password ist bei mir nicht nach dem Schema "Absenderadresse Loginname:Passwort" sondern nach "Mailserver Loginname:Passwort" konfiguriert (da dies in einer englischsprachigen Anleitung so vorgegeben war und bisher für den Relayhost funktioniert hat).
Auch eine Veränderung der Konfigurationsdatei gemäß des Schemas der verlinkten Anleitung hat keine Abhilfe gebracht. Offensichtlich funktioniert Auth nicht?
E-Mails werden abgewiesen, beispielsweise hier bei Hotmail:
[...] status=bounced (host mx4.hotmail.com[65.55.37.120] said: 550 DY-001 Unfortunately, messages from 217.190.175.98 weren't sent. Please contact your Internet service provider. You can tell them that Hotmail does not relay dynamically-assigned IP ranges. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. (in reply to MAIL FROM command))
Offensichtlich funktioniert der Eintrag in /etc/postfix/sender_dependent, jedoch erfolgt kein Auth, welches den Versand ermöglichen würde?
Gleiches Problem bei GMX (ohne Angabe eines Ports, siehe weiter unten):
[...] status=deferred (lost connection with mx1.gmx.net[213.165.64.102] while receiving the initial server greeting)
Und bei Googlemail:
[...] status=bounced (host gmail-smtp-in.l.google.com[74.125.39.27] said: 550-5.7.1 [217.190.175.98] The IP you're using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1 http://mail.google.com/support/bin/answer.py?answer=10336 6si5359153fay.34 (in reply to end of DATA command))
Abhilfe soll angeblich schaffen, den Eintrag mit dem Port zu versehen:
@googlemail.com [smtp.googlemail.com]:587
@gmx.net mail.gmx.net
@live.de [smtp.live.com]:587
[...]
Jedoch auch hier die Ausgaben wie oben bereits geschrieben.
farnsworth:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = farnsworth.futurama, localhost.futurama, localhost
myhostname = farnsworth.futurama
mynetworks = 127.0.0.0/8,192.168.56.0/24 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_dependent
smtp_connection_cache_on_demand = no
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
farnsworth:~# postconf -d mail_version
mail_version = 2.5.5
Anmerkung: Der Server läuft in einer VM und ist nicht direkt mit dem Internet verbunden.
Grüße, Martin