Results 1 to 2 of 2

Thread: Procmail and Spamassassin

  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    29

    Default Procmail and Spamassassin

    I have Spamassassin running on one of my personal mail servers (without cPanel) and I have set my .procmailrc script to send anything with a spam score of 16 or above to /dev/null:

    :0:
    * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
    /dev/null

    I heard somewhere here that spamassasin runs after procmail on cPanel, so does anyone know how I can do the above or similar in my cPanel account? I am not the system admin for the cPanel server, I just have a hosting account.

  2. #2
    Member
    Join Date
    Oct 2003
    Posts
    29

    Default

    OK, so I managed to solve my own problem again.

    If anyone else is interested, here's how to ditch all spam emails with a Spamassassin score of 16 or more:

    1) In the mail section of cPanel, click on 'Email filtering'
    2) Select 'Add Filter' and create a filter using 'Any header' & 'Contains' with the below as the search string:

    X-Spam-Level: ****************

    and leave destination as 'Discard'.

    Hey presto! All the rubbish that is definitely spam won't bother you anymore, and you can still check the emails that only just make it into spam bounderies.

Similar Threads

  1. Filtering with procmail
    By GeorgeCO in forum E-mail Discussions
    Replies: 1
    Last Post: 03-08-2010, 10:28 PM
  2. Using Procmail
    By burachat in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-07-2004, 09:46 PM
  3. Procmail
    By buccaneerob in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 04-30-2003, 06:32 PM
  4. procmail problem
    By MikeF12 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 01-23-2003, 01:06 PM
  5. Procmail
    By blueshift in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-21-2002, 07:00 PM