Re: add alias without reload

2022-05-14 Thread Viktor Dukhovni
> On 14 May 2022, at 8:20 pm, wilson wrote: > > postfix can know the alias was added even if there is no postfix reload. Unless the change is *urgent*, just make it, and it is noticed automatically, before too long. Changes in databases such LDAP, Postgres and MySQL are noticed right away.

Re: add alias without reload

2022-05-14 Thread raf
On Sat, May 14, 2022 at 06:20:57PM +0800, wilson wrote: > After adding alias to: > > virtual_alias_maps > > and run: > > postmap virtual_alias_maps > > postfix can know the alias was added even if there is no postfix reload. > > How does postfix know the alias was added? > > Thanks The

Re: add alias without reload

2022-05-14 Thread Benny Pedersen
On 2022-05-14 12:20, wilson wrote: How does postfix know the alias was added? depends on maptype, not postmap there is no garenti an alias is even removed or added postconf -n for more detailed help

Re: add alias without reload

2022-05-14 Thread Wietse Venema
wilson: > After adding alias to: > > virtual_alias_maps > > > and run: > > postmap virtual_alias_maps > > > postfix can know the alias was added even if there is no postfix reload. This is expected to work with LMDB, but may or may not work with Berkeley DB. > How does postfix know the

add alias without reload

2022-05-14 Thread wilson
After adding alias to: virtual_alias_maps and run: postmap virtual_alias_maps postfix can know the alias was added even if there is no postfix reload. How does postfix know the alias was added? Thanks