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

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 alia

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

rejection of backup MX mail

2022-05-14 Thread Jon LaBadie
Not sure how to ask this but ... My DNS provider also acts as my backup MX provider. A lot of mail that would be rejected by the primary mail server is accepted by the backup provider and gets through the primary server because the real source is not checked. Is there a way to inspect mail rece

Re: rejection of backup MX mail

2022-05-14 Thread Matus UHLAR - fantomas
On 14.05.22 12:53, Jon LaBadie wrote: My DNS provider also acts as my backup MX provider. A lot of mail that would be rejected by the primary mail server is accepted by the backup provider and gets through the primary server because the real source is not checked. this is a common flaw with ba

Re: reject_*sender_login_mismatch and "no SASL support"

2022-05-14 Thread Matus UHLAR - fantomas
Hello, Matus UHLAR - fantomas: note that this is mentioned in reject_sender_login_mismatch: MAIL FROM address," reject_sender_login_mismatch Reject the request when $smtpd_sender_login_maps specifies an owner for the MAIL FROM address, but the client is

Re: reject_*sender_login_mismatch and "no SASL support"

2022-05-14 Thread Matus UHLAR - fantomas
On 2022-05-05 19:41, Matus UHLAR - fantomas wrote: non-existing and unknown addresses can hardly be listed in smtpd_sender_login_maps so I can't exactly see how they are protected. (and RTFS didn't help me) On 05.05.22 20:18, Benny Pedersen wrote: envelope senders can be rejected on port 25 i

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 way

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. Cha