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.

Help with MailScanner inline message

Discussion in 'E-mail Discussions' started by Daniel15, Nov 23, 2006.

  1. Daniel15

    Daniel15 Well-Known Member

    Joined:
    Oct 7, 2006
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Hi everyone,
    Recently, I installed MailScanner using the script found at http://www.configserver.com/free/mailscanner.html. It seems to be working OK, however I'm having a minor problem with it: If a spam message is detected, the subject gets changed, but the spam report isn't attached (the SpamAssassin one). The actual email is unaltered apart from the headers. What's the proper way to make it attach the spam warning to the email (I believe the warning is stored at /usr/mailscanner/etc/reports/en/inline.spam.warning.txt)?

    Thanks,
    Daniel
     
  2. Daniel15

    Daniel15 Well-Known Member

    Joined:
    Oct 7, 2006
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Anybody know?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    IIRC, you can't do it that way round with MailScanner. You can set the delivery option for Spam Actions and High Scoring Spam Actions to use attachment which puts the spam email as the attachment and the main message is the spam report.
     
  4. Daniel15

    Daniel15 Well-Known Member

    Joined:
    Oct 7, 2006
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Chirpy,
    Thanks for your response. I edited the /usr/mailscanner/etc/MailScanner.conf like so:
    Code:
    #Spam Actions = %rules-dir%/spam.action.rules
    Spam Actions = attachment store
    
    As I store the message in quarantine as well, for MailWatch. However, after I restarted MailScanner, spam messages no longer reach the recipient. Do you know why this is?

    I also tried running:
    Code:
    replace deliver attachment -- /usr/mailscanner/etc/rules/spam.action.rules
    
    and using the spam.action.rules file, with the same result.

    It's starting to confuse me quite a bit :confused:

    --Daniel15
     
  5. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Does the provider of the script have tech support?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You need to use attachment store deliver
     
  7. Daniel15

    Daniel15 Well-Known Member

    Joined:
    Oct 7, 2006
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Thank you so much! That solved it :D
     
Loading...

Share This Page