I am struggling to prevent SPAM generated from my server.
my mail.log reads like this:
<[email protected]> from p57bfa587.dip0.t-
ipconnect.de[87.191.165.135]; from=<[email protected]
o.in> to=<[email protected]> proto=ESMTP helo=<p57bfa587.dip0.t-
ipconnect.de>
mywebsolutions.co.in is my domain. but p57bfa587.dip0.t-
ipconnect.de is not neither [email protected]
Now I want to block any unknown sender. but couldn't find anyway to prevent this.
I have also added in my postfix main.cf
smtpd_reject_unlisted_sender = Yes
Also
smtpd_sender_restrictions = reject_unlisted_sender
Full Block reads like this: smtpd_sender_restrictions = reject_unlisted_sender, check_sender_access regexp:/etc/postfix/tag_as_originating.re , permit_mynetworks, permit_sasl_authenticated, check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf, check_sender_access regexp:/etc/postfix/tag_as_foreign.re smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
What rule I should change or update to prevent SPAM Originating from my server.