Hello,
I know that this may have been asked a few times, but I need some help:
I manage a server for the domain abc.org. The mx points to my server and
it is configured to:
- lookup virtual mailboxes and virtual aliases from LDAP
- send mails to dovecot
It works, but I'd like to handle recip
If I get it, the virtual alias change to another domain then the
smtp_generic_maps change back to the original domain ? It works fine.
I played with it and I'd like something generic because we don't have
knowledge of all remaining adresses on the old mail.
I can set the smtp_generic like thi
Thank you it works fine !
Here is what I did (I'd like your confirmation on the first that I do
not make a mistake):
- added the virtual_mailbox_maps LDAP config to virtual_alias_maps as
well (thus generating $u...@abc.com -> $u...@abc.com alias, letting the
rule match)
- let only @abc.com
What I did is this:
virtual_mailbox_maps = ldap:/etc/postfix/ldap/virtual_mailbox.cf < gets
the recipient from mail property
virtual_alias_maps = ldap:/etc/postfix/ldap/virtual_alias.cf,
< < gets the recipient from mailalias property
ldap:/etc/postfix/ldap/virtual_mailbox.cf, < gets t