Add [External] to the subject line of all email from outside of my domain

chrisjwager

New Member
Oct 2, 2019
3
0
1
33
Hi All,

Can anyone tell me how to add [External] to the subject line of all emails that do not come from my domain.

so if my domain was example.com, then email from other addresses at example.com would not have it

but all other domains would.

Thanks
 
This is probably easiest done via the rule system:
* create a rule with appropriate priority - direction inbound (after all your quarantine/blocking rules)
* create a who object containing your domain(s) and add it to the rule
* add an action 'ACCEPT'
* create a rule with lower priority
* add an action: Modify field (subject - just like the modify spam subject rule)
* add an action 'ACCEPT'

I hope this helps!
 
  • Like
Reactions: zadro

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!