On Tue, May 24, 2011 at 02:03:42PM +0100, Jonathan Gazeley wrote:
> I run a small mail server which receives mail for a few domains.
>
> So far I've been unable to get a catch-all address working. I tried these
> settings:
>
> local_recipient_maps =
> luser_relay = [email protected]
>
> Emails to [email protected] (which does not exist) are rejected with
> 550. I read in the documentation that mailbox_transport with LMTP takes
> precedence over luser_relay, so what then is the best way of achieving
> this?
Implement a catch-all in virtual alias maps, if you must, you'll probably
eventually turn it off, when you're tired of reading all the spam.
# Catch-all mapping, but recall that virtual(5) mapping is recursive!
@example.com [email protected]
# Therefore, required identity mapping for all other valid users
[email protected] [email protected]
...
# Optional, but sensible, identity mapping for the catch-all user.
[email protected] [email protected]
--
Viktor.