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.

Create a SpamAssassin Score?

Discussion in 'E-mail Discussions' started by keat63, Jun 22, 2017.

Tags:
  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    875
    Likes Received:
    25
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I'm looking to create a spam assassin score when envelope-from contains a particular phrase.

    We see a ton of spam where 'envelope-from' contains a user followed by our domain.

    (envelope-from <1axcjz0d87mvwzs6gqqld072xnzldrwdwyufb7-sales=mydomain.co.uk@bf01a.spammermailemail.net>)

    I'm looking to write a score for this exact phrase '=mydomain.co.uk@'

    Could anyone help ?
     
    #1 keat63, Jun 22, 2017
    Last edited: Jun 22, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'll leave this thread open for user-feedback on the specific rule you requested, but I'd also like to note that SpamAssassin documentation on writing custom rules is available at:

    WritingRules - Spamassassin Wiki

    Thank you.
     
  3. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    875
    Likes Received:
    25
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    I went there first, but I can't seem to get anything I tried to work.
    I suspect my rubbish regex. :)
     
Loading...

Share This Page