Problem with splitted messages
Michael Baird
mike at TC3NET.COM
Thu Mar 11 03:11:01 GMT 2004
Nice call, I noticed the same behavior and had to back off splitting
messages with Sendmail before MailScanner had a chance to process them.
Regards
MIKE
> I will take a look. I don't use the queue groups stuff myself, so haven't
> seen this behaviour on any of my systems. But, as you say, the exclusive
> lock on qf should be enough to guarantee the desired behaviour, at which
> point a shared lock on the df should be okay.
>
> I'll have to check the code though, to ensure I always follow my own rules.
> I try to write defensive code.
>
> At 16:57 10/03/2004, you wrote:
> >Hi all,
> >
> >I followed instructions found on this page
> >http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/169.html
> >to obtain real indivual user preferences splitting messages with multiple
> >recipients.
> >Everything works fine except that MailScanner looks unable to process more
> >than one splitted messages at time. Watching in the code I've found that the
> >problem is in the way sendmail splits messages: it creates a qf and a df
> >file for each splitted message in the queue but all the df files are hard
> >links of the same file, thus MailScanner can exclusive lock just one of them
> >at time. Does MailScanner really needs to exclusive lock df files or could a
> >shared lock be enough, given that the exclusive lock on the qf files should
> >already avoid multiple processing of the same message?
> >
> >Thanks in advance.
> >
> >+----------------------------------------------------------+
> >| Dr. Francesco Rotondo E-mail: f.rotondo at teseo.it |
> >+----------------------------------------------------------+
> >| Teseo Internet Provider, Srl |
> >| C.so A. De Gasperi, 344 Web: http://www.teseo.it |
> >| 70125 - Bari Tel: +39(080)5036970 |
> >| Italy Fax: +39(080)5008672 |
> >+----------------------------------------------------------+
>
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
More information about the MailScanner
mailing list