Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Quick question (joe-job?)

Discussion in 'General Discussion' started by Wallaby, May 5, 2008.

  1. Wallaby

    Wallaby Well-Known Member

    Aug 15, 2001
    Likes Received:
    Trophy Points:
    I'm sure this is an easy one.

    One of our domains, call it, receives a lot of spam sent from a falsified address, eg, and Spam Assassin seems to classify all such mail as "non-spam" regardless -- the spam score is a big negative number.

    What I want to know is if there is a simple way to tell Exim: "If mail for has a sender address but the orginating server is not *this* server, throw it away".

    I'd rather not go down the route of using SPF for this.
  2. mctDarren

    mctDarren Well-Known Member

    Jan 6, 2004
    Likes Received:
    Trophy Points:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Have a look into the exim filter file (located at /etc/antivirus.exim). You can write up a quick rule there and change the Exim configuration to point to that instead of /etc/antivirus.empty.
  3. kemis

    kemis Well-Known Member

    Feb 17, 2005
    Likes Received:
    Trophy Points:
    Georgetown, TX
    Be sure to read my "update" at the end of this post!

    MailScanner has a feature called "watermarking" that does exactly what you're wanting.

    When reading about its features, you'd think that it's a Godsend. Enable the setting, and suddenly all those joe-job e-mails are marked as spam (you can even tell MailScanner to discard them completely).

    PROBLEM (the catch): You cannot currently set this "per domain", and you'll find that other users will begin complaining that certain legit e-mails (like out of office replies) are marked as spam, too.

    In the end, I've had to disable watermarking & just tell my unlucky joe-job recipients to wait it out.

    If there were a way in MailScanner to enable watermarking, but only enforce certain rules on certain domains, I'd be all in as this being the solution. Like I said, though, it's currently an all or nothing setting.


    UPDATE: I was wrong! You CAN specify a ruleset for several different watermarking settings. Therefore, you can enable or disable watermarking behavior per domain. Sorry for any confusion - Go get MailScanner from ConfigServer!
    #3 kemis, May 10, 2008
    Last edited: May 10, 2008

Share This Page