![](https://seccdn.libravatar.org/avatar/3bc64bb793cf22fd052ba5a860075f2e.jpg?s=120&d=mm&r=g)
Hi,
Hi,
Op woensdag 29 augustus 2018 20:40:00 CEST schreef Michael Hirmke:
[...]
So typically with syslog amavis messages go to "/var/log/mail" only. You can readjust to send to "/var/log/amavis" if you want.
Before installing Leap 15.0 and still on my other machine with LEAP 42.3 amavis is logging to /var/spool/amavis/amavis.log - and I can switch with $DO_SYSLOG = 0/1 between file and syslog.
amavis is a Perl script, so it should be rather easy to change the source to accomplish what you want. You can search the source for $DO_SYSLOG around which you will see what the setting of this variable is doing.
I could do that, but then I'd have to change it every time an update gets installed. Besides that, I'd like to understand, why the behaviour changed, although the logics in amavisd *seems* not to have changed.
got it - the following lines were missing in amavis.conf: # Log file (if not using syslog) $logfile = "$MYHOME/amavis.log"; # (defaults to empty, no log) In amavis.conf from LEAP 42.3 they were included. Bye. Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org