On Wed, Jun 30, 2010 at 9:39 AM, David Touzeau <da...@touzeau.eu> wrote:
> Dear
>
> I would like to redirect messages that recipient are not listed in aliases
> to a single mailbox
>
> have set
>
> virtual_alias_maps=hash:/etc/postfix/virtual
>
> use...@domain.tld use...@domain.tld
> use...@domain.tld use...@domain.tld
> use...@domain.tld use...@domain.tld
> @domain.tld noexist...@domain.tld
>
> is there is way to do this ?

Maybe that's not what you want but look into regex map; it's
documented properly.
I use that map in a QC machine which must not send any outgoing emails
to any domains.
(Only local port is open FYI)


>From memory that map looks sthing like

virtual domain map:

/(.*)/ :ACCEPT

virtual mailbox map:

/(.*)/  :mailtrap

Reply via email to