Problem with New Install

Martin Hepworth martinh at solid-state-logic.com
Thu Jun 15 17:48:28 IST 2006


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

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] 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=<20060615161954.AEF8D1C48043 at mail.traffikedit.com>
> <mailto:20060615161954.AEF8D1C48043 at mail.traffikedit.com>
> Jun 15 11:20:09 mail postfix/qmgr[2725]: AEF8D1C48043:
> from=<ian at topix.com> <mailto:ian at topix.com> , size=416, nrcpt=1 (queue
> active)
> Jun 15 11:20:09 mail postfix/qmgr[2725]: AEF8D1C48043:
> to=<test at traffikedit.com> <mailto:test at traffikedit.com> , orig_to=<test>,
> 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=<ian at topix.com> <mailto:ian at topix.com> , size=801, nrcpt=1 (queue
> active)
> Jun 15 11:28:14 mail postfix/local[3027]: 6CD701C48049:
> to=<test at traffikedit.com> <mailto:test at traffikedit.com> , orig_to=<test>,
> 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
of
> 			Mailscanner/Postfix/ClamAV/Spamassassin on a Fedora
4
> machine.
> 
> 			The server setup was taken from:
> 
> 	http://www.linuxhelp.ca/forums/index.php?act=ST&f=3&t=3647
> 
> 			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.
> 
> 
> 
> 		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
> 
> 
> 



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

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.	

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



More information about the MailScanner mailing list