Re: [Exim] how to block big@boss.com

Pàgina inicial
Delete this message
Reply to this message
Autor: William Thompson
Data:  
A: Thomas Baumann
CC: exim-users@exim.org
Assumpte: Re: [Exim] how to block big@boss.com
> I got lots of emails which were sorted out containing a virus
>
> sent by big@???.
>
> I have a director for users which are not located at me.
>
> failed_user:
> driver = smartuser
> new_address = "${lookup{$local_part} \
> lsearch{/etc/exim/maps/fail_user}{:fail:\"unknown recipient\"}{$local_part}}"
>
> how can I block unknown senders, too ?
>
> Thanks for any help appreciated.


I'm assuming you're using exim 3.x (consider upgrading to 4.14). If you are,
you can put these on sender_reject_recipients = big@???

or you can put senders in a file:
sender_reject_recipients = @@lsearch*;somefile

in some file (with @@lsearch*)
boss.com    big


If you use lsearch without the leading @@, put the senders as is in the
file.