[plug] MailScanner children fighting

Jeremy Buchman jbuchman at brainkrash.com
Thu Dec 2 05:08:07 WST 2004


Hey plug,

I found this entry via google and was having the same problem. Since i 
did find a solution and as a bonus to all those who setup their list to 
be googleable i figured i'd share what i found.
All you have to do to fix this issue is set the following parameter in 
Mailscanner.conf

Lock Type = posix

-Jeremy Buchman
Pivotal Veracity

> Hi PLUG,
>
>  I've just upgraded my MailScanner to v4.34.8. Before I knock on their
>  door about this problem I was wondering if anyone has seen it?
>
>  With the default 5 children running, it appear that sometimes two
>  childen pick up the same message and then whichever finishes last
>  reports an error about it. Below is the output, you can see that two
>  MailScanner processes detect the email waiting, both scan it, then one
>  delivers it and the other one wonders where it went. The leads to 2
>  messages being sent to the recipient, one with the full message, and 
> the
>  other empty saying "<<< No Message Collected >>>"
>
>  If I reduce the max children to one, things obviously are a touch 
> slower
>  off the mark, but it stops the children fighting over the messages.
>
>  Anyone else seen this?
>
>  Oct 25 09:59:36 wind-tunnel sm-mta[26448]: i9P1xXpL026448:
>  to=<blal at blah>, delay=00:00:01, mailer=esmtp, pri=30480, stat=queued
>  Oct 25 09:59:37 wind-tunnel MailScanner[21194]: New Batch: Found 1
>  messages waiting
>  Oct 25 09:59:37 wind-tunnel MailScanner[21194]: New Batch: Scanning 1
>  messages, 4016 bytes
>  Oct 25 09:59:37 wind-tunnel MailScanner[23299]: New Batch: Found 1
>  messages waiting
>  Oct 25 09:59:37 wind-tunnel MailScanner[23299]: New Batch: Scanning 1
>  messages, 4016 bytes
>  Oct 25 09:59:40 wind-tunnel MailScanner[23299]: Virus and Content
>  Scanning: Starting
>  Oct 25 09:59:40 wind-tunnel MailScanner[23299]: Uninfected: Delivered 
> 1
>  messages
>  Oct 25 09:59:42 wind-tunnel MailScanner[21194]: Virus and Content
>  Scanning: Starting
>  Oct 25 09:59:42 wind-tunnel MailScanner[21194]: Failed to link message
>  body between queues (/var/spool/mqueue/dfi9P1xXpL026448 -->
>  /var/spool/mqueue.in/dfi9P1xXpL026448)
>  Oct 25 09:59:42 wind-tunnel MailScanner[21194]: Uninfected: Delivered 
> 1
>  messages
>  Oct 25 09:59:45 wind-tunnel sendmail[26463]: i9P1xXpL026448:
>  to=<blah at blah>, ctladdr=<from_blah at blah> (1046/100), delay=00:00:10,
>  xdelay=00:00:04, mailer=esmtp, pri=120480, relay=foo.bar.com.
>  [203.14.53.4], dsn=2.0.0, stat=Sent (<4176DB7200017551> Mail accepted)
>  Oct 25 09:59:45 wind-tunnel sendmail[26463]: i9P1xXpL026448:
>  to=<blah at blah>, ctladdr=<from_blah at blah> (1046/100), delay=00:00:10,
>  xdelay=00:00:04, mailer=esmtp, pri=120480, relay=foo.bar.com.
>  [203.14.53.4], dsn=2.0.0, stat=Sent (<4176DB7200017552> Mail accepted)
>
>  Thanks,
>
>  Ryan
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2924 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20041201/2c0796b7/attachment.bin>


More information about the plug mailing list