[Exim] Filtering

Pàgina inicial
Delete this message
Reply to this message
Autor: Scott Stavretis
Data:  
A: Exim
Assumptes vells: Re: [Exim] I LOVE YOU - Virus-Filter?
Assumpte: [Exim] Filtering
Hello,

Im currently running a filter file that has
if $header_from contains "whateverthespammeris@???" then
fail text "INVALID ADDRESS"
endif

if $header_from contains "whateverthespammeris@???" then
fail text "INVALID ADDRESS"
endif

etc etc etc for people I don't want to receive mail from
How can I run this so that I can jsut put one enty in my main filter file
that points to another file that just has the addresses in it?

eg. /etc/filter contains
if $header_from contains "**SOMEHOW POINT TO /etc/filter.addresses **" then
fail text "INVALID ADDRESS"
endif

and /etc/filter.addresses contains a list of e-mail addresses

Could someone please tell me how I might do this?

Thanks in advance

Regards
Scott Stavretis