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
- alias_database
Both are for mapping local names without a domain part (mydestination) to a
real email address e.g. 
abuse: root
root: mslucas-AT-taos-it.nl


- virtual_alias_domains
- virtual_alias_maps
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
So every email to $u...@domain1.nl will be send to $u...@domain2.nl And
i...@domain1.nl sa...@domain2.nl


- virtual_mailbox_domains
- virtual_mailbox_maps
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.





main.cf
----
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localhost
home_mailbox = Maildir/
virtual_alias_domains = domain1.nl, domain2.nl virtual_alias_maps =
hash:/etc/postfix/virtual virtual_mailbox_domains = /etc/postfix/vhosts
virtual_mailbox_base = /home/vmail virtual_mailbox_maps =
hash:/etc/postfix/vmaps virtual_minimum_uid = 1000




With kind regards,
 
Maurice Lucas
 
TAOS-IT
............................
Paulus Buijsstraat 191
2613 HR  Delft
www.taos-it.nl
KvK Haaglanden nr. 27254410
 
P  Denk aan het milieu; is het afdrukken van deze e-mail echt noodzakelijk?



Reply via email to