Hello everyone, 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).
My use case is that, when I type something without '@' (e.g., "jdoe"), I never intend to refer to a local user of the local machine, or of the remote SMTP server: I always intend to refer to an alias. Hence, when I mistype an alias (e.g., "jdeo"), I would like mutt to warn me and refuse to send the email. Currently, mutt completes "jdeo" to "jdeo@$hostname" if $hostname is set (and leaves it as-is otherwise), and happily sends the mail. If I don't notice the typo, I have to hope that I get a delivery status notification (and then the mail has already been sent to the other recipients, so it's a pain to send it again only to some of them...). Hence, is there a configuration setting to tell mutt that recipients without '@' should not be completed, and that an error should be displayed if there are not a known alias? Or is there some other way to achieve this? (I have looked in the documentation but I didn't see anything relevant. I have also asked the same question a few days ago <https://unix.stackexchange.com/questions/359999/warn-about-non-existent-aliases-in-mutt> but I didn't receive any response there.) Thanks in advance for your help! Best regards, -- Antoine Amarilli
signature.asc
Description: PGP signature