<!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">
Thanks for the advice, I've re-done the config based on the one in the
wiki and it's working now.<br>
<br>
Ian<br>
<br>
Martin Hepworth wrote:
<blockquote cite="mid009801c6909b$87482260$3004010a@martinhlaptop"
 type="cite">
  <pre wrap="">Ian

I'd checkout the 'official' install guide for PF/MS in the wiki if I where
you....

--
Martin Hepworth 
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [<a class="moz-txt-link-freetext" href="mailto:mailscanner">mailto:mailscanner</a>-
<a class="moz-txt-link-abbreviated" href="mailto:bounces@lists.mailscanner.info">bounces@lists.mailscanner.info</a>] On Behalf Of Ian Haskin
Sent: 15 June 2006 17:36
To: MailScanner discussion
Subject: Re: Problem with New Install

Crap, I was too quick on that reply.  The delivery was working because
MailScanner wasn't actually scanning the message.. now that it is, it's
back to it's old tricks.

I've now tried both batch and queue delivery methods in MailScanner.conf
and that hasn't made a difference.

I open a telnet session to the server and compose and queue a message for
user test.

/var/log/maillog:

Jun 15 11:19:56 mail postfix/smtpd[2814]: AEF8D1C48043:
client=CPE00119538ec34-
CM0012c90ff4f4.cpe.net.cable.rogers.com[72.60.20.161]
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>
<a class="moz-txt-link-rfc2396E" href="mailto:20060615161954.AEF8D1C48043@mail.traffikedit.com">&lt;mailto:20060615161954.AEF8D1C48043@mail.traffikedit.com&gt;</a>
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> <a class="moz-txt-link-rfc2396E" href="mailto:ian@topix.com">&lt;mailto:ian@topix.com&gt;</a> , size=416, nrcpt=1 (queue
active)
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> <a class="moz-txt-link-rfc2396E" href="mailto:test@traffikedit.com">&lt;mailto:test@traffikedit.com&gt;</a> , orig_to=&lt;test&gt;,
relay=none, delay=15, status=deferred (delivery temporarily suspended:
deferred transport)
Jun 15 11:20:09 mail MailScanner[2813]: New Batch: Scanning 1 messages,
803 bytes
Jun 15 11:20:11 mail postfix/smtpd[2814]: disconnect from CPE00119538ec34-
CM0012c90ff4f4.cpe.net.cable.rogers.com[72.60.20.161]
Jun 15 11:20:20 mail MailScanner[2813]: Virus and Content Scanning:
Starting
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
Jun 15 11:20:20 mail MailScanner[2813]: Requeue: AEF8D1C48043.C39BF to
6CD701C48049
Jun 15 11:20:20 mail MailScanner[2813]: Uninfected: Delivered 1 messages

ls -la /var/spool/postfix/incoming/6 shows:

-rwx------  1 postfix postfix 1188 Jun 15 11:20 6CD701C48049

/etc/init.d/MailScanner restart, /var/log/maillog then reads:

