On 2012-03-19 Luca Pacor wrote:
>> On Sun, Mar 04, 2012 at 11:58:26AM +0000, Luca Pacor wrote:
>>> Now postfix delivers everything @ that.domain to their mailer, also
>>> for the user I manage locally:
>>>
>>> Mar 4 12:24:07 server6 postfix/trivial-rewrite[7155]: warning:
>>> do not list domain that.domain in BOTH mydestination and
>>> virtual_alias_domains
>>
>> That is a plain-language warning which should have told you at least
>> one thing that you have done wrong. Apparently your munged domain
>> name is listed in BOTH mydestination and virtual_alias_domains. Pick
>> one or the other, no more than one address class per domain.
> 
> If that.domain is in mydestination everything @ that.domain is delivered
> locally (wrong), if it's in transport everything will be delivered to
> that.domain, including myuser (wrong)

A domain can be either local or not. It cannot be both at the same time.
Perhaps you could use a virtual alias to send mail for myuser@that.domain
myuser@exchangeserver.local?

Regards
Ansgar Wiechers
-- 
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky

Reply via email to