Odd behaviour with nested sendmail queues (bug?)

Julian Field MailScanner at ecs.soton.ac.uk
Sat Feb 19 17:52:46 GMT 2005


    [ The following text is in the "UTF-8" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

In Sendmail.pm around line 71 you should have a line saying
  %MailScanner::Sendmail::IsNestedQueue = ();
Change this to
  %IsNestedQueue = ();

In Sendmail.pm around line 1050 you should have a line saying
  $IsNestedQueue{$dir} = 1 if $FoundQf && $FoundDf;
Change this to
  $IsNestedQueue{$dir} = ($FoundQf && $FoundDf)?1:0;

and let me know if this helps.

David H. wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> Hello.
>
> I want to ask what you need from me to debug the following issue:
>
>
> When my mqueue.in is nested into xf/df/qf Mailscanner stable as well
> as the
> latest beta pick up the files without any problems.
>
> However, sometimes the MailScanner log shows these entries:
>
> allmessages:Feb 11 12:06:54 dragon MailScanner[30501]: Could not open
> file
> |/var/spool/mqueue/df/dfj1B091Zw032193: No such file or directory
> allmessages:Feb 11 12:06:54 dragon MailScanner[30501]: Cannot create +
> lock
> clean body /var/spool/mqueue/df/dfj1B091Zw032193
>
> Naturally that is not possible because my outgoing mqueue is not
> nested. This
> is usually read correctly and then applied in the correct manner, namely
> writing everything into mqueue.
>
> Trying to work around this following behaviour is being observed.
>
> When I create the subdirectories df qf xf in the mqueue directory, the
> df file
> is written into the /df subdirectly but the corresponding qf files is
> written
> into mqueue itself. This of course confuses sendmail and that message
> is never
> delivered.
>
> As I said this only happens for some messages, I cannot pintpoint why.
> What
> would you need to further debug this? As I have seen this behaviour in
> Stable
> and recent unstable I believe it is a "bug".
>
> Locking for my sendmail is FLOCK and that is working peachy when my
> mqueue.in
> is not nested.
>
> The MailScanner processes defunc with such a message present. The full
> log
> conversation for such a message looks like this:
>
> allmessages:Feb 11 06:29:17 dragon MailScanner[14941]: Message
> j1B091Zw032193
> from 217.72.192.243 (lioud_kima_eva at web.de) to frosted.net is not spam,
> SpamAssassin (score=2.824, required 5.1, HTML_20_30 0.50, HTML_MESSAGE
> 0.00,
> MIME_HTML_ONLY 1.16, SARE_SXLIFE 0.80, SUBJ_ALL_CAPS 0.36)
> allmessages:Feb 11 06:29:17 dragon MailScanner[14941]: Content Checks:
> Detected and have disarmed HTML message in j1B091Zw032193 from
> lioud_kima_eva at web.de
> allmessages:Feb 11 06:29:17 dragon MailScanner[14941]: Could not open
> file
> |/var/spool/mqueue/df/dfj1B091Zw032193: No such file or directory
> allmessages:Feb 11 06:29:17 dragon MailScanner[14941]: Cannot create +
> lock
> clean body /var/spool/mqueue/df/dfj1B091Zw032193
>
> Thank you.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.3.6 (Darwin)
>
> iD8DBQFCF2vWPMoaMn4kKR4RA7oUAKCbe9bGwPoQBrIH+tBRRbtpC3BEBQCeM6tW
> 0iGuq3WHwd+Pyd5WNoFkMqc=
> =n8oZ
> -----END PGP SIGNATURE-----
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>

--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list