PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Großes Problem mit Spamassassin!



d@tenmaulwurf
11.11.05, 23:10
Hi!

Seit über einem halben Jahr lief die Kombination postfix+Spamassassin3 hervorragend!

Nun wurden heute aber so gut wie keiner Mails gefiltert.

In den logs finde ich andauernd folgenden Eintrag:



Nov 12 00:04:46 amy spamc[26444]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Nov 12 00:04:47 amy spamc[26444]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Nov 12 00:04:48 amy spamc[26444]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Nov 12 00:04:49 amy spamc[26444]: connection attempt to spamd aborted after 3 retries


Also postfix will mit dem Befehl spamc die Mail an spamd weitergeben - zum überprüfen.
Spamd nimmt diese aber nicht an.
Ich habe den Spamd schon manuell gestartet mit der Option --debug - nützt nix (keine fehlermeldungen, funktioniert immernoch nicht).

Wieso kann auf einmal spamd keine Mails mehr annehmen ??

Hier ein Ausschnitt aus einem ps fax:



5105 ? SNs 0:00 /usr/bin/perl -T -w /usr/sbin/spamd --port 8965 --create-prefs --max-children 5 -q -x -u vmail --debug -d --pidfile=/var/run/spamd/spamd.pid
5110 ? SN 0:03 \_ spamd child
5111 ? SN 0:03 \_ spamd child
5112 ? SN 0:04 \_ spamd child
5113 ? SN 0:03 \_ spamd child
5114 ? SN 0:03 \_ spamd child
5228 ? Ss 0:00 /usr/lib/postfix/master
5235 ? S 0:00 \_ pickup -l -t fifo -u -c
5236 ? S 0:00 \_ qmgr -l -t fifo -u -c
5237 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5238 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5242 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5247 ? S 0:00 \_ cleanup -z -t unix -u -c
5248 ? S 0:00 \_ trivial-rewrite -n rewrite -t unix -u -c
5249 ? S 0:00 \_ virtual -t unix
5255 ? S 0:00 \_ smtpd -n smtp -t inet -u -c -o content_filter spamassassin
5256 ? S 0:00 \_ proxymap -t unix -u
5261 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5263 ? S 0:00 \_ smtpd -n smtp -t inet -u -c -o content_filter spamassassin
5264 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5273 ? S 0:00 \_ cleanup -z -t unix -u -c
5280 ? S 0:00 \_ cleanup -z -t unix -u -c
5310 ? S 0:00 \_ smtpd -n smtp -t inet -u -c -o content_filter spamassassin
5326 ? S 0:00 \_ smtpd -n smtp -t inet -u -c -o content_filter spamassassin
5343 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5349 ? S 0:00 \_ smtpd -n smtp -t inet -u -c -o content_filter spamassassin
5352 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5359 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5386 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5394 ? S 0:00 \_ smtpd -n smtp -t inet -u -c -o content_filter spamassassin
5410 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5420 ? S 0:00 \_ virtual -t unix
5456 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5462 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5464 ? S 0:00 \_ pipe -n spamassassin -t unix user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
5553 ? S 0:00 \_ smtpd -n smtp -t inet -u -c -o content_filter spamassassin


Ich bitte dringend um Hilfe :|

Vielen Dank!

d@tenmaulwurf

Fly
12.11.05, 08:54
Hi!

Seit über einem halben Jahr lief die Kombination postfix+Spamassassin3 hervorragend!
Nun wurden heute aber so gut wie keiner Mails gefiltert.
d@tenmaulwurf

Was hast du da gändert, dass es nicht mehr funktioniert?

d@tenmaulwurf
12.11.05, 09:39
gar nix, das ist es ja

Via Google findet man das Phänomen öfter "filtert auf einmal nicht mehr...", etc. - aber keine Lösung bis jetzt gefunden!

Fly
12.11.05, 19:12
Es kann nicht sein, dass es ein halbes Jahr gut funktioniert hat und ohne Änderung funktioniert es nix! Hast du auch keine Hostnamen usw. geändert? Poste doch mal die Postfix Konfiguration, so können wir dir nicht weiterhelfen...

d@tenmaulwurf
12.11.05, 20:20
Der relevante Teil der master.cf:



smtp inet n - - - - smtpd
-o content_filter=spamassassin
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
#smtp unix - n n - - pipe
spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -p 8965 -u ${recipient} -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
relay unix - - - - - smtp


Wobei Postfix sie ja abgeben will, nur spamd sie nich annimmt.


Die entsprechenden Spamd-Optionen: OPTIONS="--port 8965 --create-prefs --max-children 5 -q -x -u vmail --debug"

Svenny
12.11.05, 20:27
mach doch mal netstat und schau ob der spamdaemon auch wirklich auf dem port lauscht. zur not den mal neustarten und in die logs schauen

d@tenmaulwurf
15.11.05, 06:10
# netstat -a | grep 8965
tcp 0 0 localhost:8965 *:* LISTEN

Svenny
15.11.05, 19:30
blockt die firewall evtl den lokalen datentransfer?

kannst du per telnet auf den port zugreiffen?