PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : postfix leitet nicht an gmx weiter...



psy
06.10.04, 12:01
hi,

irgendwie steh ich auf dem schlauch, mein router soll die erzeugten logdateien per mail an meine gmx-adresse schicken, als smtp-server dient mein server hier im netz (postfix), ich hab smtp-auth installiert und konfiguriert in der saslpasswd-datei steht auch der smtp von gmx, meine mail-adresse und das passwort, postmap /etc/postfix/saslpasswd hab ich auch schon ausgeführt, trotzdem kommt diese meldung in der mail.info.



Oct 6 10:43:38 pimp postfix/smtpd[1405]: connect from unknown[192.168.0.1]
Oct 6 10:43:38 pimp postfix/smtpd[1405]: 413B4C32D5: client=unknown[192.168.0.1]
Oct 6 10:43:38 pimp postfix/cleanup[1407]: 413B4C32D5: message-id=<20041006084338.413B4C32D5@pimp.pornfactory.org>
Oct 6 10:43:38 pimp postfix/qmgr[1394]: 413B4C32D5: from=<***@gmx.de>, size=5003, nrcpt=1 (queue active)
Oct 6 10:43:38 pimp postfix/smtpd[1405]: disconnect from unknown[192.168.0.1]
Oct 6 10:43:39 pimp postfix/smtp[1409]: 413B4C32D5: to=<***@gmx.de>, relay=mail.gmx.de[213.165.64.20], delay=0, status=bounced (host mail.gmx.de[213.165.64.20] said: 550 5.7.0 {mp026} Need to authenticate via SMTP-AUTH-Login (in reply to MAIL FROM command))
Oct 6 10:43:39 pimp postfix/cleanup[1407]: 2050FC32D6: message-id=<20041006084339.2050FC32D6@pimp.pornfactory.org>
Oct 6 10:43:39 pimp postfix/qmgr[1394]: 2050FC32D6: from=<>, size=6805, nrcpt=1 (queue active)
Oct 6 10:43:39 pimp postfix/smtp[1409]: 2050FC32D6: to=<***@gmx.de>, relay=mail.gmx.de[213.165.64.20], delay=0, status=bounced (host mail.gmx.de[213.165.64.20] said: 550 5.1.7 {mp003} This server does not accept an empty envelope from (in reply to MAIL FROM command))

hier meine main.cf

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
fast_flush_domains = $relay_domains
in_flow_delay = 0
inet_interfaces = all
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = 192.168.0.0, $myhostname, localhost.$mydomain, $mydomain, smtp.$mydomain,
mydomain = pornfactory.org
myhostname = pimp.pornfactory.org
mynetworks = 127.0.0.0/8, 192.168.0.0/24
mynetworks_style = subnet
myorigin = pornfactory.org
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination, gmx.de
relayhost = mail.gmx.de
sample_directory = /usr/share/doc/packages/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
smtpd_banner = pimp.pornfactory.org
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous


jemand eine idee?

ciao
psy

neo5K
06.10.04, 12:15
Hi,

zunächst einmal stimmt Deine SASL-Konfiguration nicht, was sich deutlich anhand Deiner Logs erkennen läßt:

Need to authenticate via SMTP-AUTH-Login (in reply to MAIL FROM command))

Das liegt an Deinen smtpd-Einträgen, da Du Dich mit jenen auf Deinen lokalen Mailserver beziehst und SMTP-Authentifizierung für's LAN bereitstellst:

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous

Daher ist es besser, wenn Du die folgenden Parameter verwendest:

smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous

Wie Du schreibst, hast Du die Konvertierung der DB bereits mittels postmap vorgenommen, Dein Konfigurationseintrag stimmt auf alle Fälle schon mal:

smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd

Insofern müßte mit dieser Konfiguration zumindest mal die Authentifizierung gegen den GMX-Relayhost funzen.

mfg,
neo5k

psy
06.10.04, 12:30
:D nun gehts!
vielen dank!

ciao
psy