RE: [Exim] System filter: can it go wrong/be ignored?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nigel Metheringham
日付:  
To: exim-users
CC: Nic Doye
題目: RE: [Exim] System filter: can it go wrong/be ignored?
On Thu, 2003-07-10 at 15:53, Philip Hazel wrote:
> On Thu, 10 Jul 2003, Nic Doye wrote:
>
> > Failing to filter:
> >
> > 2003-07-09 14:45:57 19aFGf-0006h6-00 <= mailing@???
> > H=orion.uk.insnet.net (relay.mail.insnet.cw.net) [194.177.170.11]
> > P=esmtp S=3379 id=E19ZXko-0006gU-00@???
> > 2003-07-09 14:46:06 19aFGf-0006h6-00 ** helen@???
> > <mail-list@???>: Unrouteable address
> > [.....]
>
> There is no information there as to what was in the header lines of that
> message. Your filter operates on the "To:" header line, doesn't it?
> Suppose that message didn't contain a To: header line?


Additionally as posted to the list the filter file used the syntax:-
if $h_to is "mail-list@???"

If the sender had a to: line like:-
To: "Example Mailing List" <mail-list@???>

then you lose. if you had used "contains" rather than "is" you would do
better, but might still be fooled by other variants. It gets even worse
if the target mailing lists have multiple domain names that can be used
- ie both <mail-list@???> & <mail-list@???>
and even <mail-list@???> all work OK - this latter
one can hit the particular form of ACL I posted earlier too.

    Nigel.


--
[ Nigel Metheringham           Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]