On Thu, Dec 02, 2010 at 05:23:33PM +0100, Jeroen Geilman wrote:

> On 12/02/2010 10:10 AM, michael.h.gr...@googlemail.com wrote:
>> Thanks for the config hint.
>>
>> It works fine if I add an email address like this to generic
>>
>> laserjetscan...@domain.local notificati...@domain.com
>>
>> It does not work if I want to do the following:
>>
>> @domain.com notificati...@domain.com
>>
>> It then appears to rewrite the recipients address as well and not only the 
>> senders address.
>> So the account notificati...@domain.com receives it's own emails.
>>
>> Can I restrict the rule to the sender only?
>>
>
> Use sender_canonical_classes combined with sender_canonical_maps instead.

No.

When rewriting addresses in headers, all addresses, both sender
and recipint should be rewritten, if a domain is invalid in the sender
address, it is also invalid in the To/Cc addresses which are used in
the same way as "From:" in Reply-All.

-- 
        Viktor.

Reply via email to