Re: spamc will nicht mehr

From: Manfred Renken <lufo.renken_at_t-online.de>
Date: Tue, 13 Feb 2007 13:12:38 +0100

Hallo Matthias,

* Matthias Runge schrieb am 12.02.07 um 22:48 :

> also nochmal ganz kurz:
> spamc -d localhost kann keine Ausgabe produzieren, weil es auf eine Eingabe
> wartet. Ich nehme an, Du hast ein spamfilter-Script gebaut? Wie sieht das

Aus dem Internet gefischt. Hat aber gefunzt.

> aus? Ich hab
> das nach einer Anleitung wie dieser hier
> http://www.xnote.com/howto/postfix-spamassassin.html gemacht. Die
> Originalquellen finde ich jetzt leider nicht.
> Ich kann mich daran erinnern, so einen Fehler gesehen zu haben, als der
> spamd nicht lief.
>
> Läuft bei Dir eine Firewall, die auf Localhost filtert?
>

habe noch mal in den alten syslog`s gestöbert.
So sah das aus, als die Welt noch in Ordnung war.

Maileingang:

Feb 9 19:00:10 boss spamd[21193]: connection from localhost.lokales-netz.local [127.0.0.1] at port 33899
Feb 9 19:00:10 boss spamd[21193]: info: setuid to spamd succeeded
Feb 9 19:00:10 boss spamd[21193]: checking message <01c74c4a$23990430$6c822ecf_at_dwfandomm> for spamd:118.
Feb 9 19:00:18 boss spamd[21193]: identified spam (11.0/5.0) for spamd:118 in 8.1 seconds, 3586 bytes.
Feb 9 19:00:18 boss spamd[21193]: result: Y 10 - CONFIDENTIAL_ORDER,DIET_1,DRUGS_DIET,DRUGS_ERECTILE,FORGED_RCVD_HELO,HTML_50_60,HTML_MES
SAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,UNWANTED_LANGUAGE_BODY,URIBL_AB_SURBL,URIBL_WS_SURBL scantime=8.1,size=358
6,mid=<01c74c4a$23990430$6c822ecf_at_dwfandomm>,autolearn=no
Feb 9 19:00:18 boss spamfilter.sh/fetchmail: mail_from=<dwfandomm_at_fandom.tv> rcpt_to=<admina> subject=<fwd:WeXd like to present you...> i
dent=<01c74c4a$23990430$6c822ecf_at_dwfandomm> size=<79 lines, 3586 bytes> date=<Fri, 9 Feb 2007 12:59:31 -0120> spam=<11.0/5.0>
Feb 9 19:00:18 boss spamd[21194]: connection from localhost.lokales-netz.local [127.0.0.1] at port 33904
Feb 9 19:00:18 boss spamd[21194]: info: setuid to spamd succeeded
Feb 9 19:00:18 boss spamd[21194]: processing message <01c74c4a$23990430$6c822ecf_at_dwfandomm> for spamd:118.
Feb 9 19:00:32 boss spamd[21194]: identified spam (11.0/5.0) for spamd:118 in 14.3 seconds, 3762 bytes.
Feb 9 19:00:32 boss spamd[21194]: result: Y 10 - CONFIDENTIAL_ORDER,DIET_1,DRUGS_DIET,DRUGS_ERECTILE,FORGED_RCVD_HELO,HTML_50_60,HTML_MES
SAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,UNWANTED_LANGUAGE_BODY,URIBL_AB_SURBL,URIBL_WS_SURBL scantime=14.3,size=37
62,mid=<01c74c4a$23990430$6c822ecf_at_dwfandomm>,autolearn=no
Feb 9 19:00:32 boss postfix/pickup[29202]: EF83B4100: uid=0 from=<dwfandomm_at_fandom.tv>
Feb 9 19:00:32 boss postfix/cleanup[29304]: EF83B4100: message-id=<01c74c4a$23990430$6c822ecf_at_dwfandomm>
Feb 9 19:00:33 boss postfix/qmgr[29203]: EF83B4100: from=<dwfandomm_at_fandom.tv>, size=8045, nrcpt=1 (queue active)
Feb 9 19:00:33 boss nondelivery.sh: error: no client info
Feb 9 19:00:33 boss postfix/local[29312]: EF83B4100: to=<admina_at_lokales-netz.local>, orig_to=<admina>, relay=local, delay=1, status=sent
(delivered to command: IFS=' '&&exec /usr/bin/procmail -f-||exit 75 #admina)
Feb 9 19:00:33 boss postfix/qmgr[29203]: EF83B4100: removed

und so sieht das heute aus (mit und ohne Firewall):

Feb 13 12:13:39 boss spamc[18972]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Feb 13 12:13:40 boss spamc[18972]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Feb 13 12:13:41 boss spamc[18972]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Feb 13 12:13:42 boss spamc[18972]: connection attempt to spamd aborted after 3 retries
Feb 13 12:13:42 boss spamfilter.sh/fetchmail: mail_from=<mary-kateandashley_at_panini.de> rcpt_to=<admina> subject=<Mary-Kate und Ashley Newslet...> ident=<4547867.1171354161174.JavaMail.Streng_at_Streng2-XP> size=<206 lines, 10228 bytes> date=<13 Feb 2007 09:09:20 +0100>
Feb 13 12:13:42 boss spamc[18999]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Feb 13 12:13:43 boss spamc[18999]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Feb 13 12:13:44 boss spamc[18999]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Feb 13 12:13:45 boss spamc[18999]: connection attempt to spamd aborted after 3 retries
Feb 13 12:13:45 boss postfix/pickup[18872]: A41903E6A: uid=0 from=<mary-kateandashley_at_panini.de>
Feb 13 12:13:45 boss postfix/cleanup[19004]: A41903E6A: message-id=<4547867.1171354161174.JavaMail.Streng_at_Streng2-XP>
Feb 13 12:13:45 boss postfix/qmgr[18757]: A41903E6A: from=<mary-kateandashley_at_panini.de>, size=10684, nrcpt=1 (queue active)
Feb 13 12:13:45 boss postfix/local[19009]: A41903E6A: to=<admina_at_lokales-netz.local>, orig_to=<admina>, relay=local, delay=0, status=sent (delivered to command: IFS=' '&&exec /usr/bin/procmail -f-||exit 75 #admina)
Feb 13 12:13:45 boss postfix/qmgr[18757]: A41903E6A: removed

Was mir auch noch aufgefallen ist:
Nach meinem spamass-milter installationscaos
konnte spamd sein spamd.pid nicht in /var/run/ ablegen.
Erst nachdem ich Schreibrechte für alle zuliess klappte es.
Das war vorher auch nicht so.

> Am 12.02.07 schrieb Manfred Renken <lufo.renken_at_t-online.de>:
> >
> >Hallo Matthias,
> >
> >* Matthias Runge schrieb am 12.02.07 um 21:50 :
> >
> >> Hallo Manfred,
> >>
> >> läuft denn der spamd? Hast Du den installiert?

Wenn ich mir die oben gezeigten Logs anschaue ,habe ich so meine
Zweifel???

boss:~# ps waux |grep spamd
spamd 13868 0.0 5.6 31296 28924 ? Ss Feb12 0:00 /usr/sbin/spamd -m 10 -u spamd --socketpath=/var/run/spamd.sock -d --pidfile=/var/run/spamd.pid
spamd 13871 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13872 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13873 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13874 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13875 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13876 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13877 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13878 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13879 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child
spamd 13880 0.0 5.6 31296 28924 ? S Feb12 0:00 spamd child

-- 
Gruss,
  Manfred
My system: debian sarge 3.1
Received on Tue Feb 13 2007 - 13:12:38 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 13 2007 - 13:11:23 CET