File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,6 +118,6 @@ LABEL org.opencontainers.image.licenses=$ARG_LICENSES
118118EXPOSE 10024
119119VOLUME /var/virusmails
120120WORKDIR /usr/local/amavis
121- # CMD ["/usr/local/amavis/entrypoint.sh"]
122- CMD ["/usr/local/amavis/loop.sh" ]
121+ CMD ["/usr/local/amavis/entrypoint.sh" ]
122+ # CMD ["/usr/local/amavis/loop.sh"]
123123
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ $QUARANTINEDIR = "/var/virusmails";
2222$quarantine_subdir_levels = 1; # enable quarantine dir hashing
2323
2424$log_recip_templ = undef; # disable by-recipient level-0 log entries
25- $DO_SYSLOG = 1 ; # log via syslogd (preferred)
26- # $LOGFILE = "/var/log/amavis.log";
25+ $DO_SYSLOG = 0 ; # log via syslogd (preferred)
26+ $LOGFILE = "/var/log/amavis.log";
2727$syslog_ident = 'amavis'; # syslog ident tag, prepended to all messages
2828$syslog_facility = 'mail';
2929#$syslog_priority = 'info'; # switch to info to drop debug output, etc
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ service amavis start
153153
154154# Tail the syslog
155155trap _sigterm SIGTERM
156- tail -f /var/log/syslog &
156+ tail -f /var/log/amavis.log &
157157TAIL_CHILD_PID=$!
158158
159159# Enter loop for sa-update
You can’t perform that action at this time.
0 commit comments