Lokale Mails werden nicht zugestellt
Hallo Liste,
Ich setzte SuSE 9.2 ein. Bei der Konfiguration von Postfix komme ich einfach
nicht weiter Und verzweifle an dem Problem, dass meine lokalen Mails nicht
zugestellt werden. Erst nach einem rcpostfix reload werden die Mails
zugestellt. Ich hab schon gegoogelt und gelesen kann jedoch keinen Fehler
finden. Das merkwürdeige ist auch, dass zb. Faxe welche per Hylafax
empfangen werden, sofort
per Mail zugestellt werden. Sende ich eine E-Mail con User1 an User2, so
bleibt diese "hängen" bis zu einem reload.
Schon mal vorab Danke für die Hilfe
Gruß
Carsten
meine 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 = smtp
disable_dns_lookups = yes
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
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 = lokales-netz.du masquerade_exceptions = root
message_size_limit = 10240000 mydestination =
$myhostname,localhost.$mydomain,$mydomain
myhostname = mail.lokales-netz.du
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/packages/postfix/README_FILES
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 = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = 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 virtual_alias_maps =
hash:/etc/postfix/virtual_alias
Ein Auszug aus der /var/log/mail
Mar 16 23:15:42 sonne postfix/smtpd[7651]: connect from
jupiter.lokales-netz.du[192.168.0.200]
Mar 16 23:15:42 sonne postfix/smtpd[7651]: C17E53DC38F:
client=jupiter.lokales-netz.du[192.168.0.200]
Mar 16 23:15:42 sonne postfix/cleanup[7653]: C17E53DC38F:
message-id=<001001c64947$298b79b0$c800a8c0@jupiter>
Mar 16 23:15:42 sonne postfix/qmgr[7623]: C17E53DC38F:
from=
Carsten Rink wrote:
Hallo Liste,
Ich setzte SuSE 9.2 ein. Bei der Konfiguration von Postfix komme ich einfach nicht weiter Und verzweifle an dem Problem, dass meine lokalen Mails nicht zugestellt werden. Erst nach einem rcpostfix reload werden die Mails zugestellt. Ich hab schon gegoogelt und gelesen kann jedoch keinen Fehler finden. Das merkwürdeige ist auch, dass zb. Faxe welche per Hylafax empfangen werden, sofort per Mail zugestellt werden. Sende ich eine E-Mail con User1 an User2, so bleibt diese "hängen" bis zu einem reload.
Distro-Postfix (2.1.5) oder eine neuere Version?
Schon mal vorab Danke für die Hilfe
Gruß Carsten
meine Postconf -n alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical
Hast du hier die Umsetzung von lokales-netz.du auf deine normale Internet-Domain reingetan?
command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = smtp
Äh, warum das? Sitzt du hinter einem ISDN-Router, der sich für jede Einwahl kostenpflichtig herauswählen muss? Hier könnte schon eine Ursache für dein Problem sein.
disable_dns_lookups = yes
Das scheint auch darauf hinzudeuten, dass du keine permanente Internet-Verbindung hast. Wie löst du lokales-netz.du auf, über etc/hosts? Was steht in /etc/nsswitch.conf für hosts, networks?
home_mailbox = Maildir/ html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all 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 = lokales-netz.du masquerade_exceptions = root message_size_limit = 10240000
mydestination = $myhostname,localhost.$mydomain,$mydomain
myhostname = mail.lokales-netz.du
Ich sehe hier nicht mydomain=lokales-netz.du, verlasse dich besser nicht darauf, dass Postfix das vom OS sauber übernimmt.
newaliases_path = /usr/bin/newaliases readme_directory = /usr/share/doc/packages/postfix/README_FILES 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 = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = 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 virtual_alias_maps = hash:/etc/postfix/virtual_alias
Ein Auszug aus der /var/log/mail Mar 16 23:15:42 sonne postfix/smtpd[7651]: connect from jupiter.lokales-netz.du[192.168.0.200] Mar 16 23:15:42 sonne postfix/smtpd[7651]: C17E53DC38F: client=jupiter.lokales-netz.du[192.168.0.200] Mar 16 23:15:42 sonne postfix/cleanup[7653]: C17E53DC38F: message-id=<001001c64947$298b79b0$c800a8c0@jupiter> Mar 16 23:15:42 sonne postfix/qmgr[7623]: C17E53DC38F: from=
, size=674, nrcpt=1 (queue active) Mar 16 23:15:42 sonne postfix/qmgr[7623]: C17E53DC38F: to= , relay=none, delay=0, status=deferred (delivery temporarily suspended: deferred transport) Mar 16 23:15:45 sonne postfix/smtpd[7651]: disconnect from jupiter.lokales-netz.du[192.168.0.200] Mar 16 23:15:52 sonne pop3-login: Login: carsten.rink [192.168.0.200] . . Dann Neustart des Servers.
Deferred Transport ist smtp bei dir. Wenn die Mails bei dir über den content_filter laufen sollen, dann hast du ein Problem, da diese per smtp übergeben werden!
Mar 16 23:17:08 sonne postfix/postfix-script: starting the Postfix mail system Mar 16 23:17:08 sonne postfix/master[7743]: daemon started -- version 2.1.5 Mar 16 23:17:09 sonne postfix/qmgr[7752]: C17E53DC38F: from=
, size=674, nrcpt=1 (queue active) Mar 16 23:17:09 sonne postfix/qmgr[7752]: E1DC53DC3B4: from= , size=1079, nrcpt=1 (queue active) Mar 16 23:17:10 sonne postfix/smtpd[7775]: connect from localhost[127.0.0.1] Mar 16 23:17:10 sonne postfix/smtpd[7775]: DF6713DC3D4: client=localhost[127.0.0.1]
Okay, das scheint eindeutig. Du hast einen Content_filter, der über smtp angesprochen wird, aber smtp ist bei dir als "deferred transport" angegeben ,wird also nur nach "postfix flush" oder "postfix start" freigegeben. Beschreibe mal, warum du smtp als deferred betreiben willst im Zeitalter der DSL-Flatrates? Sandy -- Antworten bitte nur in die Mailingliste! PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com
participants (2)
-
Carsten Rink
-
Sandy Drobic