<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.1">
</HEAD>
<BODY>
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 <A HREF="http://westcom.no-ip.info/munin">http://westcom.no-ip.info/munin</A> (select postfix)<BR>
<BR>
I've reinstalled spamassassin by not postfix (don't want to break all mail) and it didn't fix the problem.<BR>
<BR>
As a work around I've since written the following script which is "cron"d every 30 mins<BR>
<BR>
#!/bin/sh<BR>
/etc/init.d/fetchmail stop<BR>
/etc/init.d/postfix stop<BR>
/etc/init.d/spamassassin restart<BR>
/etc/init.d/postfix start<BR>
/etc/init.d/fetchmail start<BR>
<BR>
<BR>
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.<BR>
<BR>
Below are some mail log entries from /var/log/mail.log:<BR>
Apr 26 19:12:19 localhost fetchmail[8601]: 1 message (1 seen) for jazcook at pop.netspace.net.au (3066 octets).<BR>
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.<BR>
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.<BR>
Apr 26 19:12:20 localhost fetchmail[8601]: 1078 messages (1078 seen) for harrycook at pop.netspace.net.au (259390122 octets).<BR>
Apr 26 19:12:24 localhost fetchmail[8601]: 121 messages (121 seen) for windsorcycles at pop.mail.yahoo.com.au (5694593 octets).<BR>
Apr 26 19:12:26 localhost spamd[8599]: spamd: clean message (-1.3/5.0) for spamd:501 in 7.4 seconds, 5497 bytes.<BR>
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=<<A HREF="mailto:442E3BCF00B62723@smtp02.syd.iprimus.net.au">442E3BCF00B62723@smtp02.syd.iprimus.net.au</A>>,bayes=1.11022302462516e-16,autolearn=ham<BR>
Apr 26 19:12:26 localhost spamd[8521]: prefork: child states: IB<BR>
Apr 26 19:12:26 localhost spamd[8600]: spamd: clean message (0.5/5.0) for spamd:501 in 7.3 seconds, 4123 bytes.<BR>
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$<A HREF="mailto:6701a8c0@LAPTOP1">6701a8c0@LAPTOP1</A>>,bayes=0,autolearn=no<BR>
Apr 26 19:12:26 localhost spamd[8521]: prefork: child states: II<BR>
Apr 26 19:12:26 localhost postfix/pickup[8579]: 16F5C25949: uid=501 from=<<A HREF="mailto:owner-science-matters@ABCNEWSLETTERS.NET.AU">owner-science-matters@ABCNEWSLETTERS.NET.AU</A>><BR>
Apr 26 19:12:26 localhost postfix/cleanup[10095]: 16F5C25949: message-id=<010201c669d9$e66d99c0$<A HREF="mailto:6701a8c0@LAPTOP1">6701a8c0@LAPTOP1</A>><BR>
Apr 26 19:12:26 localhost postfix/pipe[10099]: 7DA1725946: to=<ruscook@localhost>, relay=spam, delay=8, status=sent (dalek)<BR>
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 7DA1725946: removed<BR>
Apr 26 19:12:26 localhost postfix/pipe[10096]: 4DAA0D2E2: to=<ruscook@localhost>, relay=spam, delay=8, status=sent (dalek)<BR>
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 4DAA0D2E2: removed<BR>
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 16F5C25949: from=<owner-science-matters@ABCNEWSLETTERS.NET.AU>, size=4353, nrcpt=1 (queue active)<BR>
Apr 26 19:12:26 localhost postfix/pickup[8579]: 241EFD2E2: uid=501 from=<<A HREF="mailto:owner-science-matters@ABCNEWSLETTERS.NET.AU">owner-science-matters@ABCNEWSLETTERS.NET.AU</A>><BR>
Apr 26 19:12:26 localhost postfix/cleanup[10095]: 241EFD2E2: message-id=<442E3BCF00B62723@smtp02.syd.iprimus.net.au> (added by? <A HREF="mailto:postmaster@iprimus.com.au">postmaster@iprimus.com.au</A>)<BR>
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 241EFD2E2: from=<owner-science-matters@ABCNEWSLETTERS.NET.AU>, size=5750, nrcpt=1 (queue active)<BR>
Apr 26 19:12:26 localhost postfix/local[10110]: 16F5C25949: to=<ruscook@localhost>, relay=local, delay=0, status=sent (delivered to maildir)<BR>
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 16F5C25949: removed<BR>
Apr 26 19:12:26 localhost postfix/local[10110]: 241EFD2E2: to=<ruscook@localhost>, relay=local, delay=0, status=sent (delivered to maildir)<BR>
Apr 26 19:12:26 localhost postfix/qmgr[8582]: 241EFD2E2: removed<BR>
<BR>
<BR>
Here's some from /var/log/mail.err<BR>
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.<BR>
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.<BR>
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.<BR>
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.<BR>
<BR>
<BR>
Considering there is also (only???) a perl error could a perl upgrade have been included in the dist-upgrade that caused this?<BR>
<BR>
This is way beyond my expertise so any advice appreciated.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Kind Regards Russell<BR>
==================<BR>
www.windsorcycles.com.au<BR>
sales@windsorcycles.com.au<BR>
ph. 02 4577 3209<BR>
bikes.no-ip.info<BR>
Linux user #369094<BR>
================== <BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>