Wietse Venema:
> G?bor L?n?rt:
> > implement).  However there is the project now that every mail user can set
> > forward address (or even addresses - it's possible to give more forward
> > addresses) with or without the "local copy" option (which means: original
> > rcpt will receive it too, "without local copy" means that original rcpt will
> > not get the mail, only it's forwarded to the address/addresses specified by
> > the mail forward setting(s)).  Since the "mail store server" does not
> > support this feature (and I can't just replace it) I want to do this on a
> > postfix before it: all incoming/outbound mails are relayed through it
> > anyway, so maybe it's a good place to do it.  Mail users, all parameters etc
> 
> This is easily done with Postfix virtual_alias_maps (NOT:
> virtual_alias_domains).
> 
> If the user wants a local copy:
> 
>     Search string       Lookup result
>     u...@example.com -> u...@example.com, xxx@yyy.example
> 
> If the user wants no local copy:
> 
>     Search string       Lookup result
>     u...@example.com -> xxx@yyy.example, yyy@zzz.example
> 
> In tests with the postmap command, "Search string" is what you give
> to the "postmap -q" option, and "Lookup result" is what you should
> see as postmap command output.

Note: this has no effect when one user on the "mail store server"
can send mail directly (i.e. not through Postfix) to other users
on the same "mail store server".

        Wietse

Reply via email to