<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Crap, I was too quick on that reply.&nbsp; The delivery was working because
MailScanner wasn't actually scanning the message.. now that it is, it's
back to it's old tricks.<br>
<br>
I've now tried both batch and queue delivery methods in
MailScanner.conf and that hasn't made a difference.<br>
<br>
I open a telnet session to the server and compose and queue a message
for user test.<br>
<br>
<big><u><b><small>/var/log/maillog:</small><br>
<br>
</b></u></big>Jun 15 11:19:56 mail postfix/smtpd[2814]: AEF8D1C48043:
client=CPE00119538ec34-CM0012c90ff4f4.cpe.net.cable.rogers.com[72.60.20.161]<br>
Jun 15 11:20:08 mail postfix/cleanup[2818]: AEF8D1C48043:
message-id=<a class="moz-txt-link-rfc2396E" href="mailto:20060615161954.AEF8D1C48043@mail.traffikedit.com">&lt;20060615161954.AEF8D1C48043@mail.traffikedit.com&gt;</a><br>
Jun 15 11:20:09 mail postfix/qmgr[2725]: AEF8D1C48043:
from=<a class="moz-txt-link-rfc2396E" href="mailto:ian@topix.com">&lt;ian@topix.com&gt;</a>, size=416, nrcpt=1 (queue active)<br>
Jun 15 11:20:09 mail postfix/qmgr[2725]: AEF8D1C48043:
to=<a class="moz-txt-link-rfc2396E" href="mailto:test@traffikedit.com">&lt;test@traffikedit.com&gt;</a>, orig_to=&lt;test&gt;, relay=none,
delay=15, status=deferred (delivery temporarily suspended: deferred
transport)<br>
Jun 15 11:20:09 mail MailScanner[2813]: New Batch: Scanning 1 messages,
803 bytes<br>
Jun 15 11:20:11 mail postfix/smtpd[2814]: disconnect from
CPE00119538ec34-CM0012c90ff4f4.cpe.net.cable.rogers.com[72.60.20.161]<br>
Jun 15 11:20:20 mail MailScanner[2813]: Virus and Content Scanning:
Starting<br>
Jun 15 11:20:20 mail MailScanner[2826]: Unrar command /usr/bin/unrar
does not exist or is not executable, please either install it or remove
the setting from MailScanner.conf<br>
Jun 15 11:20:20 mail MailScanner[2813]: Requeue: AEF8D1C48043.C39BF to
6CD701C48049<br>
Jun 15 11:20:20 mail MailScanner[2813]: Uninfected: Delivered 1 messages<br>
<br>
<u><b>ls -la /var/spool/postfix/incoming/6 shows:</b></u><br>
<br>
-rwx------&nbsp; 1 postfix postfix 1188 Jun 15 11:20 6CD701C48049<br>
<br>
<u><b>/etc/init.d/MailScanner restart, /var/log/maillog then reads:<br>
<br>
</b></u>Jun 15 11:28:13 mail postfix/postfix-script: starting the
Postfix mail system<br>
Jun 15 11:28:13 mail postfix/master[2970]: daemon started -- version
2.2.2, configuration /etc/postfix.in<br>
Jun 15 11:28:13 mail postfix/postfix-script: starting the Postfix mail
system<br>
Jun 15 11:28:14 mail postfix/master[3018]: daemon started -- version
2.2.2, configuration /etc/postfix<br>
<b>Jun 15 11:28:14 mail postfix/qmgr[3022]: 6CD701C48049:
from=<a class="moz-txt-link-rfc2396E" href="mailto:ian@topix.com">&lt;ian@topix.com&gt;</a>, size=801, nrcpt=1 (queue active)<br>
Jun 15 11:28:14 mail postfix/local[3027]: 6CD701C48049:
to=<a class="moz-txt-link-rfc2396E" href="mailto:test@traffikedit.com">&lt;test@traffikedit.com&gt;</a>, orig_to=&lt;test&gt;, relay=local,
delay=500, status=sent (delivered to mailbox)<br>
Jun 15 11:28:14 mail postfix/qmgr[3022]: 6CD701C48049: removed</b><br>
Jun 15 11:28:15 mail MailScanner[3041]: MailScanner E-Mail Virus
Scanner version 4.55.3 starting...<br>
Jun 15 11:28:15 mail MailScanner[3041]: Read 746 hostnames from the
phishing whitelist<br>
Jun 15 11:28:15 mail MailScanner[3041]: Using SpamAssassin results cache<br>
Jun 15 11:28:15 mail MailScanner[3041]: Connected to SpamAssassin cache
database<br>
Jun 15 11:28:15 mail MailScanner[3041]: Enabling SpamAssassin
auto-whitelist functionality...<br>
Jun 15 11:28:17 mail MailScanner[3041]: Using locktype = flock<br>
Jun 15 11:28:26 mail MailScanner[3044]: MailScanner E-Mail Virus
Scanner version 4.55.3 starting...<br>
Jun 15 11:28:26 mail MailScanner[3044]: Read 746 hostnames from the
phishing whitelist<br>
Jun 15 11:28:26 mail MailScanner[3044]: Using SpamAssassin results cache<br>
Jun 15 11:28:26 mail MailScanner[3044]: Connected to SpamAssassin cache
database<br>
Jun 15 11:28:26 mail MailScanner[3044]: Enabling SpamAssassin
auto-whitelist functionality...<br>
Jun 15 11:28:28 mail MailScanner[3044]: Using locktype = flock<br>
Jun 15 11:28:37 mail MailScanner[3046]: MailScanner E-Mail Virus
Scanner version 4.55.3 starting...<br>
Jun 15 11:28:37 mail MailScanner[3046]: Read 746 hostnames from the
phishing whitelist<br>
Jun 15 11:28:37 mail MailScanner[3046]: Using SpamAssassin results cache<br>
Jun 15 11:28:37 mail MailScanner[3046]: Connected to SpamAssassin cache
database<br>
Jun 15 11:28:37 mail MailScanner[3046]: Enabling SpamAssassin
auto-whitelist functionality...<br>
Jun 15 11:28:39 mail MailScanner[3046]: Using locktype = flock<br>
Jun 15 11:28:48 mail MailScanner[3049]: MailScanner E-Mail Virus
Scanner version 4.55.3 starting...<br>
Jun 15 11:28:48 mail MailScanner[3049]: Read 746 hostnames from the
phishing whitelist<br>
Jun 15 11:28:48 mail MailScanner[3049]: Using SpamAssassin results cache<br>
Jun 15 11:28:48 mail MailScanner[3049]: Connected to SpamAssassin cache
database<br>
Jun 15 11:28:48 mail MailScanner[3049]: Enabling SpamAssassin
auto-whitelist functionality...<br>
Jun 15 11:28:50 mail MailScanner[3049]: Using locktype = flock<br>
Jun 15 11:28:59 mail MailScanner[3051]: MailScanner E-Mail Virus
Scanner version 4.55.3 starting...<br>
Jun 15 11:28:59 mail MailScanner[3051]: Read 746 hostnames from the
phishing whitelist<br>
Jun 15 11:28:59 mail MailScanner[3051]: Using SpamAssassin results cache<br>
Jun 15 11:28:59 mail MailScanner[3051]: Connected to SpamAssassin cache
database<br>
Jun 15 11:28:59 mail MailScanner[3051]: Enabling SpamAssassin
auto-whitelist functionality...<br>
Jun 15 11:29:01 mail MailScanner[3051]: Using locktype = flock<br>
<br>
Why does the message only get delivered when I restart MailScanner?&nbsp; If
I don't /etc/init.d/MailScanner restart, the message just sits in
/var/spool/postfix/incoming<br>
<br>
<br>
Ian<br>
<br>
<br>
<br>
Ian Haskin wrote:
<blockquote cite="mid449181CE.7030202@topix.com" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Genius!<br>
  <br>
