On 2017-05-09 15:49, Wilhelm Boltz wrote:
Hello Carlos, hello Per,
Am Dienstag, 9. Mai 2017, 07:48:27 CEST schrieb Per Jessen:
Still -
copy /usr/lib/systemd-fetchmail-exec to /usr/local/bin/wilhelm-fetchmail-exec remove the '-L /var/log/fetchmail' from that script
This part is needed? Don't the below suffice?
create /etc/systemd/system/fetchmail.service.d/wilhelm.conf:
------- [Service] ExecStart= ExecStart=/usr/local/bin/wilhelm-fetchmail-exec ---------
systemctl daemon-reload
I followed Per's recommendation and it works well. Thank you very much for your help.
And I agree to your statement, Carlos, that a separate logfile shouldn't be the default setting. I know logging goes now to systemctl journal, and it may increase. Do you think a separate logfile will be much smaller than the additional space on systemctl journal?
Contrary to what Pattrick says, sorry, a year of syslog is much smaller than a month of journal storing the same data. Tested and proved. With any syslog daemon the traditional setup (and default in openSUSE) is to send all mail related entries to a different file. It is thus easy to track issues with mail this way: all postfix, fetchmail, amavis, dovecot things are logged and timestamped in the same text file. Not procmail, though. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)