[exim] MUA sends in envelope addresses in "user@host"@host f…

Top Page
Delete this message
Reply to this message
Author: Angelin Lalev
Date:  
To: exim-users
Subject: [exim] MUA sends in envelope addresses in "user@host"@host form when using authentication
Greetings,

I have question about Exim installation, which is set up to work with
several virtual domains, whose users and passwords are under
/etc/vmail/. Under /etc/vmail there is one subfolder for each domain,
containing passwd files in dovecot (?) format. The configuration uses
dovecot for external SMTP authentication.
Dovecot is set so it relies on domain name to determine the folder
under which to look for the passwd files.
Authentication works, but there is weird problem. When I set any MUA
to pass the user name for authentication as user@domain, the MUA sends
something like the following message. It seems to me that it just
treats the while user@domain combination as the user part of the mail
address and so forms the MAIL FROM part of the envelope.

Return-path: <"lalev1@???>
Envelope-to: lalev1@???
Received: from [11.22.33.44] (helo=[11.22.33.44])
by riva.bg with esmtpsa (UNKNOWN:AES128-SHA:128)
(Exim 4.72)
(envelope-from <"lalev1@???>)
id 1ajWPX-00055q-G1
for lalev1@???; Fri, 25 Mar 2016 20:24:39 +0200
To: lalev1@???
From: =?UTF-8?B?0JDQvdCz0LXQu9C40L0g0JvQsNC70LXQsg==?= <lalev1@???>
Subject: Test
Message-ID: <56F58257.8020307@???>
Date: Fri, 25 Mar 2016 20:24:23 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101
Thunderbird/38.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Sender: "lalev1@???

somehost.com, of course is not the real name of the domain.

I suppose the problem is not client-side and should be solved by
rewiting headers, but I'm unsure how to approach the config file. I
suppose this is fairly common problem, so it must be addressed by the
default file. But I have no experience in Exim (and fairly weak at
mail in general) so having not done the initial installation I'm
unsure what to do.
Start writing rewrites or reset the config file?