Rejected by SPF: block instead of reject

q16marvin

Renowned Member
Jul 16, 2013
50
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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!