On 11/09/2014 05:28 PM, JaviMicro wrote:

Hi,

echo "Test" | /usr/bin/mutt -s Hello d...@dalekelly.org
Error in /home/dale/.muttrc, line 353: smtp_user: unknown variable
source: errors in /home/dale/.muttrc
SMTP session failed: 530 authentication required
Could not send the message.

I have needed some days to understand your problem.

All we need read carefully the error:
      smtp_user: unknown variable

After reading manual pages of both stable and devel mutt releases:
   http://www.mutt.org/doc/manual/manual-6.html
   http://www.mutt.org/doc/devel/manual.html
we can see that both
    imap_user
    pop_user
are valid variables, BUT PLEASE NOTE THAT
    smtp_user
is_not_a_valid_variable!.


Please use both email address and SMTP server combined in one line,
something like:
    set smtp_url="smtps://myusern...@dalekelly.org@smtpout.secureserver.net:465"
    set smtp_pass="MYPASSWORD"

Regards
--
Javi



new errors! thanks much

tried this with a fresh install of my ubuntu version mutt 1.5.21-6.4ubuntu2
(I uninstall the dev, and the old ubuntu one, first)

I get no errors with
echo "Test" | /usr/bin/mutt -s Hello d...@dalekelly.org
(and other emails tried)
but no emails received

if I use the mutt terminal interface I get
SMTP session failed: 550 <dale@dale-w3653> Sender Rejected - MAIL FROM must be a valid domain

added
set realname="Dale"
set from="d...@dalekelly.org"

and get

SMTP session failed: 550 <d...@dale-w3653.hsd1.pa.comcast.net> Sender Rejected - MAIL FROM must be a valid domain

when I install Mutt from the Ubuntu Software Center it says it has ESMTP support and not SMTP

the Ubuntu wiki for Mutt says mutt needs an MTA and is Postfix by default, then goes on with SSMTP instructions

isn't sendmail a MTA?
I know I can't use sendmail with my ISP
again, Thunderbird works in both SSL/TLS and no SSL/TLS

maybe I will have to try the dev version, 1.5.23
it has documentation of SMTP without mention of MTA





--
(my whereabouts below)
http://www.dalekelly.org/

Reply via email to