[Postfixbuch-users] Problem mit Spamassasin

Niels Kalle niels_kalle at web.de
Mo Mai 29 05:04:04 CEST 2006


-----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=
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
spamassassin unix -     n       n       -       -       pipe
        user=nobody argv=/usr/bin/spamc -f -e
        /usr/sbin/sendmail -oi -f ${sender} ${recipient}
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/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

Vielleicht hat ja jemand von euch eine Idee?

Gruesse

Niels


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEemSk58f/63U87UsRAruaAJ9QS/KxkK+TbDmKC3X6QsjaTTfLVACbBvHs
anBr/+Fm029//7gtCV+HxSY=
=xFOh
-----END PGP SIGNATURE-----




Mehr Informationen über die Mailingliste Postfixbuch-users