Re: [exim] Removing a wildcard address

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike White
Data:  
A: Ben Giddings
CC: exim-users
Assumpte: Re: [exim] Removing a wildcard address
Ben Giddings wrote:

> Hi all,
>
> I have Exim set up with a wildcard address scheme (if you look at my
> email address you can probably guess what it is). I'm doing it using:
>
> data = ${lookup{$local_part}wildlsearch{/etc/aliases}}
>
> Now, one of the addresses I use has started being nothing but spam, so
> I want any email sent to that email address to be bounced. I think I
> could figure out how to do this by modifying the exim config file, but
> is there a way to do it by modifying /etc/aliases?
>
> Do other people use this same technique, and have good tips on
> managing addresses?
>
> Thanks,
>
> Ben
>

Personally I just alias any unwanted address to /dev/null eg

spamtrap: /dev/null