Bug#869871: exim4-config: /etc/mailname is ignored

Vladislav Kurz vladislav.kurz at webstep.net
Tue Aug 1 14:42:24 UTC 2017


On 07/28/17 09:42, Marc Haber wrote:
> On Thu, Jul 27, 2017 at 11:20:32AM +0200, root wrote:
>> after a fresh install of exim4 on debian stretch, and moving our old
>> configuration, I found out that mail to unqualified adresses is sent
>> to user@`hostname -f` instead of user@`cat /etc/mailname`. Just as if
>> MAIN_PRIMARY_HOSTNAME_AS_QUALIFY_DOMAIN was set.
> 
> How are you sending this mail? qualify_domain and qualify_recipient only
> apply to locally generated messages and NOT to messages received from a
> mail client via SMTP.
> 
> You might want to run exim with a debug option and look for the
> qualification code in the debug output.
> 
> Greetings
> Marc
> 

Hello,

I did some more testing. I tried to send using "sendmail -b user", and
it properly qualified the email addresses with the domain name in
/etc/mailname.

Originally I was sending the mail using mail command from mailutils. I
don't know why I had installed mailutils. On all other servers I have
bsd-mailx. So apt-get remove/install, and voila, mails sent using
bsd-mailx have email addresses properly qualified.

So this bug shoudl be rassigned to mailutils

-- 
Best Regards
        Vladislav Kurz



More information about the Pkg-exim4-maintainers mailing list