Alias Domain Name Space conflicting with dynamic search base in postfix config

Toke Høiland-Jørgensen toke at toke.dk
Wed Dec 4 12:18:03 CET 2013


Timotheus Pokorra <timotheus at kolab.org> writes:

> But now the email to test at my-example.org is not delivered anymore, and the error
> is:
> status=bounced (unknown user: "test")
> I guess the domain my-example.org is searched, and not myexample.org which would
> have an alias for test at my-example.org
>
> Is there an easy fix for this?

I just put this into /etc/postfix/virtual for a similar setup:

@myexample.org @my-example.org

(Don't forget to `postmap` the file, and make sure it is referred in
/etc/postfix/main.cf).

That makes postfix alias everything @myexample.org that is not found in
other ways (e.g. by an explicit alias for test at myexample.org) to the
same user-part for @my-example.org.

I haven't found a way to do this in ldap-only, though.

-Toke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/users/attachments/20131204/a62b7eeb/attachment.sig>


More information about the users mailing list