I received some spams per day from xyz or someone random @mydomain.com! e.g. I got a valid user email@example.com
but this account will receive email from firstname.lastname@example.org
but which william is not a valid account in ispconfig.
I also tried to telnet mail.abc.com. Whatever I entered "mail from: email@example.com
" if the recipient is the valid one, postfix will pass it.
I know that it's really hard to check the sender mail address valid, but is there any solution to restrict the sender if it's the same domain as in database?
in main.cf, add something in smtpd_sender_restrictions or smtpd_recipient_restrictions ?
Before use ispconfig, my main.cf is,