[exim] tip: use -odf when calling exim from a systemd onesho…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ian Kelling
Ημερομηνία:  
Προς: Exim-users
Αντικείμενο: [exim] tip: use -odf when calling exim from a systemd oneshot service
If calling exim is the last thing the service does, systemd will kill
off exim's background delivery process and the message will be in the
queue waiting until the next queue run. This has bit me when migrating a
script from a cronjob to a systemd timer.

If you run in exim debug mode, the last lines you see might be something like:

finding IP address for example.com
calling host_find_byname

--
Ian Kelling | Senior Systems Administrator, Free Software Foundation
GPG Key: B125 F60B 7B28 7FF6 A2B7 DF8F 170A F0E2 9542 95DF
https://fsf.org | https://gnu.org