Azurel
Silver Pleskian
- Server operating system version
- AlmaLinux 8.10
- Plesk version and microupdate number
- Plesk Obsidian 18.0.73#3
Hello,
I receive spoofed emails claiming to be from addresses on my own domain from external unknown IPs.
SPF, DKIM, and DMARC are configured correctly.
My goals:
Currently smtpd_sender_restrictions in /etc/postfix/main.cf is this:
I'm considering to change this to:
Are these additions useful, and where should I place them? /etc/postfix/main.cf may be overwritten during updates, which would make my changes lost.
Thanks for advice!
I receive spoofed emails claiming to be from addresses on my own domain from external unknown IPs.
SPF, DKIM, and DMARC are configured correctly.
My goals:
- Only block emails spoofing for my own domains from external sources
- Allow local PHP mail() and Plesk processes
Currently smtpd_sender_restrictions in /etc/postfix/main.cf is this:
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
I'm considering to change this to:
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated, permit_mynetworks, reject_authenticated_sender_login_mismatch, reject_sender_login_mismatch, reject_unauth_destination
Are these additions useful, and where should I place them? /etc/postfix/main.cf may be overwritten during updates, which would make my changes lost.
Thanks for advice!