
Stefan Fricke schrieb:
Hallo, ich kriege beim Start von Postfix immer folgende Warnung:
postfix/qmgr[xxxx]: warning: connect to transport spamassassin: Connection refused
D.h. der Filter funktioniert nicht. Warum heisst der transport spamassassin? Das kommt mir spanisch vor?
Mail wird zwar angenommen, aber nicht ausgeliefert.
Jo. Kann aber nicht an den Filter weitergeleitet werden ...
kannst du denn:
per telnet, local am Server:
telnet 127.0.0.1 10025 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. 220 hermes.linuxrocks.dyndns.org ESMTP Postfix (Debian/GNU) quit 221 2.0.0 Bye Connection closed by foreign host.
hermes:~# telnet 127.0.0.1 10024 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. 220 [127.0.0.1] ESMTP amavisd-new service ready
Die Versionen sind: Postfix 2.5.4 Amavisd-New 2.5.1 Spamassassin 3.2.3
Das alles unter Opensuse 10.3.
Hier meine Konfigurationsdaten:
--------- master.cf ----------------
# ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ==========================================================================
smtp inet n - n - - smtpd
kein chroot 3. Spalte n unten beim Filter hast du chroot ...
smtpd_tls_wrappermode=yes pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr 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 loops relay unix - - n - - smtp -o fallback_relay= 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= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes scache unix - - n - 1 scache
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 -e -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} retry unix - - n - - error smtp-amavis unix - - y - 2 smtp
Da hast du chroot drin ist das Absicht bei deinem smtp oben hast du es nicht ...? Ansonsten mach da mal ein "n" in der 3. Spalte ...
-o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes
tlsmgr unix - - n 1000? 1 tlsmgr
------------- main.cf ---------------------
mach mal postconf -n:
content_filter = smtp-amavis:[127.0.0.1]:10024 Wo hängt es?
hth MH