Autor: Gabe da Silveira Data: Dla: exim-users Temat: [exim] Filter behavior when run from shell vs systemd
Hi all,
I'm setting up exim to process emails based on the existence of a set of
centrally managed forward files. So I have an accept router configured as
follows:
The issue I am facing is that this condition fails when run via systemd,
but passes when run from a root shell. In both cases the command is:
exim -C /etc/exim/exim.conf -bdf -d
This is on a CentOS 7 system with the standard exim package. I have
verified the file and full path are readable by the exim user. I've tried
both exim and root in the systemd EnvironmentFile and both fail the same
way. The unit file looks like this:
[Unit]
Description=Exim Mail Transport Agent
After=network.target
Conflicts=sendmail.service postfix.service