On Fri, May 11, 2012 at 10:33:33PM +0800, Martin De'Pannone wrote: > Hello all. > > New to mutt and to the mailing list. > > I have mutt working as far as being able to fetch my emails from an > IMAP mail srver that I run. ?The issue is I can not send emails > despite several nights trying to get the thing to work. > > Below is my .muttrc > > ######## > #muttrc by martin thanks to brisbin > ######## > > set realname = "Martin De" > set imap_user = "mar...@mailserver.com" > set folder=imaps://mail.mailserver.com:8993/ > set spoolfile=+INBOX > set record=imaps://mail.mailserver.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="mar...@mailserver.com"
> #set sendmail = "/usr/bin/msmtp -a home -X /home/martin/.newmsmtp.log" I think after "-a" you need your mail account name. e.g. x...@gmail.com. What is in your .msmtprc file? The account and logfile are best put there. Brian. > #set ssl_verify_host = no > #set ssl_verify_dates = no > set use_from=yes > set envelope_from=yes > set my_user=mar...@mailserver.com > set smtp_url=smtps://mar...@mailserver.com@mail.mailserver.com:8465/ > set ssl_force_tls = 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 > > This fails with the following error..... > > "SSL failed: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol" > > > > I have tried also using msmtp, this gives me the same error. > > My .msmtprc is below > > account home > host mail.mailserver.com > port 8465 > protocol smtp > logfile /home/martin/.newmsmtp.log > auth plain > user mar...@mailserver.com > from mar...@mailserver.com > tls on > tls_certcheck off > tls_starttls off > tls_force_sslv3 on > > account default : home > > It gives me the exact same error, in fact, it doesn't even prompt me > for a password which I would have thought t would have. > > I have now tried the same config on two different mutt builds in > archlinux (see link following to my post on arch linux forums > https://bbs.archlinux.org/viewtopic.php?id=141204) and both builds > have the same error mentioned above despite some helpful input from > the archlnux?community. > > > On a possibly related note the self-signed SSL cert will not save > despite me selecting "a" when prompted during the retrieval of my > email - perhaps this is a related error or something? > > Can someone possibly give me some guidance on how to fix this problem? > ?Is there anything else I can provide that will help you help me? > > Thank you all. > Martin -- "If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed." -- Albert Einstein Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au