Jun 15 11:28:13 mail postfix/postfix-script: starting the Postfix mail
system
Jun 15 11:28:13 mail postfix/master[2970]: daemon started -- version
2.2.2, configuration /etc/postfix.in
Jun 15 11:28:13 mail postfix/postfix-script: starting the Postfix mail
system
Jun 15 11:28:14 mail postfix/master[3018]: daemon started -- version
2.2.2, configuration /etc/postfix
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> <a class="moz-txt-link-rfc2396E" href="mailto:ian@topix.com">&lt;mailto:ian@topix.com&gt;</a> , size=801, nrcpt=1 (queue
active)
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> <a class="moz-txt-link-rfc2396E" href="mailto:test@traffikedit.com">&lt;mailto:test@traffikedit.com&gt;</a> , orig_to=&lt;test&gt;,
relay=local, delay=500, status=sent (delivered to mailbox)
Jun 15 11:28:14 mail postfix/qmgr[3022]: 6CD701C48049: removed
Jun 15 11:28:15 mail MailScanner[3041]: MailScanner E-Mail Virus Scanner
version 4.55.3 starting...
Jun 15 11:28:15 mail MailScanner[3041]: Read 746 hostnames from the
phishing whitelist
Jun 15 11:28:15 mail MailScanner[3041]: Using SpamAssassin results cache
Jun 15 11:28:15 mail MailScanner[3041]: Connected to SpamAssassin cache
database
Jun 15 11:28:15 mail MailScanner[3041]: Enabling SpamAssassin auto-
whitelist functionality...
Jun 15 11:28:17 mail MailScanner[3041]: Using locktype = flock
Jun 15 11:28:26 mail MailScanner[3044]: MailScanner E-Mail Virus Scanner
version 4.55.3 starting...
Jun 15 11:28:26 mail MailScanner[3044]: Read 746 hostnames from the
phishing whitelist
Jun 15 11:28:26 mail MailScanner[3044]: Using SpamAssassin results cache
Jun 15 11:28:26 mail MailScanner[3044]: Connected to SpamAssassin cache
database
Jun 15 11:28:26 mail MailScanner[3044]: Enabling SpamAssassin auto-
whitelist functionality...
Jun 15 11:28:28 mail MailScanner[3044]: Using locktype = flock
Jun 15 11:28:37 mail MailScanner[3046]: MailScanner E-Mail Virus Scanner
version 4.55.3 starting...
Jun 15 11:28:37 mail MailScanner[3046]: Read 746 hostnames from the
phishing whitelist
Jun 15 11:28:37 mail MailScanner[3046]: Using SpamAssassin results cache
Jun 15 11:28:37 mail MailScanner[3046]: Connected to SpamAssassin cache
database
Jun 15 11:28:37 mail MailScanner[3046]: Enabling SpamAssassin auto-
whitelist functionality...
Jun 15 11:28:39 mail MailScanner[3046]: Using locktype = flock
Jun 15 11:28:48 mail MailScanner[3049]: MailScanner E-Mail Virus Scanner
version 4.55.3 starting...
Jun 15 11:28:48 mail MailScanner[3049]: Read 746 hostnames from the
phishing whitelist
Jun 15 11:28:48 mail MailScanner[3049]: Using SpamAssassin results cache
Jun 15 11:28:48 mail MailScanner[3049]: Connected to SpamAssassin cache
database
Jun 15 11:28:48 mail MailScanner[3049]: Enabling SpamAssassin auto-
whitelist functionality...
Jun 15 11:28:50 mail MailScanner[3049]: Using locktype = flock
Jun 15 11:28:59 mail MailScanner[3051]: MailScanner E-Mail Virus Scanner
version 4.55.3 starting...
Jun 15 11:28:59 mail MailScanner[3051]: Read 746 hostnames from the
phishing whitelist
Jun 15 11:28:59 mail MailScanner[3051]: Using SpamAssassin results cache
Jun 15 11:28:59 mail MailScanner[3051]: Connected to SpamAssassin cache
database
Jun 15 11:28:59 mail MailScanner[3051]: Enabling SpamAssassin auto-
whitelist functionality...
Jun 15 11:29:01 mail MailScanner[3051]: Using locktype = flock

Why does the message only get delivered when I restart MailScanner?  If I
don't /etc/init.d/MailScanner restart, the message just sits in
/var/spool/postfix/incoming


Ian



Ian Haskin wrote:

        Genius!

        It was set to batch, and after setting it to queue the message was
delivered right away.  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.

        Thanks very much!

        Ian Haskin

        Drew Marshall wrote:

                On Wed, June 14, 2006 23:06, Ian Haskin wrote:


                        I just finished setting up and testing a new install
    </pre>
  </blockquote>
  <pre wrap=""><!---->of
  </pre>
  <blockquote type="cite">
    <pre wrap="">                        Mailscanner/Postfix/ClamAV/Spamassassin on a Fedora
    </pre>
  </blockquote>
  <pre wrap=""><!---->4
  </pre>
  <blockquote type="cite">
    <pre wrap="">machine.

                        The server setup was taken from:

        <a class="moz-txt-link-freetext" href="http://www.linuxhelp.ca/forums/index.php?act=ST&f=3&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
    </pre>
  </blockquote>
  <pre wrap=""><!---->a
  </pre>
  <blockquote type="cite">
    <pre wrap="">local recipient,
                        it's scanned, but it sits in
    </pre>
  </blockquote>
  <pre wrap=""><!---->/var/spool/postfix/incoming
  </pre>
  <blockquote type="cite">
    <pre wrap="">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
    </pre>
  </blockquote>
  <pre wrap=""><!---->restarted
  </pre>
  <blockquote type="cite">
    <pre wrap="">in order to
                        deliver the mail.



                Any chance of a log excerpt? What do you have in
MailScanner.conf
                regarding the delivery options, batch or queue? (You will
    </pre>
  </blockquote>
  <pre wrap=""><!---->find
  </pre>
  <blockquote type="cite">
    <pre wrap="">this
                towards the bottom of the file).

                Drew



    </pre>
  </blockquote>
  <pre wrap=""><!---->


**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.        

**********************************************************************

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