Re: [exim] mail stuck in /var/spool/exim4/input

Top Page
Delete this message
Reply to this message
Author: Andreas Metzler
Date:  
To: exim-users
Subject: Re: [exim] mail stuck in /var/spool/exim4/input
On 2020-06-02 m s via Exim-users <exim-users@???> wrote:
> I'm running Debian sid and after upgrading packages today, exim stopped
> working. It's keeping all my local mail in /var/spool/exim4/input and
> not delivering it, and even when I type "runq" it won't deliver the
> mail.


> # exim4 -qff -v

[...]
> T: appendfile for marie@localhost
> LOG: MAIN
> == marie@localhost R=local_user T=mail_spool defer (-6): mailbox
> /var/mail/ has wrong uid (0 != 1000)

[...]
> # dpkg -l |grep exim

[...]
> ii  exim4-config                          4.94-1
>         all          configuration for the Exim MTA (v4)
> ii  exim4-daemon-light                    4.92.3-1
>         amd64        lightweight Exim MTA (v4) daemon

[...]

Hello,

You are running 4.94-1 configuration with 4.92.3-1 binaries.

One significant change of 4.94-1 configuration is
mail_spool:
driver = appendfile
- file = /var/mail/$local_part
+ file = /var/mail/$local_part_data

Which is needed for 4.94 (avoid tainting) but will only work with 4.94
because the check_local_user router option only sets $local_part_data on
4.94.

Do a proper upgrade (dist), including the daemon binaries and you should
be fine.

I will try to update the Debian packaging to prevent instalation of this
non-working combination.

cu Andreas

--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'