Bug#989260: exim4-config: Default configuration enables sieve filters but cannot deliver from them

Andreas Metzler ametzler at bebt.de
Sun May 30 18:00:40 BST 2021


On 2021-05-30 anomie at users.sourceforge.net wrote:
> Package: exim4-config
> Version: 4.94.2-6

> The default configuration provided by exim4-config allows for sieve
> filters to be used in ~/.forward, but if a user attempts to configure
> such a filter their mail delivery will most likely break.

> More specifically, the keep action (including the default "keep" when
> nothing matches the filter) will fail to deliver mail with an error
> along the lines of

[...]
> Adding the following to the "address_file" transport seems to fix it:

>   group = mail
>   file = ${if eq{$address_file}{inbox} \
>            {/var/mail/$local_part_data} \
>            {${if eq{${substr_0_1:$address_file}}{/} \
>              {$address_file} \
>              {$home/mail/$address_file} \
>            }} \
>          }

Hello,

thanks for the report.

The suggested change does not seem to be an option as it is since will not
work if default delivery is to maildir in ~ instead of file in
/var/spool/mail.

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'



More information about the Pkg-exim4-maintainers mailing list