Re: [Exim] Help filtering out From:<>

Page principale
Supprimer ce message
Répondre à ce message
Auteur: John Dalbec
Date:  
À: exim-users
Sujet: Re: [Exim] Help filtering out From:<>
<x-flowed>
I wouldn't try to do this in the system filter.
You probably want to use a manualroute router with
condition=${if eq{$sender_address}{}{1}{0}}
Please be aware that you cannot discard messages based only on an empty
sender address. You need to have some way of separating legitimate
bounces (which must have an empty sender) from viruses and spam.
HTH,
John

usermail1 wrote:

> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Hello all,
>
> I am new to Exim and am very impressed with the flexibility of it. My network runs Sendmail server but I have set up an Exim server as a gateway in order to run anti-spam/anti-virus stuff before it hits the internal servers. We get an EXTREME amount of "Mail From: <>". Probably about 2000+ an hour. These are killing the anti-spam software. Here is what I would like to do. I would like to tell Exim that if it sees "Mail From: <>", to just pass it on to the next hop and not bother with scanning it.
>
> Here is what I found I need to do so far:
>
> #   Exim filter   <<== do not edit or remove this line!
> if
>     $h_from: contains <>
> then
>    ??????????????????? (Can I put a router here?)
> endif

>
> Your input is appreciated.
>
> Thank you in advanced,
>
> Brian
> --
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>
>



</x-flowed>