On Sat, Nov 08, 2014 at 11:59:47PM -0500, DaleKelly wrote:
> On 11/08/2014 10:15 PM, Patrick Shanahan wrote:
> >* DaleKelly <d...@dalekelly.org> [11-08-14 21:35]:
> >>I am using Ubuntu 14.04 LTS
> >>mutt 1.5.21-6.4ubuntu2 is the version in the repository
> >  [...]  much removed
> >
> >grep -v ^# ~/.muttrc
> >
> >there is no need of including lines not being actually used!
> >
> 
> mutt is not looking at my ~/.muttrc
> it is using the global /etc/Muttrc
> I don't yet know how to change this
> 
> here is my error
>  echo "Test" | /usr/bin/mutt -s Hello d...@dalekelly.org
> Error in /etc/Muttrc, line 145: smtp_user: unknown variable
> source: errors in /etc/Muttrc
> SMTP session failed: 530 authentication required
> Could not send the message.
> 
> 

More likely mutt is using both.  First reading the system's
/etc/Muttrc and then your local ~/.muttrc for any personalization.
When it encounters an error it may abort and not go furthern.
Thus errors in /etc/Muttrc could mean it never gets to ~/.muttrc.

> anyways, here is the result of what you asked for my /etc/Muttrc
> 
> grep -v ^# /etc/Muttrc
> 
> ignore *
> unignore from: subject to cc date x-mailer x-url user-agent
> hdr_order date from to cc subject
> bind editor    "\e<delete>"    kill-word
> bind editor    "\e<backspace>" kill-word
> bind editor     <delete>  delete-char
> set sort=threads
> unset bounce_delivered
> set mixmaster="mixmaster-filter"
> set ssl_ca_certificates_file="/etc/ssl/certs/ca-certificates.crt"
> macro index \eb "<search>~b " "search in message bodies"
> macro index,pager,attach,compose \cb "\
> <enter-command> set my_pipe_decode=\$pipe_decode pipe_decode<Enter>\
> <pipe-message> urlview<Enter>\
> <enter-command> set pipe_decode=\$my_pipe_decode; unset
> my_pipe_decode<Enter>" \
> "call urlview to extract URLs out of a message"
> macro generic,pager <F1> "<shell-escape> zcat
> /usr/share/doc/mutt/manual.txt.gz | sensible-pager<enter>" "show Mutt
> documentation"
> macro index,pager y "<change-folder>?<toggle-mailboxes>" "show incoming
> mailboxes list"
> bind browser y exit
> mime_lookup application/octet-stream
> set time_inc=250
> attachments   +A */.*
> attachments   -A text/x-vcard application/pgp.*
> attachments   -A application/x-pkcs7-.*
> attachments   +I text/plain
> attachments   -A message/external-body
> attachments   -I message/external-body
> source /usr/lib/mutt/source-muttrc.d|
> set from = "d...@dalekelly.org"
> set realname = "Dale"
> 
> 
> 
> set smtp_url=smtp://smtpout.secureserver.net:80
> set smtp_user=d...@dalekelly.org
> 
> 
> -- 
> (my whereabouts below)
> http://www.dalekelly.org/
>>> End of included message <<<

-- 
Jon H. LaBadie                 j...@jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (609) 477-8330 (C)

Reply via email to