On Tue, Aug 13, 2013 at 04:04:51PM +0100, sqli...@posteo.co.uk wrote:
> 
> Spec: Debian 7 "Wheezy", Mutt 1.5.21.  I'm successfully connecting to IMAPS
> using TLS1.2 and can retrieve mail. Sending is set up to use Mutt's built-in
> SMTPS capability, though because of the problems below I haven't been able
> to confirm it works yet.
> 

As I understand Mutt doesn't send the emails.  It delegates the job to
some Mail Trasport Agent (MTA).  On *nix systems, usually it is
sendmail, sometimes postfix, or msmtp.  I use sendmail since it comes as
default with my distribution.  I did not configure anything.  I believe
you can choose this by setting the sendmail variable like this:

  set sendmail="your_favourite_mta --args"

Apart from this, all I do in my ~/.muttrc to send emails is:

  set smtp_url="smtp://usern...@smtp.example.com:587/"
  set smtp_pass=mypassword
  set from="usern...@example.com"

> 2) During the same process above, when Mutt asks me to authenticate for
> IMAPS, it asks for my login username, but pre-fills the field with my
> current user account.  How can I amend this behaviour so that it uses the
> IMAP username by default?  A web search reveals the, "mutt_addr_is_user"
> variable, but a search on the wiki and in the manual for this term gives no
> results.

This should work;

  set imap_user=username

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to