On Tue, May 28, 2013 at 12:55:54PM +0100, Mick wrote
> 
> I appreciate that this is/was the starting point of mutt, but over
> the years I understand that mutt has added smtp and is able to use
> IMAP or POP servers directly.  So, am I right to assume that it is
> not only a simple file reader any more.

  I did say I'm a long time user of mutt ;) I didn't realize that it has
added smtp.

> Are you sure about this?  I do not have sendmail installed, but
> do have ssmtp.  There are symlinks from sendmail to ssmtp, so that
> various programs that call sendmail can eventually use ssmtp to send
> out their messages:
> 
> $ ls -la /usr/sbin/sendmail 
> lrwxrwxrwx 1 root root 5 Jul  9  2011 /usr/sbin/sendmail -> ssmtp

  I get ssmtp symlinks to...
/usr/bin/sendmail
/usr/sbin/sendmail
/usr/lib64/sendmail

> BTW, I have configured ssmpt to send out messages from root (cron
> job results) through Gmail, using my gmail account credentials.
> Will I need to alter this to be able to send out messages from mutt
> through different smtp relays?

  I have one main machine at home, and I *DON'T* want daemons mailing
stuff out all over the place, so my problem is quite different from
yours.  I think that daemons *EXPECT* a file or symlink called sendmail
to accept their email.  If you want daemons sending log mails, then you
need something that emulates sendmail.

> Another question:  how do you manage your address book?
> 
> I would need email address autocompletion of some sort

The file ~/.mutt/.aliases is where addresses are stored.  E.g. the line
for this mailing list is...

alias gentoo gentoo-user@lists.gentoo.org (Gentoo Users List)

I hit "m" for "mail compose".  When prompted for "To:", I type in...

gen

...and hit {TAB}, which gives "gentoo".  This is replaced with...

gentoo-user@lists.gentoo.org (Gentoo Users List)


> and I would also need it to be able to pull in the appropriate public
> gpg or S/MIME key for the intended recipient and my corresponding
> private key(s) depending on the account that I am sending from.

  I don't do PGP, so I'm not able to answer that question.  Here's
something from the mutt manual that might be what you're looking for...

http://www.mutt.org/doc/manual/manual-3.html#ss3.19

> 3.19 Choosing the PGP key of the recipient
> 
> Usage: pgp-hook pattern keyid
> 
> When encrypting messages with PGP, you may want to associate a certain
> PGP key with a given e-mail address automatically, either because
> the recipient's public key can't be deduced from the destination
> address, or because, for some reasons, you need to override the
> key Mutt would normally use. The pgp-hook command provides a method
> by which you can specify the ID of the public key to be used when
> encrypting messages to a certain recipient.

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to