bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding reply-to option to mailutils.conf instead of -r on command li


From: Sergey Poznyakoff
Subject: Re: Adding reply-to option to mailutils.conf instead of -r on command line
Date: Wed, 27 Oct 2021 09:18:54 +0200
User-agent: MH (GNU Mailutils 3.13.90)

Hi Simon,

> If I need to send an email from home computer I have to remember to
> include the -r flag to use a proper domain instead of me@home-computer,
> which is quite annoying.

Not necessarily.  You can set the return-address variable in your
~/.mailrc file, like that:

  set return-address="info@simonh.uk"

See

https://mailutils.org/manual/html_node/Mail-Variables.html#return_002daddress

> So, I thought this would work fine:
> 
> address { 
> email-addr info@simonh.uk; 
> email-domain "simonh.uk";
> };

Quite right.  That should give the same result.

> But mail keeps being me@home-computer and going to spam.

The most probable reason is that you edited wrong file.  Run the
following command to see whether mail reads the proper file and
interprets it correctly:

  mail --config-lint --config-verbose

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]