Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Spam Assassin Logging?

Discussion in 'E-mail Discussion' started by hostmedic, Apr 5, 2013.

  1. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    544
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    Is there an easy way to get SpamAssassin to log to its own log?
    I am not so worried if its inbound and outbound together (be nice if they were not however)

    I did this by making this change in /usr/local/bin/spamd



    Change
    Code:
    my $log_facility = $opt{'syslog'} || 'mail';

    to
    Code:
    my $log_facility = $opt{'syslog'} || '/var/log/spam_assassin.log';
    My concern is will that stick during an update
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 hostmedic, Apr 5, 2013
    Last edited: Apr 5, 2013
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice