Sandy Drobic wrote at Dienstag, 28. Februar 2006 23:48:
Michael Hoeller wrote:
was sagt /var/log/mail? mail -s "Betreff" michael@192.168.55.200 < /var/log/messages liefert:
Mar 1 22:37:34 maqili postfix/pickup[3727]: 6DA8A17251: uid=0
from=<root>
Mar 1 22:37:34 maqili postfix/cleanup[3804]: 6DA8A17251:
message-id=<4406141E.mail2XL1LOSBB@maqili.site>
Mar 1 22:37:34 maqili postfix/qmgr[3728]: 6DA8A17251:
from=
Das ist sehr eindeutig. Die Verbindung wird bereits auf der Netzwerkebene abgewiesen, Postfix bekommt diesen Kontaktversuch gar nicht erst zu Gesicht.
Möglichkeit 1: Firewall Sorge dafür, dass Port 25 tcp durchgelassen wird. Bei dem o.g. Beispiel habe ich die Firewall abgeschaltet (läuft nur auf 192.168.55.200 das ist das Gateway)
Möglichkeit 2: Postfix lauscht nur auf localhost (Suse Standard) postconf -e "inet_interfaces = all" postfix reload Habe ich auf dem Empfänger ausgeführt: 192.168.55.200i:~ # postconf -n alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain myhostname = tamboti.tamboti newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES relayhost = relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtp_use_tls = no smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = no smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_use_tls = no strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550
Überprüfung: katgar:~ # netstat -ant | grep ":25" tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN tamboti:~ # netstat -ant | grep ":25" tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 ::1:25 :::* LISTEN
Jetzt kann Postfix die Verbindung annehmen. Irgendwie nicht, ich hoffe es kann jemand mir einen Tipp geben. Ich habe das dumme Gefühl das es irgend eine Kleinigkeit ist...
mail.err und mail.warn sind leer, mail.info hat folgende Info:
Mar 1 22:37:34 maqili postfix/pickup[3727]: 6DA8A17251: uid=0
from=<root>
Mar 1 22:37:34 maqili postfix/cleanup[3804]: 6DA8A17251:
message-id=<4406141E.mail2XL1LOSBB@maqili.site>
Mar 1 22:37:34 maqili postfix/qmgr[3728]: 6DA8A17251:
from=