[pfx] Re: Fallback server for a migration

2023-06-09 Thread Jérôme BECOT via Postfix-users
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

[pfx] Re: Fallback server for a migration

2023-06-09 Thread Wietse Venema via Postfix-users
Jerome BECOT via Postfix-users: > 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,

[pfx] Re: Fallback server for a migration

2023-06-09 Thread Jérôme BECOT via Postfix-users
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

[pfx] Re: Fallback server for a migration

2023-06-08 Thread Wietse Venema via Postfix-users
J?r?me BECOT via Postfix-users: > 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

[pfx] Re: Fallback server for a migration

2023-06-08 Thread Jérôme BECOT via Postfix-users
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

[pfx] Re: Fallback server for a migration

2023-06-07 Thread Wietse Venema via Postfix-users
J?r?me BECOT via Postfix-users: > 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