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.

Displaying spam test scores in log

Discussion in 'E-mail Discussions' started by anton_latvia, Jul 22, 2010.

  1. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Hi,
    Does anyone know how to get passed spam test scores being logged? So far we only have more or less general and I am not sure what is the correct technique for finding out value for each passed score. Here is what we have in our log file:

    Code:
    Jul 22 10:39:45 s11 spamd[1295]: spamd: result: . 0 - AWL,BAYES_00,DNS_FROM_OPENWHOIS scantime=0.9,size=1448,user=nordic,uid=502,required_score=8.0,rhost=s11,raddr=127.0.0.1,rport=60743,mid=<E1ObrJe-0006xA-DN@s1.easynetbooking.net>,bayes=0.000000,autolearn=no,shortcircuit=no
    
    and in my local.cf we have:
    Code:
    add_header spam Flag _YESNOCAPS_
    add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTSSCORES_ autolearn=_AUTOLEARN_ version=_VERSION_
    add_header all Level _STARS(*)_
    add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_
    
    I believe this will add a lot more info to scanned emails, but still I would love to have it in my log, especially for rejected emails.

    Also - do you know if it is possible to see email ID, the one from exim queue?

    Regards,
    Anton.
     
Loading...

Share This Page