Results 1 to 7 of 7
  1. #1

    Question Linux VPS CPanel Spamassassin Problem

    Hi,

    Not sure if this is the most appropriate forum, but hope so

    I've been struggling with this for a couple of days now on my VPS-

    I cannot seem to make spamassassin, rewrite subject lines like:

    Subject: ***SPAM*** blah blah please buy this from us

    Instead, all I get is:
    Subject: blah blah please buy this from us

    Example header from one of my untagged subject spam emails with some of the verbose stuff taken out to same space

    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_004_0484_1E316FD9.215A1D6A"
    X-Spam-Subject: ReplicaWatches Review - Louis Vuitton replica handbags dealer. Buy Rep1icaWatches and FakeWatches here.
    X-Spam-Status: Yes, score=23.6
    X-Spam-Score: 236
    X-Spam-Bar: +++++++++++++++++++++++
    X-Spam-Report: .... , has identified this incoming email as possible spam.
    X-Spam-Flag: YES

    So, spamassassin is identifying spam, and is tagging a score to it, just not rewriting the subject line with ***SPAM***,
    and also the X-Spam-Subject line is not getting prepended with ***SPAM***

    So, off to the cpanel settings:

    ACL Options
    SpamassassIN: Reject maikl at smtp time... : No reject rule by spam score
    Block Dictionary: On
    Blacklist Reject mail sent directly: Off
    Ratelimit incoming smtp: On
    Spamassassin: Ratelimit hosts which... : No ratelimiting by spam score

    Filters
    Spamassassin: Global Subject rewrite: On
    Spamassassin: Bounce mail: No bouncing
    Spamassassin: X-Spam Subject header prefix: ***SPAM*** default

    SpamAssassin Options
    Old Style Spam System: Off
    Spamassassin Enabled for all accounts without option to disable: Off
    Spamassasin maz sizze a message can be... : 200KB

    So, as far as I can see, I should be seeing ***SPAM*** blah blah blah on identified spam emails.

    I know I can reject spam, but right now I just want the subject tagged.

    I've not mucked around with an settings files directly, and not done any config changes to exim etc.

    Cpanel version 11.28.87

    Anyone got any ideas ?

    I tried online support, but they were unable to help, so I've sent a support email, but, hey it is the weekend: )

    Thanks for any help

    Andy

  2. #2
    Join Date
    Jul 2008
    Posts
    176

    Default

    Quote Originally Posted by andymc View Post
    Hi,

    Not sure if this is the most appropriate forum, but hope so

    I've been struggling with this for a couple of days now on my VPS-

    I cannot seem to make spamassassin, rewrite subject lines like:

    Subject: ***SPAM*** blah blah please buy this from us

    Instead, all I get is:
    Subject: blah blah please buy this from us

    Example header from one of my untagged subject spam emails with some of the verbose stuff taken out to same space

    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_004_0484_1E316FD9.215A1D6A"
    X-Spam-Subject: ReplicaWatches Review - Louis Vuitton replica handbags dealer. Buy Rep1icaWatches and FakeWatches here.
    X-Spam-Status: Yes, score=23.6
    X-Spam-Score: 236
    X-Spam-Bar: +++++++++++++++++++++++
    X-Spam-Report: .... , has identified this incoming email as possible spam.
    X-Spam-Flag: YES

    So, spamassassin is identifying spam, and is tagging a score to it, just not rewriting the subject line with ***SPAM***,
    and also the X-Spam-Subject line is not getting prepended with ***SPAM***

    So, off to the cpanel settings:

    ACL Options
    SpamassassIN: Reject maikl at smtp time... : No reject rule by spam score
    Block Dictionary: On
    Blacklist Reject mail sent directly: Off
    Ratelimit incoming smtp: On
    Spamassassin: Ratelimit hosts which... : No ratelimiting by spam score

    Filters
    Spamassassin: Global Subject rewrite: On
    Spamassassin: Bounce mail: No bouncing
    Spamassassin: X-Spam Subject header prefix: ***SPAM*** default

    SpamAssassin Options
    Old Style Spam System: Off
    Spamassassin Enabled for all accounts without option to disable: Off
    Spamassasin maz sizze a message can be... : 200KB

    So, as far as I can see, I should be seeing ***SPAM*** blah blah blah on identified spam emails.

    I know I can reject spam, but right now I just want the subject tagged.

    I've not mucked around with an settings files directly, and not done any config changes to exim etc.

    Cpanel version 11.28.87

    Anyone got any ideas ?

    I tried online support, but they were unable to help, so I've sent a support email, but, hey it is the weekend: )

    Thanks for any help

    Andy
    Hello Andy,

    You can set email filters from cPanel for a email which has already been marked by spamassassin as SPAM. Before that please ensure that you have enabled spamassassin with lowest spam score. If spam score hit or exceeds limit it will be automatically marked as spam. Open cPanel > Click on Account Level Filtering > Click on Edit button under Current Filters. To filter all mail that SpamAssassin has marked as spam, just choose "Spam Status" and "begins with," then enter "Yes" in the box.

    I hope you will be able to see desired output. If problem still persists please let us know reference ticket no so that we can dealt with it further.
    Alan V
    VPS Support Team
    http://www.eukhost.com

  3. #3

    Default

    Hi,

    Thanks for the reply.

    I'm not trying to use the account filtering, I am trying to find out why emails that are identified as spam are not having their subject line prepended with ***SPAM***, which is what, as far as I can tell, the configuration in CPanel is meant to do.

    I didnt get a reply from my email to support, probably because, ironically, it has spam tags in it I'll bet :P

    I will raise a ticket from the client area.

    Cheers

    Andy

  4. #4
    Join Date
    Jul 2008
    Posts
    176

    Default

    Hello Andy,

    cPanel has provided tool for email filtering on account level and user level basis.
    If you are still facing an issues with spams then feel free to email us.
    Alan V
    VPS Support Team
    http://www.eukhost.com

  5. #5

    Default

    Hi,

    Trying to do the same here.
    I am getting emails thgrough to my mail box that have the header X-Spam-Status: Yes, score=17.8

    So identified as SPAM by spamassasin

    But want to change to the message subject from
    "Buy my replica Watch product here"
    to
    "****SPAM**** Buy my replica Watch product here"

    As this then allows our users to filter these within their mail program (outlook etc) to another folder. This should do it but does not seem to work

    rewrite_header Subject *****SPAM*****

  6. #6

    Default

    Hi,

    One of the support chaps did something to my configuration, so that is now does what the cpanel spam settings ask it to - I don't know what he did though, but it sorted it - might be worth raising a ticket / doing online chat thing.

    Cheers

    Andy

  7. #7
    Join Date
    Jul 2008
    Posts
    176

    Default

    Quote Originally Posted by andymc View Post
    Hi,

    One of the support chaps did something to my configuration, so that is now does what the cpanel spam settings ask it to - I don't know what he did though, but it sorted it - might be worth raising a ticket / doing online chat thing.

    Cheers

    Andy
    Hello Andy,

    Thanks for your update Yeah it is always better to initiate live chat support or email support for fastest resolution.

    Do let us know if we can of any assistance further.
    Alan V
    VPS Support Team
    http://www.eukhost.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •