Stephen Rodgers a écrit : > [snip] > All of the above now makes sense. In fact, If I add the ohnosec.org > domain to $mydesination, and specify $myorigin as ohonsec.org, mailman > works as intended. > > I have one final question with regard to the append of $myorigin to a > virtual mapping result. The on-line documentation states that > append_my_origin defaults to yes, and that it should not be turned off. > In my case, I want to avoid specifying $myorigin and leave it as the > default. as I want to handle the additional domains in a virtual manner. > > The question is, how does one override this behavior so that rewrite > stays within the original domain while leaving the default setting for > $myorigin in place? >
it is recommended to use full addresses: do not omit the domain part. addresses without a domain should only be used for "local" users (for example, in $alias_maps). BTW, remove the domain from virtual_alias_domains. or more precisely, do not list one domain in multiple classes. and in addition, do not use virtual_alias_domains unless you know exactly what that means. many people confuse this with virtual_mailbox_domains... etc.