MailScanner Customization with Postfix

Matt Hayes dominian at slackadelic.com
Thu May 22 13:41:27 IST 2008


Vishal Yadav wrote:
> Thanks for the reply!
> 
> I have cross checked both the files, entries are corrected as written in mentioned link.
> 
> What to do in this case???
> 
> Thanks & Regards,
> Vishal Yadav
> 
> 
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Gareth
> Sent: Thursday, May 22, 2008 5:19 PM
> To: MailScanner discussion
> Subject: Re: MailScanner Customization with Postfix
> 
> It looks like postfix isnt putting the mail in the hold queue.
> 
> See http://www.mailscanner.info/postfix.html and in particular steps 5
> and 6.
> 
> On Thu, 2008-05-22 at 12:34, Vishal Yadav wrote:
>> Hello!
>>
>>  
>>
>> I have been trying to get in touch for last couple of days in Mail
>> Scanner customization but unfortunately  no one is giving me the
>> satisfactory answer, I’m writing this Mail on behalf of Mail Scanner
>> issues.
>>
>>  
>>
>> Issues are looks to me complicated but I know you can resolve them as
>> I have seen your replies on Mail Scanner discussion.
>>
>>  
>>
>> Here are the log which I got from the Mail Server log. Please find
>> them….
>>
>>  
>>
>> The Below logs are from the Testing Mail Server. Server is not live.
>>
>> If I use the Server to send the mail via MUTT.
>>
>> May 21 10:29:10 kni postfix/pickup[3475]: 2752739C054: uid=0
>> from=<root>
>>
>> May 21 10:29:10 kni postfix/cleanup[4932]: 2752739C054: hold: header
>> Received: by kni.in (Postfix, from userid 0)??id 2752739C054; Wed, 21
>> May 2008 10:29:10 +0530 (IST) from local; from=<root at kni.in>
>> to=<dean at kni.in>
>>
>> May 21 10:29:10 kni postfix/cleanup[4932]: 2752739C054:
>> message-id=<20080521045910.GA4935 at kni.in>
>>
>> May 21 10:29:11 kni MailScanner[4872]: New Batch: Scanning 1 messages,
>> 508 bytes
>>
>> May 21 10:29:11 kni MailScanner[4872]: Virus and Content Scanning:
>> Starting
>>
>> May 21 10:29:15 kni MailScanner[4872]: Requeue: 2752739C054.2A1B2 to
>> 786AB39C058
>>
>> May 21 10:29:15 kni MailScanner[4872]: Uninfected: Delivered 1
>> messages
>>
>> May 21 10:29:15 kni postfix/qmgr[3476]: 786AB39C058:
>> from=<root at kni.in>, size=710, nrcpt=1 (queue active)
>>
>> May 21 10:29:15 kni postfix/local[4934]: 786AB39C058:
>> to=<dean at kni.in>, relay=local, delay=5, status=sent (delivered to
>> mailbox)
>>
>> May 21 10:29:15 kni postfix/qmgr[3476]: 786AB39C058: removed
>>
>>  
>>
>> If I use the Outlook to send the Mail to local user.
>>
>>  
>>
>> May 21 10:28:02 kni postfix/smtpd[4929]: connect from
>> unknown[192.168.0.140]
>>
>> May 21 10:28:02 kni postfix/smtpd[4929]: 3C52839C053:
>> client=unknown[192.168.0.140]
>>
>> May 21 10:28:02 kni postfix/cleanup[4932]: 3C52839C053:
>> message-id=<!&!AAAAAAAAAAAYAAAAAAAAAPdFmQcR3sVHlK4m/EoulYPCgAAAEAAAAM9iBRdUm79Kv9ZZbWVWQIkBAAAAAA==@kni.in>
>>
>> May 21 10:28:02 kni postfix/qmgr[3476]: 3C52839C053:
>> from=<dean at kni.in>, size=4977, nrcpt=2 (queue active)
>>
>> May 21 10:28:02 kni postfix/local[4934]: 3C52839C053:
>> to=<root at kni.in>, relay=local, delay=0, status=sent (delivered to
>> mailbox)
>>
>> May 21 10:28:02 kni postfix/local[4933]: 3C52839C053: to=<oll at kni.in>,
>> relay=local, delay=0, status=sent (delivered to mailbox)
>>
>> May 21 10:28:02 kni postfix/qmgr[3476]: 3C52839C053: removed
>>
>> May 21 10:28:05 kni postfix/smtpd[4929]: disconnect from
>> unknown[192.168.0.140]
>>
>>  
>>
>>  
>>
>> I would need your technical skills to resolve this as my outlook users
>> when they send mail either locally/remotely the Mail scanner didn’t
>> invoke.
>>
>>  
>>
>>  
>>


You made the changes in header_checks to put the messages in the HOLD queue?


/^Received:/ HOLD     to be specific.

-Matt


More information about the MailScanner mailing list