Re: [exim] Using wildcards (*@example.com)

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: Re: [exim] Using wildcards (*@example.com)
Marc Sherman wrote:
> Generally speaking, a catch-all account is a very bad idea; it will
> attract a huge amount of spam sent to random local parts that would
> otherwise be quickly rejected at RCPT time.


Agreed. Consider implementing aliases for accounts rather
than a catchall.

> However, if you really want to do it, what you'll have to do is create a
> new router, after your regular user account router, that routes to the
> catchall account.


Alternatively, have your DB lookups going via functions which, on
a no-such-user return from a specific-account check, go on to
look for a catchall account for that domain and return its data
instead.

- Jeremy