unable to send email
trying to send a email in Mutt 1.5.23 on OS X I have tried the following set smtp_url = "smtps://m...@site.com:passw...@mail.site.com:587/" set smtp_url = "smtps://m...@site.com:passw...@mail.site.com:465/" set smtp_url = "smtps://m...@site.com:passw...@mail.site.com:25/“ set smtp_url = "smtp://m...@site.com:passw...@mail.site.com:587/" set smtp_url = "smtp://m...@site.com:passw...@mail.site.com:465/" set smtp_url = "smtp://m...@site.com:passw...@mail.site.com:25/" and get these errors SASL authentication failed SSL failed: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol No authenticators available also have tried adding set smtp_authenticators = 'gssapi:login' set ssl_starttls=yes set ssl_force_tls = yes no matter what combo of settings in .muttrc I can't send a email from mutt to my exchange server anyone have a working mutt to a exchange 2013 server ? Mutt is working fine with IMAP so I can read emails, just can't reply or send them. any help would be great I several debug files, but they are long so didn't want to put in the 1st post please help me get back to a terminal only world,
quickly switching to an alternate for "from"
Dear all, To switch the "from" field to one of my alternates when reviewing an email I wrote right before I press 'y' to send, is there a quick way? I understand that I can do "ESC + f" and then enter it manually. But how can I switch quickly and limit the choice to just those email addresses that I have set as alternates? Kind regards, Xu
Re: quickly switching to an alternate for "from"
Hi, You can do that so many ways: I use folder-hook ~/mail/space...@antispaceman.com/* source ~/.mutt/profiles/space...@antispaceman.com to change the from depending on which folder (or account in this case) I'm in. You do the same with account-hook I'm assuming (if you using imap). You could also define a macro to quickly change between profiles. You could also use send-hook for specific addresses that need to go from certain accounts: send-hook "~t space...@antispaceman.com" source ~/.mutt/profiles/space...@antispaceman.com Regards, spaceman On 2015/05/22 08:05:01 , Xu Wang wrote: Dear all, To switch the "from" field to one of my alternates when reviewing an email I wrote right before I press 'y' to send, is there a quick way? I understand that I can do "ESC + f" and then enter it manually. But how can I switch quickly and limit the choice to just those email addresses that I have set as alternates? Kind regards, Xu pgpI0QD0c1jsn.pgp Description: PGP signature
Re: quickly switching to an alternate for "from"
On Fri, May 22, 2015 at 02:15:40PM +0100, spaceman wrote: Hi, > I use > folder-hook ~/mail/space...@antispaceman.com/* source > ~/.mutt/profiles/space...@antispaceman.com > to change the from depending on which folder (or account in this case) I'm in. > > You do the same with account-hook I'm assuming (if you using imap). You > could also define a macro to quickly change between profiles. > > You could also use send-hook for specific addresses that need to go from > certain accounts: > send-hook "~t space...@antispaceman.com" source > ~/.mutt/profiles/space...@antispaceman.com I have an additional question regarding this: most of the time mutt should reply by using the address which received the mail, "set reverse_name=yes" seems to do this fine. For a few mailing lists this does not work because the mail "To:" has the mailing list address instead of my email address. What is the best way to deal with this? I tried reply-hook"~t mailing-list.org""my_hdr From: Richard " but it uses the "default" email instead silently ignoring the my_hdr. Richard --- Name and OpenPGP keys available from pgp key servers pgpPKaM9rtWti.pgp Description: PGP signature
Re: quickly switching to an alternate for "from"
Xu Wang wrote (Fri 2015-May-22 08:59:01 -0400): > I understand that I can do "ESC + f" and then enter it manually. But > how can I switch quickly ... After having typed f, you can use Ctrl+u to delete the current value, and you can choose the new value from your aliases. The alias selection supports tab completion. I am using a few aliases starting with "_me_" (and no other aliases starting with "_") for exactly the purpose of being able to quickly select a new value for "From:" (and sometimes "Cc:" or "Reply-to:" or something else). > ... and limit the choice to just those email > addresses that I have set as alternates? alternates is a pattern, so which input would you like to get checked against that pattern? Cheers, Marcus -- Marcus C. Gottwald ·· https://cheers.de
Re: quickly switching to an alternate for "from"
Hi, reply-hook"~t mailing-list.org""my_hdr From: Richard " Not being an expert in hooks (or mutt) but it looks like my_hdr is the wrong choice here. You probably need to do something like set from = "spaceman " to change whom you message comes from. However it would just be easier to specify a configuration file using source. I think setting the from alone won't work because you email provider might reject it (mutt will still send the message to the default provider). So I think you need your providers details (hostname, username, password and the like) in a configuration file and then source that in the reply-hook like in my send-hook. That's my best guess. I would provide an example but I use msmtp as an smtp client and mutt as the user agent. Regards, spaceman pgpd8_Pu1i4wO.pgp Description: PGP signature
Re: quickly switching to an alternate for "from"
Hi, I use this in my .muttrc, because I did not want to have it automatically depended on folders or accounts: macro compose I "^Umarkus" "Set identity / Select From:" In my aliases file, I have these entries: alias markus1 Markus alias markus2 M. alias markus3 MD Regards, Markus On 22.05.15, spaceman wrote: Hi, You can do that so many ways: I use folder-hook ~/mail/space...@antispaceman.com/* source ~/.mutt/profiles/space...@antispaceman.com to change the from depending on which folder (or account in this case) I'm in. You do the same with account-hook I'm assuming (if you using imap). You could also define a macro to quickly change between profiles. You could also use send-hook for specific addresses that need to go from certain accounts: send-hook "~t space...@antispaceman.com" source ~/.mutt/profiles/space...@antispaceman.com Regards, spaceman On 2015/05/22 08:05:01 , Xu Wang wrote: Dear all, To switch the "from" field to one of my alternates when reviewing an email I wrote right before I press 'y' to send, is there a quick way? I understand that I can do "ESC + f" and then enter it manually. But how can I switch quickly and limit the choice to just those email addresses that I have set as alternates? Kind regards, Xu -- o o o o o o o . . . _~\_ _~~\_ o _| | | | .][__n_n_|DD[ _ | | | | ▶(|__|_[_]_|__|_|___|_ _/oo O oo` ooo ooo 'o^oo^o` 'o^o o^o` ==