Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 10:43:39 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Bernt Hansson <bah@bananmonarki.se>
Cc:        Josh Tolbert <hemi@puresimplicity.net>, freebsd-questions@freebsd.org
Subject:   Re: Using sendmail as a client with auth
Message-ID:  <alpine.BSF.2.00.1202141036360.7134@mail.fig.ol.no>
In-Reply-To: <4F3A23B0.3040009@bananmonarki.se>
References:  <4F39278A.8040502@bananmonarki.se> <4F392C2D.70900@infracaninophile.co.uk> <4F39ED2B.5010707@bananmonarki.se> <4F3A0705.70506@puresimplicity.net> <4F3A23B0.3040009@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2055831798-1528682800-1329212619=:7134
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Tue, 14 Feb 2012 10:04+0100, Bernt Hansson wrote:

> On 2012-02-14 08:02, Josh Tolbert wrote:
> > On 2/13/2012 11:12 PM, Bernt Hansson wrote:
> > > 
> > > Thank you for your answer.
> > > 
> > 
> > I wrote this ages ago and it's still valid. You can ignore the IMAP
> > stuff if you like. :)
> 
> Well, no cigar for me.
> 
> I'm leaning at this line.
> And I think it is somehow involed in all this "mess"
> 
> sm-mta[37453]: STARTTLS=client, relay=smtp.isp.com., version=TLSv1/SSLv3,
> verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256

I'm sorry for jumping into this thread, but verify=FAIL is expected 
unless you have your ISP's certificate chain stored in the appropriate 
directory with the appropriate file names. /etc/ssl/certs would be a 
good place to store the certificates.

A command like this one can be used to generate the "hashed" file 
names:

ln -s certfile `openssl x509 -noout -hash < certfile`.0

> Any idea about that? The isp does support STARTTLS.
> 
> telnet smtp.isp.com 25
> Trying x.x.x.x...
> Connected to smtp.bredband2.com.
> Escape character is '^]'.
> 220 smtp.isp.com ESMTP Postfix (Ubuntu)
> ehlo localhost
> 250-smtp.isp.com
> 250-PIPELINING
> 250-SIZE 102400000
> 250-VRFY
> 250-ETRN
> 250-STARTTLS
> 250-AUTH PLAIN LOGIN
> 250-AUTH=PLAIN LOGIN
> 250-ENHANCEDSTATUSCODES
> 250-8BITMIME
> 250 DSN
> starttls
> 220 2.0.0 Ready to start TLS
> 
> > http://www.puresimplicity.net/~hemi/freebsd/sendmail.html
> 
> That is a good site. Learnt me how to build sendmail at least.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. dir.   61 14 54 39,      | Office.....: +47 61 14 54 39,      |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
--2055831798-1528682800-1329212619=:7134--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1202141036360.7134>