Re: smtp_sender_restrictions

2020-09-18 Thread Wietse Venema
authenticated senders can send "mail from" from > whatever they please if i do not place any restrictions. Thus i decided > to use: > smtp_sender_restrictions = reject_sender_login_mismatch > > It limits "mail from" as expected, but the problem is that

Re: smtp_sender_restrictions

2020-09-18 Thread Viktor Dukhovni
On Fri, Sep 18, 2020 at 07:01:26PM +0300, Janis wrote: > What I would like to achieve is to permit sender to set "mail from" the > same value as his SASL auth username or some specially allowed "alias > e-mail" addresses that are defined somewhere. For example, if user1 is > allowed to respond

smtp_sender_restrictions

2020-09-18 Thread Janis
se if i do not place any restrictions. Thus i decided to use: smtp_sender_restrictions = reject_sender_login_mismatch It limits "mail from" as expected, but the problem is that i must "duplicate" kind of what i already have in Dovecot user database in $smtpd_sender_login_m