Hi,

On Tue, Apr 25, 2017 at 02:32:08PM -0400, Ed Blackman wrote:
> 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.

Thanks for the suggestion! I'm using SMTP however, and anyway that's a
bit of a dirty hack ;). Speaking of dirty hacks, I guess I could also
set $hostname to "FIXMEFIXMEFIXME.doesnotexist", increasing the chances
that I notice the erroneous addresses or that my SMTP complains about
them... that's not exactly satisfactory either, though.

Best,

-- 
Antoine Amarilli

Attachment: signature.asc
Description: PGP signature

Reply via email to