emails with No Message Collected

kfliong kfliong at WOFS.COM
Mon Jul 21 03:25:46 IST 2003

I have no idea why sendmail is interfering with the mails. Could someone
please tell me how I could go about to find out the problem?

Would re-installing MailScanner help? And if I re-install MailScanner, do I
need to remove the old version first? What about MailWatch 0.2? Do I need
to do something with that as well?

Thanks in advance.

At 03:43 PM 7/16/2003 +0800, you wrote:
>I have check and both sendmail and MS is using flock.
>I see this in MS.conf file - Lock Type = flock
>So, both is flock type.
>Here is a short list of what i get when it tail maillog.
>MTP, daemon=MTA, []
>Jul 16 15:38:00 ensim sendmail[12706]: h6GJbnV12706: to=<adverts at>,
>delay=00:00:07, mailer=virthostmail, pri=32201, stat=queued
>Jul 16 15:38:01 ensim MailScanner[12047]: New Batch: Found 2 messages waiting
>Jul 16 15:38:01 ensim MailScanner[12047]: New Batch: Scanning 1 messages,
>2762 bytes
>Jul 16 15:38:01 ensim MailScanner[12098]: Spam Checks: Found 1 spam messages
>Jul 16 15:38:01 ensim sendmail[12765]: h6GJc1l12765: from=<>, size=999,
>class=0, nrcpts=1,
>msgid=<200307161938.h6GJc1l12765 at>,
>relay=root at localhost
>Jul 16 15:38:01 ensim MailScanner[12098]: Virus and Content Scanning: Starting
>Jul 16 15:38:03 ensim sendmail[12768]: h6GJc1l12765:
>to=mariawantsu at, delay=00:00:02, xdelay=00:00:02,
>mailer=esmtp, pri=30999, [],
>dsn=2.0.0, stat=Sent (h6G7hpAR016440 Message accepted for delivery)
>Jul 16 15:38:05 ensim MailScanner[12047]: Spam Checks: Found 1 spam messages
>Jul 16 15:38:05 ensim sendmail[12775]: h6GJc5912775: from=<>, size=937,
>class=0, nrcpts=1,
>msgid=<200307161938.h6GJc5912775 at>,
>relay=root at localhost
>Jul 16 15:38:05 ensim MailScanner[12047]: Virus and Content Scanning: Starting
>Jul 16 15:38:06 ensim sendmail[12778]: h6GJc5912775:
>to=mariawantsu at, delay=00:00:01, xdelay=00:00:01, mailer=esmtp,
>pri=30937, [], dsn=5.0.0,
>stat=Service unavailable
>Jul 16 15:38:06 ensim sendmail[12778]: h6GJc5912775: h6GJc6812778:
>postmaster notify: Service unavailable
>Jul 16 15:38:06 ensim sendmail[12778]: h6GJc6812778: to=root,
>delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31037, dsn=2.0.0, stat=Sent
>Jul 16 15:38:23 ensim sendmail[12815]: h6GJcNh12815: from=apache, size=832,
>class=0, nrcpts=1,
>msgid=<200307161938.h6GJcNh12815 at>,
>relay=apache at localhost
>Jul 16 15:38:25 ensim sendmail[12818]: h6GJcNh12815: to=izancj at,
>ctladdr=apache (48/48), delay=00:00:02, xdelay=00:00:02, mailer=esmtp,
>pri=30832, [], dsn=2.0.0, stat=Sent (
><200307161938.h6GJcNh12815 at> Queued mail for delivery)
>Well, I am not sure if this is correct, but how come some mails are being
>handled by MailScanne and some by sendmail?
>Thanks in advance.
>At 07:43 AM 7/16/2003 +0100, you wrote:
>>On Wed, 2003-07-16 at 03:23, kfliong wrote:
>>I have checked and my "noetrn" command is in the init script. So, what
>>could be the reason?
>>Maybe a locking problem?  Check that sendmail and MS are using the same
>>lock type (and that none of your mail spools are on NFS shares).  You
>>can find sendmails lock type as described below (from sendmails site)...
>>"You can determine which locking system is used by sendmail from the
>>output of:
>>         sendmail -bt -d0.10 < /dev/null | grep HASFLOCK
>>If HASFLOCK is in the output, your system is using flock() for locking.
>>Otherwise, it is using fcntl() for locking.  "
>>fcntl() is called 'posix' in MS, check that 'Lock Type' in MS.conf is
>>set to the correct type (or commented out if sendmail is using flock()).
>>Failing that - have you checked for anything unusual in the maillog?
>>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

More information about the MailScanner mailing list