[Exim] Filtering

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Scott Stavretis
Data:  
Para: Exim
Temas antigos: Re: [Exim] I LOVE YOU - Virus-Filter?
Asunto: [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