Le 23/05/2011 19:01, Des Dougan a écrit :
> 
> On May 2011, at 4:24 AM, Jerry wrote:
> 
>> On Sun, 22 May 2011 19:50:33 -0700
>> Des Dougan <d...@douganconsulting.com> articulated:
>>
>>> Thanks, Sahil. What's the best way of doing that?
>>
>> Please don't top post.
>>
>> You might want to start here:
>> <http://www.postfix.com/VIRTUAL_README.html>. That should supply you
>> with enough basic knowledge to get started.
>>
>> -- 
>> Jerry ✌
>> postfix-u...@seibercom.net
>> _____________________________________________________________________
>> TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
>> TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html
> 
> Apologies - it's been a while since I regularly posted to mailing lists. 
> 
> And I see I wasn't very clear with my question. I have already configured the 
> environment for the virtual domains and configured postfixadmin to manage 
> them - the area I was unclear on was based on the lack of clarity in several 
> of the How-Tos I researched. They seem to assume all domains would be 
> virtual, rather than the main domain already being in existence. I was 
> concerned about how main.cf would look with both environments active.
> 

these aren't two environments. postfix can handle different classes of
domains:

- "local" domains:
 *) the list of these domains is defined in mydestination
 *) the list of valid addresses is local_recipient_maps

- "virtual mailbox" domains: this is what you added
 *) the list of these domains is defined in virtual_mailbox_domains
 *) the list of valid addresses is in virtual_mailbox_maps (the right
hand side specified the mailbox location if delivery is performed by
postfix. it can be anything if delivery is handled by an external
delivery agent such dovecot LDA or maildrop)

- "relay domains"
 *) the list is in relay_domains
 *) the list of valid addresses is in relay_recipient_maps

- "virtual alias" domains
 *) the list is in virtual_alias_domains
 *) as for valid addresses, this class is somewhat different. all valid
addresses must be aliases in virtual_alias_maps so that after
(recursive) expansion the result is in another class (or is in an
external domain, one not listed in any of the cited classes). note that
virtual_alias_maps apply to any address (not only to adresses in
virtual_alias_domains)

For more infos, read:
        http://www.postfix.org/ADDRESS_CLASS_README.html



> I've subsequently tested the configuration and it appears to be working 
> correctly - I can send and receive on the original domain and the virtual 
> domain is also doing what I expect.
> 
> 

Reply via email to