Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I need help reconfiguring Mutt to work with msmtp

54 views
Skip to first unread message

paul e condon

unread,
Jun 19, 2013, 7:10:01 PM6/19/13
to
This email is being sent from a different email account than the one
using Mutt/msmtp, so don't examine it's metadata to diagnose the problem.

I want to send email from peco...@mesanetworks.net and I have generated
a test email in Mutt (using Emacs). The test email is addressed
To: pec...@gmail.com

The lines in muttrc for outgoing email are:

set sendmail="/usr/bin/msmtp"
set use_from=yes
set realname="Paul E Condon"
set from="peco...@mesanetworks.net"
set envelope_from=yes

The contents of .msmtprc are:

account default
host smtp.everyone.net
from peco...@mesanetworks.net
#tls on
#disable tls_certcheck
auth off
user peco...@mesanetworks.net
#password xxxxx

The error messages from Mutt when I press 'y' to send, are;

Error sending message, child exited 65 (Data format error.).
msmtp: recipient address pec...@gmail.com not accepted by the server
msmtp: server message: 550 Recipient Rejected: Relay not allowed
msmtp: could not send mail (account default from /home/pec/.msmtprc)

I am deliberately setting 'auth off', because after much painful
investigation, I have determined that my ISP does NOT accept encrypted
passwords. The email that I am attempting to send is (from the postponed
file):

From peco...@mesanetworks.net Tue Jun 18 21:30:25 2013
From: Paul E Condon <peco...@mesanetworks.net>
To: paul e condon <pec...@gmail.com>
Subject: Re: send to skybeam for delivery to fetchmail
Message-ID: <20130619032540.GA14273@big>
References: <51C12261...@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <51C12261...@gmail.com>
X-Mutt-References: <51C12261...@gmail.com>
X-Mutt-Fcc: =pec...@gmail.com
Date: Wed, 19 Jun 2013 14:23:03 -0600
Status: RO
Content-Length: 132
Lines: 8

On 20130618_211545, paul e condon wrote:
> for delivery to fetchmail
reply

--
Paul E Condon
peco...@mesanetworks.net
<EOF>

It is a reply to a previous email from pec...@gmail.com that proved
that I can receive emails to peco...@mesanetworks.net using fetchmail.

What is the claimed "Data format error." ???
Is there something else than .muttrc and .msmtprc that must be configured?

Thanks for any help.
Paul






--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/51C234E6...@gmail.com

Olaf Lessenich

unread,
Jun 19, 2013, 7:40:02 PM6/19/13
to
Hi Paul!

On Wed, Jun 19, 2013 at 16:47:02 -0600, paul e condon wrote:
> Is there something else than .muttrc and .msmtprc that must be configured?

Is there a specific reason why you would prefer msmtp over mutt's
built-in* smtp functionality)

* http://wiki.debian.org/Mutt#Sending_E-Mail_with_Mutt

Regards,
Olaf


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2013061923...@thetis.xaitax.net

John L. Cunningham

unread,
Jun 19, 2013, 7:40:03 PM6/19/13
to
On Wed, Jun 19, 2013 at 04:47:02PM -0600, paul e condon wrote:
> The error messages from Mutt when I press 'y' to send, are;
>
> Error sending message, child exited 65 (Data format error.).
> msmtp: recipient address pec...@gmail.com not accepted by the server
> msmtp: server message: 550 Recipient Rejected: Relay not allowed
> msmtp: could not send mail (account default from /home/pec/.msmtprc)
>
> I am deliberately setting 'auth off', because after much painful
> investigation, I have determined that my ISP does NOT accept
> encrypted passwords. The email that I am attempting to send is (from
> the postponed file):

I doubt your ISP is going to let you use their SMTP server without
authentication. Very few people are running open relays these days. If
"auth on" doesn't work, try "auth plain" or "auth login", but be aware
that you will be sending your password in the clear. Does you're ISP
have any instructions on setting up email for different mail clients
like Outlook or Thunderbird? You can usually get the information you
need to get STARTTLS working from that.
--
John


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20130619232...@daikon.vrg.org

paul e condon

unread,
Jun 19, 2013, 8:10:02 PM6/19/13
to
On 06/19/2013 05:31 PM, Olaf Lessenich wrote:
> Hi Paul!
>
> On Wed, Jun 19, 2013 at 16:47:02 -0600, paul e condon wrote:
>> Is there something else than .muttrc and .msmtprc that must be configured?
>
> Is there a specific reason why you would prefer msmtp over mutt's
> built-in* smtp functionality)
>
> * http://wiki.debian.org/Mutt#Sending_E-Mail_with_Mutt
>
> Regards,
> Olaf
>
>

According to my research, in Wheezy, Mutt's 'built-in' functionality is
a link to msmtp, but ... I'm may be mistaken. It may be that the Debian
web pages that I read are coming from some alternative universe.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/51C2429A...@gmail.com

Olaf Lessenich

unread,
Jun 19, 2013, 8:30:01 PM6/19/13
to
On Wed, Jun 19, 2013 at 17:45:30 -0600, paul e condon wrote:
> According to my research, in Wheezy, Mutt's 'built-in' functionality
> is a link to msmtp, but ... I'm may be mistaken. It may be that the
> Debian web pages that I read are coming from some alternative
> universe.

No, I do not think there is such a dependency/link/whatsoever. Please
provide a source for this claim.

Olaf


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20130620002...@thetis.xaitax.net

paul e condon

unread,
Jun 19, 2013, 9:40:01 PM6/19/13
to
On 06/19/2013 05:28 PM, John L. Cunningham wrote:
> On Wed, Jun 19, 2013 at 04:47:02PM -0600, paul e condon wrote:
>> The error messages from Mutt when I press 'y' to send, are;
>>
>> Error sending message, child exited 65 (Data format error.).
>> msmtp: recipient address pec...@gmail.com not accepted by the server
>> msmtp: server message: 550 Recipient Rejected: Relay not allowed
>> msmtp: could not send mail (account default from /home/pec/.msmtprc)
>>
>> I am deliberately setting 'auth off', because after much painful
>> investigation, I have determined that my ISP does NOT accept
>> encrypted passwords. The email that I am attempting to send is (from
>> the postponed file):
>
> I doubt your ISP is going to let you use their SMTP server without
> authentication. Very few people are running open relays these days. If
> "auth on" doesn't work, try "auth plain" or "auth login", but be aware

Changing to "auth login" and adding a "password xxx" ( w/o hash mark )
has fixed the problem.

> that you will be sending your password in the clear. Does you're ISP
> have any instructions on setting up email for different mail clients
> like Outlook or Thunderbird? You can usually get the information you
> need to get STARTTLS working from that.

Thanks for pointing out the error in my config, especially so quickly.
Cheers,
Paul


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/51C25831...@gmail.com

låzaro

unread,
Jun 25, 2013, 8:50:01 AM6/25/13
to
try something like this in your .msmtprc:


defaults
logfile ~/.msmtp.log

# el bufete LEX
account lex
host mail.lex-sa.cu
from pec...@gmail.com
auth on
tls on
tls_certcheck off
user pec11xx
password yourpassword


if do not work in that way, try adding the @gmail.com after the username...


Thread name: "Re: I need help reconfiguring Mutt to work with msmtp"
Mail number: 2
Date: Wed, Jun 19, 2013
In reply to: John L. Cunningham
--
-------- Warning! ------------
100'000 pelos de escoba fueron
introducidos satisfactoriamente
en su puerto USB.






--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20130624235131.GO22723@utopian
0 new messages