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="i...@simonh.uk" See https://mailutils.org/manual/html_node/Mail-Variables.html#return_002daddress > So, I thought this would work fine: > > address { > email-addr i...@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