: Block mails from my server to my server that are not in whitelist I have a managed server lets call it myserver.de, where I could generate a list of all valid email addresses. Now a lot
I have a managed server lets call it myserver.de, where I could generate a list of all valid email addresses.
Now a lot of generated spam mails fake the sender address to something enerated like max.mustermann@myserver.de. This address is not valid, so I would like to block all addresses that have a from from myserver.de but are not in the allowed emails
More posts by @Cugini213
1 Comments
Sorted by latest first Latest Oldest Best
You have to set reject_unlisted_sender in smtpd_sender_restrictions.
see: www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender
Or you can use check_sender_access to blacklist mails that are from your server but not in that list.
see: www.linuxlasse.net/linux/howtos/Blacklist_and_Whitelist_with_Postfix
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.