After upgrading from Devuan 3 (~= Debian 10) to Devuan-4
(~=Debian-11), not changing the exim config file the new Exim
version is 4.94.2.
Running "sendmail -qf" emits error messages like this one:
2021-10-25 23:00:12.776 [7584] 1melHk-0000VC-R0 ==
FOOBAR@localhost R=local_user T=mail_spool defer (-1) DT=0.004s:
Tainted '/var/mail/FOOBAR' (file or directory name for mail_spool
transport) not permitted
It seems to complain about the file /var/mail/FOOBAR for
_incoming_ mail. What is the cause of this and how can it be
fixed?
--
System details:
/var/mail is a symlink to /home/mail (to keep mail on a different
filesystem:
$ ls -l /var | grep mail
lrwxrwxrwx 1 root root 10 Oct 19 2020 mail -> /home/mail/
$ ls -ld /home/mail
drwxrwsr-x 2 root mail 4096 Oct 25 22:55 /home/mail/
$ ls -l /home/mail
-rw------- 1 FOOBAR mail 133120347 Oct 21 21:44 FOOBAR
-rw------- 1 BARBAZ mail 821688 Oct 25 22:55 BARBAZ
-rw------- 1 root mail 0 Jun 25 2013 root
User "BARBAZ" has no such problems up to now, but no mail is
delivered locally to FOOBAR. Mail is fetched with fetchmail from
a POP3 server for BARBAZ and from a different IMAP server for
FOOBAR. Other than that the fetchmail config is +- identical.
There's nothing special in exim.conf.template for the users,
except that outgoing mail is sent to a non-standard server for
FOOBAR.
smarthost:
...
route_list = * "${if eq {$sender_address}{firstname.surname@???} {some.other.server}{DCsmarthost}}" byname
...
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt