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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: 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