Rejected by SPF: block instead of reject

q16marvin

Renowned Member
Jul 16, 2013
52
0
71
Hi,

is there a way to "block" a mail when spf failed? i dont want to "inform" spammers :)

example:

Code:
Apr 26 00:27:21 pmg postfix/smtpd[22097]: NOQUEUE: reject: RCPT from unknown[45.128.232.113]: 554 5.7.1 <info@example.com>: Recipient address rejected: Rejected by SPF: 45.128.232.113 is not a designated mailserver for walsh.philip%40natwest.co.uk (context mfrom, on pmg.example); from=<Walsh.philip@natwest.co.uk> to=<info@example.com> proto=ESMTP helo=<natwest.co.uk>

Thx!

Erik
 
is there a way to "block" a mail when spf failed? i dont want to "inform" spammers
not sensibly - the reject here happens during the smtp dialogue - so the mail is never accepted by your system - the sending server needs to deal with this.
 
not sensibly - the reject here happens during the smtp dialogue - so the mail is never accepted by your system - the sending server needs to deal with this.

sorry i dont understand realy... some spammers send spam mails with a not valid spf. pmg reject this mail and so the spammer gots a information that his spam mail was rejected or im wrong?