double messages?

Jay Kusler kusler at NSCL.MSU.EDU
Thu Jun 12 05:13:46 IST 2003

Thanks Kevin.

I bit the bullet and switched to posix locking: no help.
I also changed the number of children to 1: no help

I'm stumped.  Anybody?



On Wed, Jun 11, 2003 at 09:50:00PM +0100, Kevin Spicer wrote:
> Date:         Wed, 11 Jun 2003 21:50:00 +0100
> Subject: Re: double messages?
> From: Kevin Spicer <kevins at BMRB.CO.UK>
> >I tried upping the Queue Scan Interval to 20 seconds hoping that
> >would help, but it doesn't seem to.  I have not tried cutting Max
> >Children back to 1, but perhaps that's next: somewhat of a waste on a
> >dual-cpu box.  Perhaps there is a lock not getting set, or some race
> >condition with locking?
> locking would seem like the obvious choice, wouldn't it.  I'm not sure
> which kind of locking MailScanner uses by defaultwith Postfix.  One
> (probably obvious) check - this is a local drive isn't it (I know its
> unlikely anyone would be using NFS for a mail queue, but worth making
> sure).
> I notice from your original post that you are running Solaris 8, I've
> just found this little snippet with Google...
> "Welcome to the world of POSIX fcntl() locking, which is the only
> locking that Postfix can use on System-V systems such as Solaris, HP-UX
> and others."
> I'm taking it out of context, but it came from the keyboard of Wietse
> Venema so it should be reliable information (heres the link
> Now, if MailScanner is using flock (which it does by default for
> sendmail I can see this might be the problem.  You might like to try
> setting
> Lock Type = posix
> where
> #Lock Type = flock
> appears (commented out) near the end of MailScanner.conf.
> One word of caution, I'm guessing completely(!) and screwing with
> locking could make things much worse :(  Maybe worth waiting for a
> second opinion or two from others!
> BMRB International
> +44 (0)20 8566 5000
> _________________________________________________________________
> This message (and any attachment) is intended only for the
> recipient and may contain confidential and/or privileged
> material.  If you have received this in error, please contact the
> sender and delete this message immediately.  Disclosure, copying
> or other action taken in respect of this email or in
> reliance on it is prohibited.  BMRB International Limited
> accepts no liability in relation to any personal emails, or
> content of any email which does not directly relate to our
> business.
---end quoted text---

More information about the MailScanner mailing list