On 07-02-2021 11:13 am, Damian wrote:
reject_sender_login_mismatch can be setup to only allow emails being
sent out where the from, not just the envelope-from, has to match the
users login credentials
Are you sure? The documentation only mentions the MAIL FROM address.
I think im sure. Here is a real case from my mail logs today. Ofcourse
myemail@ was replaced, otherwise everything else is the same.
connect from static-host119-73-117-17.link.net.pk[119.73.117.17]
NOQUEUE: reject: RCPT from
static-host119-73-117-17.link.net.pk[119.73.117.17]: 550 5.7.23
<myem...@ptld.com>: Recipient address rejected: SPF rejected because SPF
fail - not authorized; from=<myem...@ptld.com> to=<myem...@ptld.com>
proto=ESMTP helo=<static-host119-73-117-17.link.net.pk>
lost connection after RCPT from
static-host119-73-117-17.link.net.pk[119.73.117.17]
disconnect from static-host119-73-117-17.link.net.pk[119.73.117.17]
ehlo=1 mail=1 rcpt=0/1 commands=2/3
Am i wrong and the from=<myem...@ptld.com> is actually the envelope from
or is it checking against the from address?