[PLUG] a small issue with mailscanner custom rules

Agnello George agnello.dsouza at gmail.com
Sat Dec 6 17:40:50 IST 2008


On Sat, Dec 6, 2008 at 2:24 PM, Agnello George <agnello.dsouza at gmail.com>wrote:

> In my /etc/MailScanner/rules/custom.scanners.rules file is need to add a
> rule so that mails  coming from "<>" is not scanned by  Mailscanner ...
>
> the message logs is as bellow
>
> Dec 6 14:09:37 nstest postfix/cleanup[5464]: 6BFC815D393: hold: header
> Received: from net.com (localhost [127.0.0.1])??by
> location.exampledomain.com (Postfix) with ESMTP id 6BFC815D393??for <
> agnello.dsouza at net.com>; Sat, 6 Dec 2008 14:09:37 +0530 (IST) from
> localhost[127.0.0.1]; from=<> to=<agnello.dsouza at net.com> proto=ESMTP
> helo=<net.com <http://netcore.co.in>>
>
> in my /etc/MailScanner/rules/custom.scanners.rules file i ahve aded the
> following
>
> FromorTo: default yess
>
> From: <> no
>
> But  mails comming from ( from=<> ) is stail getting scanned .... is there
> a solution to this
>
> Thansk a million
>
> -
>
i was able to sole my query by adin the following the  regula exp
From: /^$/ no

:-)
-- 
Regards
Agnello D'souza



More information about the Plug-mail mailing list