iandouglas736
Verified User
- Joined
- Nov 12, 2007
- Messages
- 8
I have dozens of rules from an alternate hosting provider for a site that I'm transferring to my new dedicated box, and the file says it's full of exim filters, so I'm ust curious where I'd place this for my virtual domain for exim to pick up on the rules and act accordingly.
Snippet:
I'm just not sure where I'd place that file for DA/Exim to use it for a virtual domain. Having a DA interface to manage this would be nice too, if anyone knows of any that already exist?
[EDIT]
So after poking around, it looks like I'd append these rules to /etc/virtual/mydomain.com/filters but I'm worried that modifying the list of rules within DA will erase what I manually append. I'd appreciate any thoughts on the matter.
Thanks,
Ian
Snippet:
# Exim filter
if not first_delivery and error_message then finish endif
if
$h_X-Spam-Status: matches "Yes, score=([1-9][0-9]).([0-9])"
or $header_to: contains "bitbucket"
or $header_to: matches "([a-zA-Z0-9]{4}).([0-9]{3})@mydomain.com"
then
save "/dev/null" 660
endif
if not first_delivery and error_message then finish endif
if
$h_X-Spam-Status: matches "Yes, score=([1-9][0-9]).([0-9])"
or $header_to: contains "bitbucket"
or $header_to: matches "([a-zA-Z0-9]{4}).([0-9]{3})@mydomain.com"
then
save "/dev/null" 660
endif
I'm just not sure where I'd place that file for DA/Exim to use it for a virtual domain. Having a DA interface to manage this would be nice too, if anyone knows of any that already exist?
[EDIT]
So after poking around, it looks like I'd append these rules to /etc/virtual/mydomain.com/filters but I'm worried that modifying the list of rules within DA will erase what I manually append. I'd appreciate any thoughts on the matter.
Thanks,
Ian
Last edited: