Parked Domain Mail Not Being Filtered By EXIM (Spamassassin [SPAM] Tag Ignored)

steveluscher

Member
Feb 11, 2006
14
0
151
Hello everyone!

Here is my setup... I have a parked domain on maindomain.com. Let's call it parkeddomain.com.

Mail to maindomain.com is getting tagged by Spamassassin (with [SPAM] in the subject header) and then my EXIM filter kicks in and deletes that email immediately. Great!

Mail to parkeddomain.com gets tagged properly, but never gets deleted by the filter.

How can I set up the EXIM filter to act on mail from parkeddomain.com as well as mail from maindomain.com?

Additional Information:
-----
In the EXIM log we find this:
Code:
2006-03-27 02:21:18 1FNoqb-0001dr-GZ => user <[email protected]> R=virtual_user T=virtual_userdelivery
I imagine that 'virtual_userdelivery' is handled differently than regular-old delivery.

/etc/vfilters/parkeddomain.com looks like this:
Code:
# Exim filter

if error_message then finish endif

if
 $header_subject: contains "[SPAM]"
then
 save "/dev/null" 660
endif
~/.filter looks like this:
Code:
$header_subject: contains "[SPAM]"+++++++/dev/null
Thanks!
Steve...