Hi there,
I have read some docs about virtual mailboxes and address rewrite but I
could not find a solution for my problem:
I want to have a file
/etc/postfix/virtual
containing something like
p...@stefan-bertels.de stefan
anotheraddr...@yahoo.de anotheruser
thirdaddr...@gmail.com stefan
Postfix should use the above lookup table to replace the recipient
(replace first column value by seconds column value). If the address is
not found in this file then normal delivery should occur (means: deliver
only local addresses locally, deliver anything else via SMTP to some
smarthost).
Currently mail to those users is sent via SMTP/smarthost to my provider,
he delivers the mail to my internet mailboxes (POP/IMAP) where I can
fetchmail those messages down to my machine again. I want to have a fast
and local-only delivery.
The machine has a *.local domain name and is running Debian.
Best regards
Stefan