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.

Spam Assassin Logging?

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

  1. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    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
     
    #1 hostmedic, Apr 5, 2013
    Last edited: Apr 5, 2013
Loading...

Share This Page