Amavisd and Avira savapi
Juan Orti Alcaine
j.orti.alcaine at gmail.com
Thu Jun 29 21:17:54 CEST 2017
2017-06-29 17:39 GMT+02:00 Alex <mysqlstudent at gmail.com>:
> > Check the PrivateTmp directive in amavisd.service
>
> It's set to "true".
>
> # grep -i tmp /etc/amavisd/amavisd.conf
> $TEMPBASE = "$MYHOME/tmp"; # working directory, needs to exist, -T
> $ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR, used by SA,
> etc.
>
> # ls -la ~amavis/tmp/
> total 12
> drwxr-x--- 3 amavis amavis 4096 Jun 29 11:27 .
> drwxr-x--- 8 amavis amavis 4096 Jun 28 21:11 ..
>
> $ ps axu|grep savapi
> amavis 18823 0.1 5.6 647576 462884 pts/2 Sl+ Jun28 1:29
> ./savapi -N --config=savapi.conf --key-file=MYKEY.KEY
>
> Thanks,
> Alex
>
The PrivateTmp directive sets a file system namespace for the amavisd
service, so the /tmp and /var/tmp that amavisd sees is not the same as
other processes.
My recommendation is to create the socket in the /run/amavisd directory.
If that's not an option, you can edit the service unit with:
# systemctl edit --full amavisd.service
Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20170629/005a28b8/attachment.html>
More information about the amavis-users
mailing list