It was set to batch, and after setting it to queue the message was
delivered right away.&nbsp; So, if I had sent _enough_ test messages the
batch would have delivered them, but because I was only sending a
couple at a time the delivery wasn't progressing.<br>
  <br>
Thanks very much!<br>
  <br>
Ian Haskin<br>
  <br>
Drew Marshall wrote:
  <blockquote
 cite="mid39022.194.70.180.170.1150369628.squirrel@webmail.r-bit.net"
 type="cite">
    <pre wrap="">On Wed, June 14, 2006 23:06, Ian Haskin wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">I just finished setting up and testing a new install of
Mailscanner/Postfix/ClamAV/Spamassassin on a Fedora 4 machine.

The server setup was taken from:
<a class="moz-txt-link-freetext"
 href="http://www.linuxhelp.ca/forums/index.php?act=ST&amp;f=3&amp;t=3647">http://www.linuxhelp.ca/forums/index.php?act=ST&amp;f=3&amp;t=3647</a>

I'm running into a problem where mail can be sent to a local recipient,
it's scanned, but it sits in /var/spool/postfix/incoming until I
'/etc/init.d/MailScanner restart' at which time the message is actually
delivered to /var/spool/mail/'local_recipient'

I'm at a loss why, I believe, postfix must be restarted in order to
deliver the mail.
    </pre>
    </blockquote>
    <pre wrap=""><!---->
Any chance of a log excerpt? What do you have in MailScanner.conf
regarding the delivery options, batch or queue? (You will find this
towards the bottom of the file).

Drew


  </pre>
  </blockquote>
</blockquote>
</body>
</html>