I've been fighting with it for a long time but still can't get the desirable:
- forward all local mail sent to valid unix users (+postmaster and
abuse redirects of course) to specific email address.

I.e. forward all mail sent to:
[any-valid-unix-name-from-etc-pass...@[any-ip-address-of-the-host]
[valid-us...@[any-hostname-of-the-server]
just [valid-user] without domain part

In other words any address which local service would accept.

I've tried luser_relay but it local service still desperately wants to
deliver to local unix mailbox first.
I've tried "mailbox_transport = virtual" and "localredir_alias_maps =
static:redirect-h...@example.org" but then virtual service failed to
deliver to "redirect-h...@example.org" with "User unknown in virtual
alias table".

Is it possible to setup catch-all for local mail without specifing
each valid local user and/or each valid IP/hostname of the mail
server?

Thanks!

Dimitri.

Reply via email to