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

Góra strony
Delete this message
Reply to this message
Autor: Marc Sherman
Data:  
Dla: exim-users
Temat: Re: [exim] Using wildcards (*@example.com)
Fluffles wrote:
>
> ** testing@<mydomain>.net: Unrouteable address


http://www.exim.org/eximwiki/MailingListEtiquette#head-a6f7fb5ce8816568569a321f783315207ec38063

> Thus, i would like a wildcard account, which would handle all emails for
> the domain not handled by other accounts. So for example info@ and
> jason@ will have their mailboxes, and mail sent to other addresses will
> be handled by the wildcard account.


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.

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. If you want to configure that in mysql, then you can
either have this new router lookup the "*@domain.tld" part explicitly,
or just put the catchall accounts in a seperate table and look them up
there.

- Marc