The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'E-mail Discussions' started by steveluscher, Mar 27, 2006.

  1. steveluscher

    steveluscher Member

    Joined:
    Feb 11, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    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 <user@parkeddomain.com> 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...
     
Loading...

Share This Page