Re: [exim] Unable to send or receive mails, Tainted not perm…

Top Page
Delete this message
Reply to this message
Author: necktwi
Date:  
To: Jeremy Harris
CC: exim-users
Subject: Re: [exim] Unable to send or receive mails, Tainted not permitted
I fixed it by setting
directory = ${home}/.maildir

But I want it to work with
directory = /home/$local_part/.maildir

Because I made username aliases with same UID in /etc/passwd which makes ${home} resolve to original user instead of its alias

> On 11-Feb-2022, at 11:21 PM, Satya Gowtham Kudupudi <satyagowtham.k@???> wrote:
>
> local_delivery:
> driver = appendfile
> # file = /var/mail/$local_part
> directory = /home/$local_part/.maildir
> maildir_format
> maildir_use_size_file
> delivery_date_add
> envelope_to_add
> return_path_add
> group = mail
> mode = 0660
>
> Is configuration present in exam.conf; please tell me the modification I’ve to do to avoid the “Tainted” error.
>
>> On 11-Feb-2022, at 2:55 PM, Jeremy Harris via Exim-users <exim-users@???> wrote:
>>
>> On 11/02/2022 05:57, necktwi via Exim-users wrote:
>>> When I try to send a mail I get the following message in exim log and the mail is not received by the receiver.
>>> 2022-02-11 11:21:03 1nEVHn-00011P-At == necktwi@??? R=localuser T=local_delivery defer (-1): Tainted '/home/necktwi/.maildir' (file or directory name for local_delivery transport) not permitted
>>> How to fix it?
>>
>> Your configuratino needs update so as to not use untrustworthy
>> information as a filename. The docs have information on de-tainting;
>> start with the Concept Index.
>>
>> http://exim.org/exim-html-current/doc/html/spec_html/ch-concept_index.html
>> --
>> Cheers,
>> Jeremy
>>
>> --
>> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://wiki.exim.org/
>