On Tue, Apr 25, 2017 at 10:36:32AM +0200, Antoine Amarilli wrote: > I was interested to know whether there is a configuration option in mutt > to warn the user when entering a wrong alias (that is, a recipient that > does not contain '@' but is not known to mutt's alias database).
No configuration option that I know of, but if you send email via sendmail (vs SMTP), you could use a variant of https://dev.mutt.org/trac/wiki/ConfigTricks/CheckAttach to check that To, Cc, and Bcc don't contain "@$hostname" and refuse to send if so, otherwise passing on to sendmail. -- Ed Blackman