Has anyone successfully configured mutt for GMail on FreeBSD? If so, how?
Solution 1:
I wouldn't use the SMTP support in Mutt. <subjective> It's just not the Unix way. Much better is </subjective> to configure something like esmtp
or msmtp
or maybe nullmailer
to relay email through Gmail's servers, and then let Mutt use the standard /usr/bin/sendmail
way of sending messages.
Solution 2:
If that config option is the issue (I don't know one way or the other), try building the mail/mutt
port with:
$ make clean
$ make MUTT_CONFIGURE_ARGS=--enable-smtp
$ make install
Solution 3:
The following sequence seems to work (hat-tip to The Quick-N-Dirty Guide to Using mutt with gmail, where I learned the -Doption
trick for ports).
cd /usr/ports/mail/mutt-devel
make -DWITH_MUTT_SMTP install clean