Hello, Instead of including the amavisd activity in the maillog, I want to have a separate log file. I can't figure out how to get this working though.
For some reason, amavisd isn't writing to the log file that's defined in /etc/amavisd.conf If I do a directory listing, the log still shows as 0 bytes: ls -l amavis.log -rwxrwxrwx 1 vscan vscan 0 Nov 30 09:39 amavis.log when I initially set up the postfix/mysql/amavisd system, I created an empty amavis.log and changed the owner to the user amavis is running under: chown vscan:vscan /var/log/amavis.log chmod u=rw,g=rw,o=rw /var/log/amavis.log Any idea what could be wrong? Below are the relevant entries from amavisd.conf: $log_level = 2; # verbosity 0..5, -d $log_recip_templ = undef; # disable by-recipient level-0 log entries $DO_SYSLOG = 0; # log via syslogd (preferred) $LOGFILE = "/var/log/amavis.log"; $log_templ = '[? %#V |[? %#F |[?%#D|Not-Delivered|Passed]|BANNED name/type (%F)]|INFECTED (%V)], <%o> -> [<%R>|,][? %i ||, quarantine %i], Message-ID: %m, Hits: %c'; #$syslog_facility = 'local7'; # Syslog facility as a string # e.g.: mail, daemon, user, local0, ... local7 #$syslog_priority = 'debug'; # Syslog base (minimal) priority as a string, # choose from: emerg, alert, crit, err, warning, notice, info, debug Thank you Scott Brown