[Postfixbuch-users] Problem mit Spamassasin

Kai Fürstenberg postfix at fuersti-net.de
Di Jun 6 13:04:26 CEST 2006


Niels Kalle wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hallo zusammen.
> Ich habe das Problem, das Spamassasin auf meinem neuen Server
> anscheinend in einen Loop laeuft...
> ich habe mich endlich getraut meinen Mailserver mit mysql und
> gechrootet zu bauen was an sich schon eine Reihe von Problemen mit
> sich brachte aber beim SA komm ich jetzt garnicht mehr weiter:
> 
> May 29 04:46:37 schnake spamd[5187]: spamd: connection from localhost
> [127.0.0.1] at port 40562
> May 29 04:46:37 schnake spamd[5187]: spamd: setuid to nobody succeeded
> May 29 04:46:37 schnake spamd[5187]: spamd: creating default_prefs:
> //.spamassassin/user_prefs
> May 29 04:46:37 schnake spamd[5187]: mkdir /.spamassassin: Permission
> denied at /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
> May 29 04:46:37 schnake spamd[5187]: config: cannot write to
> //.spamassassin/user_prefs: No such file or directory
> May 29 04:46:37 schnake spamd[5187]: spamd: failed to create readable
> default_prefs: //.spamassassin/user_prefs
> May 29 04:46:37 schnake spamd[5187]: mkdir /.spamassassin: Permission
> denied at /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
> May 29 04:46:37 schnake spamd[5187]: spamd: processing message
> <447A608D.8090007 at humbug.org> for nobody:65534
> May 29 04:46:37 schnake spamd[5187]: mkdir /.spamassassin: Permission
> denied at /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
> May 29 04:46:37 schnake spamd[5187]: locker: safe_lock: cannot create
> lockfile /.spamassassin/auto-whitelist.mutex: No such file or directory
> May 29 04:46:37 schnake spamd[5187]: auto-whitelist: open of
> auto-whitelist file failed: locker: safe_lock: cannot create lockfile
> /.spamassassin/auto-whitelist.mutex: No such file or directory
> May 29 04:46:37 schnake spamd[5187]: Can't call method "finish" on an
> undefined value at
> /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin/Plugin/AWL.pm line
> 397, <GEN386> line 29.
> May 29 04:46:37 schnake spamd[5187]: bayes: locker: safe_lock: cannot
> create lockfile /.spamassassin/bayes.mutex: No such file or directory
> May 29 04:46:37 schnake spamd[5187]: spamd: clean message (0.0/5.0)
> for nobody:65534 in 0.1 seconds, 1105 bytes.
> May 29 04:46:37 schnake spamd[5187]: spamd: result: .  0 -
> scantime=0.1,size=1105,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=40562,mid=<447A608D.8090007 at humbug.org>,autolearn=failed
> May 29 04:46:37 schnake spamd[5182]: prefork: child states: II
> May 29 02:46:37 schnake postfix/smtpd[25909]: connect from
> unknown[217.11.52.12]
> May 29 02:46:37 schnake postfix/smtpd[25909]: 4E2C02008AE1:
> client=unknown[217.11.52.12]
> May 29 04:46:37 schnake postfix/cleanup[25916]: 4E2C02008AE1:
> message-id=<447A608D.8090007 at humbug.org>
> May 29 04:46:37 schnake postfix/qmgr[25835]: 4E2C02008AE1:
> from=<nobody at schnake.humbug.org>, size=1401, nrcpt=1 (queue active)
> May 29 04:46:37 schnake spamd[5187]: spamd: connection from localhost
> [127.0.0.1] at port 40564
> May 29 04:46:37 schnake spamd[5187]: spamd: setuid to nobody succeeded
> May 29 04:46:37 schnake spamd[5187]: spamd: creating default_prefs:
> //.spamassassin/user_prefs
> May 29 04:46:37 schnake spamd[5187]: mkdir /.spamassassin: Permission
> denied at /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
> May 29 04:46:37 schnake spamd[5187]: config: cannot write to
> //.spamassassin/user_prefs: No such file or directory
> May 29 04:46:37 schnake spamd[5187]: spamd: failed to create readable
> default_prefs: //.spamassassin/user_prefs
> May 29 04:46:37 schnake spamd[5187]: mkdir /.spamassassin: Permission
> denied at /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
> May 29 04:46:37 schnake spamd[5187]: spamd: processing message
> <447A608D.8090007 at humbug.org> for nobody:65534
> May 29 04:46:37 schnake spamd[5187]: mkdir /.spamassassin: Permission
> denied at /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin.pm line 1467
> May 29 04:46:37 schnake spamd[5187]: locker: safe_lock: cannot create
> lockfile /.spamassassin/auto-whitelist.mutex: No such file or directory
> May 29 04:46:37 schnake spamd[5187]: auto-whitelist: open of
> auto-whitelist file failed: locker: safe_lock: cannot create lockfile
> /.spamassassin/auto-whitelist.mutex: No such file or directory
> May 29 04:46:37 schnake spamd[5187]: Can't call method "finish" on an
> undefined value at
> /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin/Plugin/AWL.pm line
> 397, <GEN390> line 33.
> 
> und so geht das weiter und weiter bis er dann endgueltig mit folgender
> Meldung stirbt:
> 
> May 29 04:46:41 schnake sSMTP[25970]: 554 Error: too many hops
> May 29 02:46:41 schnake postfix/smtpd[25959]: disconnect from
> unknown[217.11.52.12]
> May 29 04:46:41 schnake postfix/pipe[25917]: 066772008AE1:
> to=<nkalle at humbug.org>, relay=spamassassin, delay=0, status=bounced
> (Command died with status 1: "/usr/bin/spamc". Command output:
> sendmail: 554 Error: too many hops )
> May 29 04:46:41 schnake postfix/cleanup[25961]: 40C0C2008B7A:
> message-id=<20060529024641.40C0C2008B7A at mail.humbug.org>
> May 29 04:46:41 schnake postfix/qmgr[25835]: 40C0C2008B7A: from=<>,
> size=9283, nrcpt=1 (queue active)
> May 29 04:46:41 schnake postfix/qmgr[25835]: 066772008AE1: removed
> May 29 04:46:41 schnake postfix/smtp[25974]: 40C0C2008B7A:
> to=<nobody at schnake.humbug.org>, relay=none, delay=0, status=bounced
> (mail for schnake.humbug.org loops back to myself)
> 
> Hier mal ein Teil meiner master.cf:
> 
> [...]
> discard   unix  -       -       n       -       -       discard
> anvil     unix  -       -       n       -       1       anvil
> scache    unix  -       -       n       -       1       scache
> trace     unix  -       -       n       -       0       bounce
> verify    unix  -       -       n       -       1       verify
> smtp      inet  n       -       -       -       -       smtpd
>           -o content_filter=spamassassin
> ## AvMailGate
> 127.0.0.1:10025 inet n  -       n       -       -       smtpd -o
> content_filter=
> [..]

Fehlt hier das führende Leerzeichen auch in deiner master.cf oder ist 
das hier nur in der Darstellung?

Wenn tatsächlich kein Leerzeichen steht, wird der content_filter nämlich 
*nicht* gelöscht und die Mail immer wieder da durch gejagt.

Gruß
Kai



Mehr Informationen über die Mailingliste Postfixbuch-users