[SOLVED] Delete certain mails directly

nerdsclub

Member
Nov 3, 2021
6
0
6
Hello,

I am in the process of setting up a Proxmox Mail Gateway and would like to ask if it is possible to create a rule to directly delete mails from specific senders without moving them to quarantine.

I have only found the "reject" option. The problem is that in my setup I have another anti-malware solution installed before the Proxmox gateway, which accepts the mails and then keeps trying to deliver them to Proxmox. I know that this is not an ideal setup and that it would be better to reject the mails directly at the first gateway, but maybe there is a way for Proxmox to accept the mails and just discard them?

Best regards


NerdsClub IT Service
 
Last edited by a moderator:
but maybe there is a way for Proxmox to accept the mails and just discard them?
add the sender to the blacklist - who object - in the default rule-set this should cause the mail to be 'BLOCKED'
BLOCKED means that PMG responds with a 5xx error code if before-queue filtering is enabled - and that it just gets dropped if before-queue filtering is disabled

I hope this helps!
 
  • Like
Reactions: nerdsclub
add the sender to the blacklist - who object - in the default rule-set this should cause the mail to be 'BLOCKED'
BLOCKED means that PMG responds with a 5xx error code if before-queue filtering is enabled - and that it just gets dropped if before-queue filtering is disabled

I hope this helps!
Hello,

thank you. That's exactly what I was looking for. I thought "Block" just rejects the mails with a 5xx error code and didn't know about the before-queue filtering thing.