Mutt and msmtp - I just can't get mutt to send

Hello all, I have been battling with this for some time, I hope you can help.
I have been running arch for several years now and thought I might start using mutt.  I have installed the version from the AUR with the side bar patch (version 1.5.21) and have it retrieving my email from an email server that I run.
I initially tried to use mutt's new in built SNMP functionality but couldn't get it to work with my server.  My server uses TLS/SSL plain text auth but is listening on a non standard port.
My .muttrc is as follows
#muttrc by martin thanks to brisbin
set realname = "Martin"
set imap_user = "[email protected]"
set imap_pass = "somepassword"
set folder=imaps://mymailserver.com:8993/
set spoolfile=+INBOX
set record=imaps://mail.mymailserver.com/Sent
set imap_check_subscribed
set certificate_file = ~/.mutt/cert_file # where to store certs
set mailcap_path = ~/.mutt/mailcap # entrys for filetypes
source ~/.mutt/colours
set from="[email protected]"
set sendmail = "/usr/bin/msmtp"
set ssl_verify_host = no
set ssl_verify_dates = no
set use_from=yes
#set envelope_from=yes
# main options
set beep_new # terminal bell on new message
unset confirmappend # don't ask, just do
set delete # don't ask, just do
set mail_check = 0 # minimum time between scans
unset markers # no ugly plus signs
unset mark_old # read/new is good enough for me
set menu_scroll # scroll in menus
set pager_index_lines = 10 # number of index lines to show
set pager_context = 5 # number of context lines to show
set pager_stop # don't go to next message automatically
set pipe_decode # strip headers and eval mimes when piping
set reverse_alias # show names from alias file in index
#set sort = threads # like gmail
#set sort_aux = reverse-last-date-received # like gmail
#unset sort_re # always thread
set thorough_search # strip headers and eval mimes before searching
set thread_received # sort threads by date received, not sent
set tilde # show tildes like in vim
set timeout = 3 # idle time before scanning
unset wait_key # don't show "Press any key to continue"
unset resolve # stops attachjments being downloaded
# sidebar settings
set sidebar_visible = yes
set sidebar_width = 25
set sidebar_delim = '|'
set status_format = "-%r- %v ------+----/ %f %m%?n? [+%n]?%?d? [-%d]?%?t? [*%t]? /%?p?---/ %p waiting to send /?-%>-(%P)---"
# colors
color sidebar_new brightyellow black
# sidebar bindings
bind index,pager \CJ sidebar-next
bind index,pager \CK sidebar-prev
bind index,pager \CB sidebar-open
My .msmtprc file is as follows (which I have sodt linked the /etc/msmtprc just incase....
account home
host mail.mymailserver.com
port 8465
protocol smtp
logfile /home/martin/.newmsmtp.log
auth plain
user [email protected]
from [email protected]
tls on
tls_certcheck off
tls_starttls off
tls_force_sslv3 on
account default : home
I have confirmed the path to msmpt and have confirmed it is getting passed to mutt ok by using the "set: sendmail" command.
If I try sending in mutt it errors out with an SSL error but this error never seems to change regardless of what I do to the msmtprc, in fact if I delete the password field in the msmtprs mutt doesn't even ask for the password (I have tried it with and without passwords in the msmptrc - no change.  The precise error message when trying to send from mutt that shows down the bottom of the terminal is
SSL failed: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
This would explain thing but, if I send a test email direct from the CLI using msmtp eg
echo "Please prevent me from throwing this against the wall" | msmtp -a home [email protected]
it sends OK and asks me for the password when I send as well.
I'm at my wits end and have spent numerous hours o it in an effort to get it working.  There must be something simple I am missing.  Anyone's help is appreciated.

Good evening all.
Passing mutt- v find sthat it doesn't appear to be chnaging the sendmail path.....
Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 3.3.4-2-ARCH (i686)
ncurses: ncurses 5.9.20110404 (compiled with 5.9)
libidn: 1.24 (compiled with 1.24)
hcache backend: GDBM version 1.10. 13/11/2011 (built Nov 19 2011 00:26:19)
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE +USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP +USE_SMTP
+USE_SSL_OPENSSL -USE_SSL_GNUTLS +USE_SASL +USE_GSS +HAVE_GETADDRINFO
-HAVE_REGCOMP +USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME +CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[email protected]>.
To report a bug, please visit http://bugs.mutt.org/.
patch-1.5.16hg.cd.trash_folder.vl.1
sidebar-1.5.21-5 (debian-version)
The thing is I do not have sendmail installed.
Does anyone have any suggestions on how to fix this or is it a bug?
Cheers.

Similar Messages

  • I have just bought four songs from iTunes store using my iMac. I can play the music on my iMac and throughout my Apple TV. However after several restarts and double checks I can't get the four tunes to sync with either my iPhone or my iPad.

    I have just bought four songs from iTunes store using my iMac. I can play the music on my iMac and throughout my Apple TV. However after several restarts and double checks I can't get the four tunes to sync with either my iPhone or my iPad. All the software is up to date.

    do you use the same Apple ID on your iMac, your iPhone and iPad? This is a requirement.

  • I just got my mac book pro and i was  wondering if i could get ichat instead of messages and if so, how can i get it?

    i just got my mac book pro and i was  wondering if i could get ichat instead of messages and if so, how can i get it?

    Welcome to the Apple Support Communities
    Messages can't be uninstalled to use iChat. Messages is the same as iChat but with iMessage support. See > http://support.apple.com/kb/HT5395

  • The on/off button on my 6th gen iPod nano recently got spoilt and I sent it back to the shop for a repair/exchange a week ago. Now I have just found out about the new 7th gen iPod nano and I am wondering, can I get the new one as a replacement?

    The on/off button on my 6th gen iPod nano recently got spoilt and I sent it back to the shop for a repair/exchange a week ago. Now I have just found out about the new 7th gen iPod nano and I am wondering, can I get the new one as a replacement?

    No.  You can turn your 6G Nano in to be recycled at your local Apple Store for a 10% discount towards the purchase of a new one. Otherwise, your only other option would be to sell the iPod on Craigslist or eBay and use the proceeds from the sale towards the purchase of the new 7G nano.
    B-rock

  • Just broke my laptop that had CS6 (also have on my desktop and working fine)  how can I get CS6 back onto my new laptop?

    just broke my laptop that had CS6 (also have on my desktop and working fine)  how can I get CS6 back onto my new laptop?

    Hi tydormi,
    Please follow the thread: how can I install PS cc on a new mac? In the creative cloud app it says it is installed where this issue is already discussed.
    Let us know for further query.
    Regards,
    Ratandeep Arora

  • Okay, so my friends music downloaded to my iPhone when i put it on his computer to charge and i re-synced it to mine and all his music is still there but blank and wont play how can i get it off of my phone, its so annoying!!

    Okay, so my friends music downloaded to my iPhone when i put it on his computer to charge and i re-synced it to mine and all his music is still there but blank and wont play how can i get it off of my phone, its so annoying!! My itunes only has like 4 songs because my computer crashed and lost all my songs, and I'm not trying to steal his music. But like I said its still in the music app on the phone but its all blank and wont play. I just want it off.

    When he plugs it into his Mac again, he should be asked if he wishes to sync with that Mac.

  • OS 10.3.9 and Windows 2003 Server - Can't get to the network

    My company just up graded from a Windows 2000 to a Windows 2003 server. I am lone Mac user. Yesterday, with Windows 2000, I had no trouble accessing several drives on the server. Now with this upgrade, I can't log on to any of the drives.
    The IT folks are not that Mac savvy and they've tried a few things regarding security, but they're lost, and haven't found anything from Microsoft that helps. And I know nothing about networking. I've tried searching Apple but can't find anything specific to this problem. I can print to all the networked printers, just can't get to the drives.
    Is there something we're missing here? Something in my System Preferences that we needed to adjust first?
    Thanks.
    Power Mac G5   Mac OS X (10.3.9)  
    Power Mac G5   Mac OS X (10.3.9)  

    My company just up graded from a Windows 2000 to a Windows 2003 server. I am lone Mac user. Yesterday, with Windows 2000, I had no trouble accessing several drives on the server. Now with this upgrade, I can't log on to any of the drives.
    The IT folks are not that Mac savvy and they've tried a few things regarding security, but they're lost, and haven't found anything from Microsoft that helps. And I know nothing about networking. I've tried searching Apple but can't find anything specific to this problem. I can print to all the networked printers, just can't get to the drives.
    Is there something we're missing here? Something in my System Preferences that we needed to adjust first?
    Thanks.
    Power Mac G5   Mac OS X (10.3.9)  
    Power Mac G5   Mac OS X (10.3.9)  

  • I have been using my apple tv to access netflix for several months.  It suddenly stopped working.  When I try to go to netflix from the menu, it says "accessing netflix" but never does.  I can access you tube just fine, but just can't get to netflix.

    I have been using my apple tv to access netflix for several months.  It suddenly stopped working.  When I try to go to netflix from the menu, it says "accessing netflix" but never does.  I can access you tube just fine, but just can't get to netflix.  Any ideas.  I have unplugged everything and waited but nothing helped. 

    Update software. If that doesn't work try resetting.  Mine started working after the update.

  • Port 8080: I know this is simple, I just can't get it to work.

    I'm trying something that I'm sure is relatively simple. But I just can't get it to work. I have OSX Server 10.4.10. I currently have my company site (www.example.com) hosted on it. But I'm trying to get another site hosted on it at port 8080. When I enter my company domain, www.example.com:8080, the page can't be displayed. But when I enter the IP address, such as 192.168.xxx.xxx:8080 from within my network, the correct site shows up. How can I get a website displayed at port 8080 from outside my network? I'm running DD-WRT on my router and have ports 80 and 8080 directed to the IP address of my server.
    Thanks in advance for any help.

    Hi WiFiNetGuy-
    I am a tad confused, which isn't new, but I need to get a grasp on exactly what it is that you are trying to do.
    Do you have both websites (i.e. www.example1.com and www.example2.com) both pointed at the same ip address? How many unique domain names and ip addresses are we talking about?
    From what you describe it sounds like a routing issue but I need more info (:>)
    Luck-
    -DaddyPaycheck

  • My icloud emails arent arriving most of the time and a few days ago my iphone and ipad started showing "Can't Get Mail" box. This has not happened before since I set up the iclud email address with the purchase of my ipad about a month ago.

    My icloud emails arent arriving most of the time and a few days ago my iphone and ipad started showing "Can't Get Mail" box. This has not happened before since I set up the iclud email address with the purchase of my ipad about a month ago.

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • Flash CS6 cant open play SWF files without importing and destroying them, how can I get around this?

    Flash CS6 can't open play SWF files without importing and destroying them, how can I get around this?
    I'm just trying to preview an swf file in flash like I have with all previous versions.

    What if my SWF loads external content from an online server?
    Not only does the current flash player prohibit such activity, it doesn't even pop open an error anymore saying there was an error connecting to an online source.
    Normally, I would simply drag the SWF into Flash and all connections would go through.  I could see traces, errors, and experience no issues.
    Now I can't even do that.  So what then?  You have crippled a fundamental use of the program, but THANK GOD we have that deco brush that nobody asked for.
    And for the record, the nature of my work benefits from not necessarily allowing the Flash Player to connect to online content.  The error it pops up?  That's simply another method of error checking that I require.  Updating the Flash Player options is not an option.
    Why would you even remove this key feature from Flash anyways?  It's been there for years ... has the ratio of people importing SWFs (a rather useless gesture in an increasing OOP world) really outweighed the people using Flash as a testing environment that much?

  • HT201303 How can I reset my security answers ? I do not remember them, and Apple support just can help me if I remember one o more answers. I already have three Follow-ups: 237312883, 374526499 and 239690719 with no solution.

    How can I reset my security answers ? I do not remember them, and Apple support just can help me if I remember one o more answers. I already have three Follow-ups: 237312883, 374526499 and 239690719 with no solution.

    Reset Security Questions
    Frequently asked questions about Apple ID
    Manage My Apple ID
    Or you can email iTunes Support at iTunes Store Support.
    If all else fails:
      1. Go to: Apple Express Lane;
      2. Under Product Categories choose iTunes;
      3. Then choose iTunes Store;
      4. Then choose Account Management;
      5. Now choose iTunes Store Security and answer the bullet questions, then click
          Continue;
      6. Sign in with your Apple ID and press Continue;
      7. Under Contact Options fill out the information and advise iTunes that you would
          like your security/challenge questions reset;
      8. Click Send/Continue.
    You should get a response within 24 hours by email.
    In the event you are unsuccessful then contact AppleCare - Contacting Apple for support and service.
    Another user had success doing the following:
    I got some help from an apple assistant on the phone. It is kind of round about way to get in.
    Here is what he said to do and it is working for me...
      a. on the device that is asking you for the security questions go to "settings", > "store" >
          tap the Apple ID and choose view"Apple ID" and sign in.
      b. Tap on payment information and add a credit/debit card of your preference then select
          "done", in the upper right corner
      c. sign out and back into iTunes on the device by going to "settings"> "store" > tap the
          Apple ID and choose "sign-out" > Tap "sign -in" > "use existing Apple ID" and you
          should be asked to verify your security code for the credit /debit card and NOT the
          security questions.
      d. At this time you can remove the card by going back in to edit the payment info and
          selecting "none" as the card type then saving the changes by selecting "done". You
          should now be able to use your iTunes store credit without answering the security
          questions.
    It's working for me ...I just have to put in my 3 digit security pin from the credit card I am using.
    Good Luck friends!

  • My printer is on line i just can not get it working on my laptop

    my printer is on line i just can not get it working on my laptop

    Hi @murphyett , 
    Thank you for visiting the HP Support Forums and Welcome. I have read about your HP Printer and not working Wirelessly. Here is a link to the HP Print and Scan Doctor. The HP Print and Scan Doctor will run a check on your system.
    What is the model of printer? I would be happy to assist if needed as there are many models of HP Printers I would need the model number. How Do I Find My Model Number or Product Number?
    Please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Please let me know.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • HT4528 I can't remember my icloud ID and password. How can I get that to activate my phone again?

    I can't remember my icloud ID and password. How can I get that to activate my phone again? When I went to update it .. there was an error .. so I restored it from the icloud and now I can't activate it.

    I already started there and I need to reset my icloud info, because I know my apple ID and password and for whatever reason I just reset my apple ID password to see if that did anything, (Which it didn't) In other words, how can I get my icloud reset so I can activate my phone?!!

  • The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on that  wifi network

    The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on my school wifi. I have an iPhone 4S on AT&T and iOS 7.04

    In a roaming network, your "main" router is the device that would require port mapping/forwarding to be configured in order to access the IP camera from the Internet. This router is also the one that would be provide the private IP address for the camera which you will want to be a static one.
    So as you described your network, the IP cameras should be getting an IP address or you assigned it a static one and this is the address that you would enter in the Private IP address (or equivalent depending on the router used) field when setting up port mapping.
    If you are not able to access this camera from the local network, then this should be troubleshot first.

Maybe you are looking for