On 2/9/2010 2:54 PM, Otto Hirr wrote:
Greetings,
Some confusion on my part, my objective:
1) Hosted domain
2) some email addrs to virtual mail boxes
3) some email addrs are aliased to to other email addrs
3) some email addrs to local unix accounts
and all for same domain.
Per pf-2.6.5-VIRTUAL_README Section
"virtual MAILBOX example: sep domains, non-Unix accts"
It shows for "virtual"
postmas...@example.com postmaster
and states, Lines 8, 17, 18... possible to mix virtual
aliases with virtual mailboxes... redirecting mail for
example.com's postmaster address to local postmaster.
Also states:
NEVER list a virtual MAILBOX domain as a mydestination domain
NEVER list a virtual MAILBOX domain as a virtual alias domain
But then it states:
Line 18: This example assumes that in main.cf, $myorigin is
listed under the mydestination parameter setting.
So I'm confused, does not listing $myorigin in mydestination
violate the 1st NEVER statement. It would be helpful if
the example showed $mydomain, $myorigin values.
For this example, the domain used for $myorigin should be
listed in $mydestination, but not in either of virtual_{alias,
mailbox}_domains. Typically one would use something like
"localhost" or "localhost.example.com" for this.
You decide where a domain should be listed based on the
domain's *primary* use, then use overrides, typically listed
in virtual_alias_maps, for addresses that are the exceptions.
Sounds as if you should list your domain in
virtual_mailbox_domains. Then $myorigin and $mydestination
would include localhost.example.com. Local users would be
listed in virtual_alias_maps like so:
localu...@virtual.example localu...@localhost.example.com
-- Noel Jones