magic_halli
15.11.06, 14:17
Hallo,
wie es scheint, gibt es bei mir ein lokales Transportproblem von Postfix zu cyrus?!?!
Fetchmail holt mir alle Mails von unserem Provider korrekt rein:
fetchmail -d0 -v -v -v -a -f /etc/fetchmailrc
fetchmail: WARNING: Running as root is discouraged.
fetchmail: 6.3.2 querying pop.kundenserver.de (protocol POP3) at Wed Nov 15 14:53:43 2006: poll started
fetchmail: POP3< +OK POP server ready H mimap5
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< STLS
fetchmail: POP3< IMPLEMENTATION nemesis
fetchmail: POP3< .
fetchmail: POP3> STLS
fetchmail: POP3< +OK Begin TLS negotiation
fetchmail: Issuer Organization: Equifax
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: pop.kundenserver.de
fetchmail: pop.kundenserver.de key fingerprint: 30:AC:79:A3:51:86:A2:42:69:5A:F3:A2:5A:1D:2F:B6
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION nemesis
fetchmail: POP3< .
fetchmail: POP3> USER m0815
fetchmail: POP3< +OK password required for user "m0815"
fetchmail: POP3> PASS *
fetchmail: POP3< +OK mailbox "m0815" has 1 messages (1553 octets) H mimap5 N
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 1553
fetchmail: 1 message for m0815 at pop.kundenserver.de (1553 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 1553
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 1553 octets
fetchmail: reading message m0815@pop.kundenserver.de:1 of 1 (1553 octets)
fetchmail: About to rewrite Return-Path: <extern@web.de>
Rewritten version is Return-Path: <extern@web.de>
fetchmail: About to rewrite From: ICH <extern@web.de>
Rewritten version is From: ICH <extern@web.de>
fetchmail: About to rewrite To: m.musterfrau@firma.de
Rewritten version is To: m.musterfrau@firma.de
fetchmail: passed through m.musterfrau@firma.de matching firma.de
fetchmail: SMTP< 220 v1 ESMTP Postfix
fetchmail: SMTP> EHLO v1.firmalocal
fetchmail: SMTP< 250-v1
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<extern@web.de> BODY=8BITMIME SIZE=1553
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<m.musterfrau@firma.de>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#********fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 3FE4C1F59B
fetchmail: not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK POP server signing off
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: 6.3.2 querying pop.kundenserver.de (protocol POP3) at Wed Nov 15 14:53:44 2006: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.
...danach soll Postfix die Mails eigentlich nur noch an cyrus weitergeben und cyrus diese dann in die lokalen Userpostfächer (/var/spool/imap/user) verteilen - das passiert aber irgendwie nicht!
Das maillog, nachdem ich von extern eine Mail geschickt habe, die für einen lokalen Benutzer bestimmt ist, sieht so aus:
Nov 15 14:53:44 v1 postfix/smtpd[18505]: connect from localhost[127.0.0.1]
Nov 15 14:53:44 v1 postfix/smtpd[18505]: 3FE4C1F59B: client=localhost[127.0.0.1]
Nov 15 14:53:44 v1 postfix/cleanup[18508]: 3FE4C1F59B: message-id=<34646354@web.de>
Nov 15 14:53:44 v1 postfix/qmgr[18266]: 3FE4C1F59B: from=<extern@web.de>, size=1857, nrcpt=1 (queue active)
Nov 15 14:53:44 v1 postfix/qmgr[18266]: 3FE4C1F59B: to=<musterfrau@firma.local>, orig_to=<m.musterfrau@firma.de>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Nov 15 14:53:44 v1 postfix/qmgr[18266]: warning: 3FE4C1F59B: flush service failure
Nov 15 14:53:44 v1 postfix/smtpd[18505]: disconnect from localhost[127.0.0.1]
Das deutet doch stark auf ein Transportproblem zwischen Postfix und cyrus hin, oder??? Ich weiß nimmer weiter :(
Zur Erklärung:
Ich habe vorher auf einem OpenExchange Server 4 das gleiche Szenario erfolgreich am Laufen gehabt. Nur musste ich jetzt auf einer Suse Linux 10.1-Maschine das gleiche nochmal einrichten. Hierbei treten eben solche Fehler auf.
Sämtliche config-Dateien für fetchmail, Postfix, cyrus und was sonst noch so nötig ist, sind analog denen auf dem OpenExchange-System (nur noch minimal auf das Suse10.1 angepasst). Was lediglich anders ist, ist die Rechner-IP:rolleyes: .
Von daher sollte es eigentlich klappen?
Wo könnten hier Ursachen für die nicht vorhande Kommunikation bzw. Weiterleitung der Mails von Postfix an cyrus liegen???
Hier noch meine master.cf: (In meiner main.cf ist alles gleich geblieben, bis auf den hostname - daher poste ich diese nicht mit.)
smtp inet n - n - - smtpd -o content_filter=procmail:spamfilter
#smtps inet n - n - - smtpd -o content_filter=procmail:spamfilter
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#localhost:10025 inet n - n - - smtpd -o content_filter=
scache unix - - n - 1 scache
#================================================= ===================
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
Gruß und Danke.
Edit: Mails von intern nach extern schicken funktioniert!
wie es scheint, gibt es bei mir ein lokales Transportproblem von Postfix zu cyrus?!?!
Fetchmail holt mir alle Mails von unserem Provider korrekt rein:
fetchmail -d0 -v -v -v -a -f /etc/fetchmailrc
fetchmail: WARNING: Running as root is discouraged.
fetchmail: 6.3.2 querying pop.kundenserver.de (protocol POP3) at Wed Nov 15 14:53:43 2006: poll started
fetchmail: POP3< +OK POP server ready H mimap5
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< STLS
fetchmail: POP3< IMPLEMENTATION nemesis
fetchmail: POP3< .
fetchmail: POP3> STLS
fetchmail: POP3< +OK Begin TLS negotiation
fetchmail: Issuer Organization: Equifax
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: pop.kundenserver.de
fetchmail: pop.kundenserver.de key fingerprint: 30:AC:79:A3:51:86:A2:42:69:5A:F3:A2:5A:1D:2F:B6
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION nemesis
fetchmail: POP3< .
fetchmail: POP3> USER m0815
fetchmail: POP3< +OK password required for user "m0815"
fetchmail: POP3> PASS *
fetchmail: POP3< +OK mailbox "m0815" has 1 messages (1553 octets) H mimap5 N
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 1553
fetchmail: 1 message for m0815 at pop.kundenserver.de (1553 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 1553
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 1553 octets
fetchmail: reading message m0815@pop.kundenserver.de:1 of 1 (1553 octets)
fetchmail: About to rewrite Return-Path: <extern@web.de>
Rewritten version is Return-Path: <extern@web.de>
fetchmail: About to rewrite From: ICH <extern@web.de>
Rewritten version is From: ICH <extern@web.de>
fetchmail: About to rewrite To: m.musterfrau@firma.de
Rewritten version is To: m.musterfrau@firma.de
fetchmail: passed through m.musterfrau@firma.de matching firma.de
fetchmail: SMTP< 220 v1 ESMTP Postfix
fetchmail: SMTP> EHLO v1.firmalocal
fetchmail: SMTP< 250-v1
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<extern@web.de> BODY=8BITMIME SIZE=1553
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<m.musterfrau@firma.de>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#********fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 3FE4C1F59B
fetchmail: not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK POP server signing off
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: 6.3.2 querying pop.kundenserver.de (protocol POP3) at Wed Nov 15 14:53:44 2006: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.
...danach soll Postfix die Mails eigentlich nur noch an cyrus weitergeben und cyrus diese dann in die lokalen Userpostfächer (/var/spool/imap/user) verteilen - das passiert aber irgendwie nicht!
Das maillog, nachdem ich von extern eine Mail geschickt habe, die für einen lokalen Benutzer bestimmt ist, sieht so aus:
Nov 15 14:53:44 v1 postfix/smtpd[18505]: connect from localhost[127.0.0.1]
Nov 15 14:53:44 v1 postfix/smtpd[18505]: 3FE4C1F59B: client=localhost[127.0.0.1]
Nov 15 14:53:44 v1 postfix/cleanup[18508]: 3FE4C1F59B: message-id=<34646354@web.de>
Nov 15 14:53:44 v1 postfix/qmgr[18266]: 3FE4C1F59B: from=<extern@web.de>, size=1857, nrcpt=1 (queue active)
Nov 15 14:53:44 v1 postfix/qmgr[18266]: 3FE4C1F59B: to=<musterfrau@firma.local>, orig_to=<m.musterfrau@firma.de>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Nov 15 14:53:44 v1 postfix/qmgr[18266]: warning: 3FE4C1F59B: flush service failure
Nov 15 14:53:44 v1 postfix/smtpd[18505]: disconnect from localhost[127.0.0.1]
Das deutet doch stark auf ein Transportproblem zwischen Postfix und cyrus hin, oder??? Ich weiß nimmer weiter :(
Zur Erklärung:
Ich habe vorher auf einem OpenExchange Server 4 das gleiche Szenario erfolgreich am Laufen gehabt. Nur musste ich jetzt auf einer Suse Linux 10.1-Maschine das gleiche nochmal einrichten. Hierbei treten eben solche Fehler auf.
Sämtliche config-Dateien für fetchmail, Postfix, cyrus und was sonst noch so nötig ist, sind analog denen auf dem OpenExchange-System (nur noch minimal auf das Suse10.1 angepasst). Was lediglich anders ist, ist die Rechner-IP:rolleyes: .
Von daher sollte es eigentlich klappen?
Wo könnten hier Ursachen für die nicht vorhande Kommunikation bzw. Weiterleitung der Mails von Postfix an cyrus liegen???
Hier noch meine master.cf: (In meiner main.cf ist alles gleich geblieben, bis auf den hostname - daher poste ich diese nicht mit.)
smtp inet n - n - - smtpd -o content_filter=procmail:spamfilter
#smtps inet n - n - - smtpd -o content_filter=procmail:spamfilter
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#localhost:10025 inet n - n - - smtpd -o content_filter=
scache unix - - n - 1 scache
#================================================= ===================
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
Gruß und Danke.
Edit: Mails von intern nach extern schicken funktioniert!