On Sat, May 12, 2012 at 12:34 AM, Grant Edwards
<grant.b.edwa...@gmail.com> wrote:
> On 2012-05-11, Chris Burdess <d...@bluezoo.org> wrote:
>> Martin De'Pannone wrote:
>>> I have mutt working as far as being able to fetch my emails from an
>>> IMAP mail srver that I run.  The issue is I can not send emails
>>> despite several nights trying to get the thing to work.
>>
>> Presumably it bails before it even gets to authentication. Are you
>> absolutely sure that mail.mailserver.com is running smtps on port 8465?
>> You could try with some other clients like evolution for instance. It
>> may well be running plain SMTP with the option to STARTTLS, which is no
>> less secure - try telnetting to that port and seeing.
>
> The "openssl s_client -connect <host:port>" command can be awfully
> useful when diagnosing stuff like this...
>
>  http://qmail.jms1.net/test-auth.shtml
>
> --
> Grant Edwards               grant.b.edwards        Yow! I want to mail a
>                                  at               bronzed artichoke to
>                              gmail.com            Nicaragua!
>
Hi Grant.

My mail server lives behind a proxy but as I can send on ther mail
clients (thunderbird) and can send using msmtp from the CLI direct I'm
not sure there is a problems with my mail server.  IN any event, here
is the result of the openssl command you suggested........

[martin@thinkpad ~]$ openssl s_client -connect mail.myserver.com:8465
CONNECTED(00000003)
depth=0 CN = Dash.local.kiwiland.net.nz
verify error:num=18:self signed certificate
verify return:1
depth=0 CN = Dash.local.kiwiland.net.nz
verify return:1
---
Certificate chain
 0 s:/CN=Dash.local.kiwiland.net.nz
   i:/CN=Dash.local.kiwiland.net.nz
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIBwTCCASoCCQCyPX4HrwWYtTANBgkqhkiG9w0BAQUFADAlMSMwIQYDVQQDExpE
YXNoLmxvY2FsLmtpd2lsYW5kLm5ldC5uejAeFw0xMTEyMjQwODE2NDdaFw0yMTEy
MjEwODE2NDdaMCUxIzAhBgNVBAMTGkRhc2gubG9jYWwua2l3aWxhbmQubmV0Lm56
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnkjC490hZsqtnT4i9x279JMpG
xYZKCwcAeB25fdRtsJa84Dvstu2ZT+uY9wM57BjGFfKWTVoVpFSWjnWMTD12eXg/
ZCAGAZkVI+lY6ZHkZB9J8y4hd57J5cZutbpOnGGoZ0VOjhCPLUAnnQvMNj05sD11
LmVTMGpcEU3ooyZYzwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFI1W3Y9ZVqu0fzI
zJQRXtNQfPHG7TYvos5q1dMxwhOFanQNr5PyHqAA7kDrWjvTLjPNtz8NzNml5wqZ
FgTn0lcQaUJfbtwOnhqyu98HGzZ8j7F6XwULY6PkcQ8gdpuvhyrN1u1XdYmKHjPg
SkN/uTSYwmjK546vdbwZs18stkZw
-----END CERTIFICATE-----
subject=/CN=Dash.local.kiwiland.net.nz
issuer=/CN=Dash.local.kiwiland.net.nz
---
No client certificate CA names sent
---
SSL handshake has read 1171 bytes and written 426 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: zlib compression
Expansion: zlib compression
SSL-Session:
    Protocol  : TLSv1
    Cipher    : DHE-RSA-AES256-SHA
    Session-ID: 7C7CFDF7F75D12E6B56AA06237C597B9B23D4F5194F4470F6EA62527149F26CC
    Session-ID-ctx:
    Master-Key:
508DED69B38206B389BFCE7CB6E66EFFEBA1D8571CDDA2825706CA77F9DA75C8ABFCDA9A56384B3BA682BDA6BA8BAEF5
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket:
    0000 - c2 e6 d3 66 11 a3 58 f6-30 00 8b 23 cc 3a 96 b6   ...f..X.0..#.:..
    0010 - 9b 8f bc 65 05 78 27 cb-cb ac 23 b7 4f 84 82 6c   ...e.x'...#.O..l
    0020 - 7b 69 09 25 e7 c4 7f 21-23 ff 71 12 0a 79 33 29   {i.%...!#.q..y3)
    0030 - 53 39 26 8d e2 a8 fe 7f-e5 78 fd 5d b8 24 9c ac   S9&......x.].$..
    0040 - c7 aa 97 91 f3 8e d4 fe-90 f4 be e8 ae 10 9d 97   ................
    0050 - 61 25 13 15 fb 14 1f 4a-cc 3f f9 42 48 25 9b dc   a%.....J.?.BH%..
    0060 - 56 79 67 d8 44 42 51 fb-54 35 8a 82 1f 79 f0 a2   Vyg.DBQ.T5...y..
    0070 - 55 62 10 f2 b2 ea 05 97-77 e0 6f 14 94 7b 37 a5   Ub......w.o..{7.
    0080 - ba c1 1f 36 1c c3 c2 b9-17 ac a9 d6 46 a1 e1 70   ...6........F..p
    0090 - 02 10 68 2c ab 0e 16 3a-9b a1 7e 06 d6 db 65 32   ..h,...:..~...e2

    Compression: 1 (zlib compression)
    Start Time: 1336776190
    Timeout   : 300 (sec)
    Verify return code: 18 (self signed certificate)
---
220 mail.myserver.com ESMTP Postfix (Would_you_like_to_play_a_game)


Hope this helps.

Reply via email to