Skip to Content.
Sympa Menu

baslinux - Re: [BL] msmtp for BL2 - authenticating mail transport agent

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] msmtp for BL2 - authenticating mail transport agent
  • Date: Mon, 26 Mar 2007 02:09:26 +0000 (UTC)

On Sun, 25 Mar 2007 baslinux AT lists.ibiblio.org wrote:

My ISP started requiring authentication for outgoing mail a couple of
months ago, which pmail does not handle. BL3 Sylpheed needs BL3 libX11.
So I compiled msmtp for BL2.

http://keesan.freeshell.org/bl/msmtp-1.4.10-glibc225.tgz
Jan 2007. I omitted nls (German language version).

I included msmtp.1 msmtp.html msmtp.info, and Mutt-msmtp.txt, which
explains how to set up with mutt. This did not work for me. Now instead
of 'Child exited 127' I get 'Child exited 60 (Service unavailable)'. I
made a /root/.msmtp and modified .muttrc as instructed, but may have
misunderstood how to do this. Would someone else using mutt please try
this? Or even try it with 'mail', or CLI sending from stdin. 60K file,
libc ld-linux.

Do we really need tls/cert.pem to send mail? It is large.
If not, msmtp/libc5 could fit in the extra space of BL3.50-floppy.

I had mutt working as a mailer with links. Can sylpheed be used with
links2 in X?

Sindi


cert.pem is used by tls (encrypts your username and password)?

I was getting a message about child exited 69 Service unavailable.
I changed tls on to tls off and renamed cert.pem (to prove it is not needed if you do not use tls) and now it sends.

The unavailable service is TLS. I figured this out while reading about someone sending mail to a choice of two servers, one of which did not offer TLS.

All you need to send authorized mail is msmtp itself, which can be used via the command line or with a config file:

/root/.msmtprc or /usr/local/etc/msmtprc

See Mutt+msmtp.txt (in my package) for using it with mutt.

/usr/local/etc/msmtprc is:

account default
from [reply-to-address]
user [login used with the ISP you are sending via
password [for this ISP]
auth on
tls off [or tls on and use cert.pem, if supported]

Change two lines in /root/Mail/.muttrc as instructed:
set sendmail="usr/local/bin/msmtp"
(rather than the script Christof wrote based on pmail)
set from=[reply-to-address]

I don't know 'if set from' is even needed if you have a config file.

I have links2 links.cfg set to use mutt.
mailto "mu %" 1
(instead of mailto "mailto %" 1)

/usr/local/bin/mu is:

mutt $1 -F ~/Mail/.muttrc (I think I added the $1)
clear


Has anyone used msmtp with Steven's 'mail' program instead of "pmail -o"?
How do you tell it to send what is in the outbox?

Sindi




Archive powered by MHonArc 2.6.24.

Top of Page