On 2018-02-23, Brian <a...@cityscape.co.uk> wrote:
> On Thu 22 Feb 2018 at 11:58:18 -0600, David Wright wrote:
>
>> On Mon 19 Feb 2018 at 18:39:02 (+0000), Brian wrote:
>> > On Mon 19 Feb 2018 at 10:23:56 -0600, David Wright wrote:
>> > 
>> > > $ cat /etc/mailname 
>> > > alum
>> > 
>> > Debian's exim4 README says that mailname should be a FQDN. I find that
>> > useful for sending mail to "anotheruser".
>> 
>> Sorry, but I haven't been able to work out what you mean.
>> Is "anotheruser" a username on the same system, somebody or
>> some machine on the LAN, or something different?
>
> Exim will qualify all unqualified addresses with mailname. "anotheruser"
> could be a user on the system or have an email account elsewhere.
> With mailname as gmail.com a mail sent to or cc'ed to tom123 would go to
> tom...@gmail.com.
>

I'm informed over at the wiki that Exim doesn't read /etc/mailname;
rather, at configuration time, when requesting the system's "visible
name," Exim stores the value of visible name in /etc/mailname (amongst
other places). But it doesn't subsequently read that file for that
value, and changing /etc/mailname has no effect on Exim.

You probably already knew this, but there was a certain ambiguity.

https://wiki.debian.org/EtcMailName


-- 
“Be yourself; everyone else is already taken.”
-Oscar Wilde


Reply via email to