Spamassassin Problem

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
crivi
Posts: 104
Joined: 2004-01-27 08:47
Location: Uzwil, Schweiz

Spamassassin Problem

Post by crivi » 2004-12-14 16:01

Hallo zusammen

In meinem Maillog erscheint folgende Fehlermeldung:

Code: Select all

Dec 14 16:40:20 sh3-0527 spamc[30658]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Dec 14 16:40:21 sh3-0527 spamc[30658]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Dec 14 16:40:22 sh3-0527 spamc[30658]: connection attempt to spamd aborted after 3 retries
Mein System: Fedora C2
Mailserver: Postfix

master.cf

Code: Select all

procmail  unix  -       n       n       -       -       pipe
         flags=R user=nobody argv=/usr/bin/procmail -t -m USER=${user} EXT=${extension} /etc/procmailrc
procmailrc

Code: Select all

VERBOSE=on
LOGFILE=/var/log/procmail.log
SHELL=/bin/sh
#STRIPPED_EXECUTABLES=/etc/stripped

# --------------------------------------------------------------------------- #
# Virus scan section ...                                                      #
# --------------------------------------------------------------------------- #

# 1. Run TrashScan
:0fw
* multipart
* !^X-Virus-Scan:
| /etc/myclammailfilter

# --------------- ----------------------------------------------------------- #
# Sanitize the mail                                                           #
# --------------------------------------------------------------------------- #
#INCLUDERC=/etc/clamscan-prcfilter.pl


# --------------------------------------------------------------------------- #
# Spamassassin                                                                #
# --------------------------------------------------------------------------- #
:0fw
| /usr/bin/spamc -u $LOGNAME
:0
* ^X-Spam-Status: Yes
| /bin/sed 1d | /usr/bin/spamassassin -d | $SPAMIT
procmail.log

Code: Select all

procmail: Assigning "SHELL=/bin/sh"
procmail: Match on "multipart"
procmail: Match on ! "^X-Virus-Scan:"
procmail: Executing "/etc/myclammailfilter"
execl error: No such file or directory
procmail: Program failure (-13) of "/etc/myclammailfilter"
procmail: Rescue of unfiltered data succeeded
procmail: Assigning "PATH=/home/info.crivi.ch/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"
procmail: Locking "/var/mail/info.crivi.ch.lock"
procmail: Assigning "LASTFOLDER=/var/mail/info.crivi.ch"
procmail: Opening "/var/mail/info.crivi.ch"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/info.crivi.ch.lock"
procmail: Notified comsat: "info.crivi.ch@20686:/var/mail/info.crivi.ch"
From xxxx@xxx.ch  Tue Dec 14 16:20:43 2004
 Subject: RE: fehler
  Folder: /var/mail/info.crivi.ch                                         25025
1.) Warum findet er die Datei myclammailfilter nicht?

Code: Select all

procmail: Executing "/etc/myclammailfilter"
execl error: No such file or directory
procmail: Program failure (-13) of "/etc/myclammailfilter"
2.) Warum das Problem mit dem Spamassassin?

3.) der Header der E-Mail wird nicht angerührt. Der kommt unverändert an. Warum das?

Vielen Dank

mfg

Raffi

dodolin
RSAC
Posts: 4009
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe

Re: Spamassassin Problem

Post by dodolin » 2004-12-21 00:09

Dec 14 16:40:20 sh3-0527 spamc[30658]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Läuft dein spamd? Was sagen die spamd Logs? Eventuell hat der spamd schon seine Max-Child Anzahl erreicht und refused daher temporär weitere Connect-Versuche.
1.) Warum findet er die Datei myclammailfilter nicht?
Gute Frage, nächste Frage. Was sagt denn ein ls -l /etc/mylammailfilter?

BTW: Hatte ich schonmal erwähnt, dass ich SA in Verbindung mit Procmail für eine absolut schlechte Idee halte?!

Zu 3), siehe 1) und 2)