Hi list,

My Postfix 3.2.4 server is not a MX for domainB.
domainB is not in virtual_mailbox_domains.

it is a MX for domainA which is in virtual_mailbox_domains.

I have in my ldap some users with:
mailAlternateAddress=user@domainB

my virtual_alias_maps ldap query filter is:
(|(mail=%s)(mailAlternateAddress=%s))
And the result attribut is "mail" (always in @domainA).

The problem is that if I send email to user@domainB from mynetworks or
being sasl_authenticated the email is locally delivered (in the log:
to=user@domainA , orig_to=user@domainB).

I've tried to add in transport:
domainB               relay:mx.domainB

But it's not working :(

postconf -n: https://pastebin.com/NJ1TuzhP


Thanks for any help,
kfx

Reply via email to