On 4/21/2010 1:06 AM, M.S. Lucas wrote:
Hello,
I'm trying to migrate a qmail server to postfix and have a small question.
At the bottom is a part of my main.cf file
I'm missing what the real difference is between some options.
In my words this is the difference but please correct me if I'm wrong.
- alias_maps
contains the actual user -> user mapping.
- alias_database
defines the databases that will be rebuilt with the
"newaliases" command.
- virtual_alias_domains
Defines the virtual domains, not the users. The domain needs
to be defined here so postfix knows what to do with the
"reject_unauth_destination" restriction.
- virtual_alias_maps
Defines u...@example1 -> us...@example2 mapping. Any user can
be rewritten, the domain need not be defined as a
virtual_alias_domain.
For domains which doesn't really exist on the server. But only store and
forward or translate one domain to another.
@domain1.nl @domain2.nl
This is a wildcard rewrite. Don't use this as it turns your
server into a backscatter source.
- virtual_mailbox_domains
Defines domains used for virtual mailboxes. Postfix needs to
know this for "reject_unauth_destination" and to know which
domains to search virtual_mailbox_maps for.
- virtual_mailbox_maps
Defines u...@example -> mailbox mapping.
For domains which are stored locally for e.g. pop3/imap
Question:
---------
What is the best way to do the following?
u...@domain.nl us...@domain.nl, us...@domain.nl
For a domain which is in virtual_mailbox_domains.
Add that entry to virtual_alias_maps.
Do *not* list domain.nl in virtual_alias_domains.
-- Noel Jones