Spamassassin/Postfix and Dapper

Russell Cook bike_oz at yahoo.com.au
Wed Apr 26 09:28:48 UTC 2006


I have problem with Dapper (fully upto date) where Postfix and
Spamassassin seem to stop talking. As of Tues I had 2200 emails in my
spamassassin folder waiting to be processed. You can see evidence of
this queue problem at http://westcom.no-ip.info/munin (select postfix)

I've reinstalled spamassassin by not postfix (don't want to break all
mail) and it didn't fix the problem.

As a work around I've since written the following script which is
"cron"d every 30 mins

#!/bin/sh
/etc/init.d/fetchmail stop
/etc/init.d/postfix stop
/etc/init.d/spamassassin restart
/etc/init.d/postfix start
/etc/init.d/fetchmail start


This means mail is both scanned and delivered so that's ok. Obviously
this puts significant overhead on the system and is not a long term
solution.

Below are some mail log entries from /var/log/mail.log:
Apr 26 19:12:19 localhost fetchmail[8601]: 1 message (1 seen) for
jazcook at pop.netspace.net.au (3066 octets).
Apr 26 19:12:20 localhost spamd[8600]: Can't locate Sys/Hostname/Long.pm
in @INC (@INC
contains: ../lib /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SPF/Query.pm line 88, <GEN8> line 86.
Apr 26 19:12:20 localhost spamd[8600]: Can't locate Sys/Hostname/Long.pm
in @INC (@INC
contains: ../lib /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SPF/Query.pm line 336, <GEN8> line 86.
Apr 26 19:12:20 localhost fetchmail[8601]: 1078 messages (1078 seen) for
harrycook at pop.netspace.net.au (259390122 octets).
Apr 26 19:12:24 localhost fetchmail[8601]: 121 messages (121 seen) for
windsorcycles at pop.mail.yahoo.com.au (5694593 octets).
Apr 26 19:12:26 localhost spamd[8599]: spamd: clean message (-1.3/5.0)
for spamd:501 in 7.4 seconds, 5497 bytes.
Apr 26 19:12:26 localhost spamd[8599]: spamd: result: . -1 -
AWL,BAYES_00,FORGED_RCVD_HELO
scantime=7.4,size=5497,user=spamd,uid=501,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=49073,mid=<442E3BCF00B62723 at smtp02.syd.iprimus.net.au>,bayes=1.11022302462516e-16,autolearn=ham
Apr 26 19:12:26 localhost spamd[8521]: prefork: child states: IB
Apr 26 19:12:26 localhost spamd[8600]: spamd: clean message (0.5/5.0)
for spamd:501 in 7.3 seconds, 4123 bytes.
Apr 26 19:12:26 localhost spamd[8600]: spamd: result: .  0 -
AWL,BAYES_00,DATE_IN_FUTURE_12_24,FORGED_RCVD_HELO
scantime=7.3,size=4123,user=spamd,uid=501,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=49074,mid=<010201c669d9$e66d99c0$6701a8c0 at LAPTOP1>,bayes=0,autolearn=no
Apr 26 19:12:26 localhost spamd[8521]: prefork: child states: II
Apr 26 19:12:26 localhost postfix/pickup[8579]: 16F5C25949: uid=501
from=<owner-science-matters at ABCNEWSLETTERS.NET.AU>
Apr 26 19:12:26 localhost postfix/cleanup[10095]: 16F5C25949:
message-id=<010201c669d9$e66d99c0$6701a8c0 at LAPTOP1>
Apr 26 19:12:26 localhost postfix/pipe[10099]: 7DA1725946:
to=<ruscook at localhost>, relay=spam, delay=8, status=sent (dalek)
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 7DA1725946: removed
Apr 26 19:12:26 localhost postfix/pipe[10096]: 4DAA0D2E2:
to=<ruscook at localhost>, relay=spam, delay=8, status=sent (dalek)
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 4DAA0D2E2: removed
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 16F5C25949:
from=<owner-science-matters at ABCNEWSLETTERS.NET.AU>, size=4353, nrcpt=1
(queue active)
Apr 26 19:12:26 localhost postfix/pickup[8579]: 241EFD2E2: uid=501
from=<owner-science-matters at ABCNEWSLETTERS.NET.AU>
Apr 26 19:12:26 localhost postfix/cleanup[10095]: 241EFD2E2:
message-id=<442E3BCF00B62723 at smtp02.syd.iprimus.net.au> (added by?
postmaster at iprimus.com.au)
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 241EFD2E2:
from=<owner-science-matters at ABCNEWSLETTERS.NET.AU>, size=5750, nrcpt=1
(queue active)
Apr 26 19:12:26 localhost postfix/local[10110]: 16F5C25949:
to=<ruscook at localhost>, relay=local, delay=0, status=sent (delivered to
maildir)
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 16F5C25949: removed
Apr 26 19:12:26 localhost postfix/local[10110]: 241EFD2E2:
to=<ruscook at localhost>, relay=local, delay=0, status=sent (delivered to
maildir)
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 241EFD2E2: removed


Here's some from /var/log/mail.err
Apr 26 19:12:20 localhost spamd[8600]: Can't locate Sys/Hostname/Long.pm
in @INC (@INC
contains: ../lib /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SPF/Query.pm line 88, <GEN8> line 86.
Apr 26 19:12:20 localhost spamd[8600]: Can't locate Sys/Hostname/Long.pm
in @INC (@INC
contains: ../lib /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SPF/Query.pm line 336, <GEN8> line 86.
Apr 26 19:26:44 localhost spamd[10975]: Can't locate
Sys/Hostname/Long.pm in @INC (@INC
contains: ../lib /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SPF/Query.pm line 88, <GEN5> line 132.
Apr 26 19:26:44 localhost spamd[10975]: Can't locate
Sys/Hostname/Long.pm in @INC (@INC
contains: ../lib /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SPF/Query.pm line 336, <GEN5> line 132.


Considering there is also (only???) a perl error could a perl upgrade
have been included in the dist-upgrade that caused this?

This is way beyond my expertise so any advice appreciated.

Kind Regards Russell
==================
www.windsorcycles.com.au
sales at windsorcycles.com.au
ph. 02 4577 3209
bikes.no-ip.info
Linux user #369094
================== 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060426/6ae6bf9a/attachment.html>


More information about the ubuntu-users mailing list