nmh-workers
[Top] [All Lists]

[Nmh-workers] Help with SASL/TLS

2014-05-13 14:00:48
I just compiled nmh 1.5 with:

    $ ./configure --enable-lockdir=$HOME/var/mail --with-cyrus-sasl
      --with-tls --prefix $HOME/lib/nmh

I added the following to .mh_profile:

    send: -msgid -server smtp01.ndc.nasa.gov -port 587 -tls -sasl -user bwohler

and .netrc:

    machine smtp01.ndc.nasa.gov login bwohler password <password>

When I tried to send, I got the following error:

    What now? s -snoop -watch
    Trying to connect to "smtp01.ndc.nasa.gov" ...
    Connecting to 198.117.1.102...
    <= 220 smtp01.ndc.nasa.gov Microsoft ESMTP MAIL Service ready at Tue, 13 
May 2014 13:42:50 -0500
    => EHLO quantum.amn.nasa.gov
    <= 250-smtp01.ndc.nasa.gov Hello [192.92.169.34]
    <= 250-SIZE 20971520
    <= 250-PIPELINING
    <= 250-DSN
    <= 250-ENHANCEDSTATUSCODES
    <= 250-STARTTLS
    <= 250-AUTH GSSAPI NTLM
    <= 250-8BITMIME
    <= 250-BINARYMIME
    <= 250 CHUNKING
    => STARTTLS
    <= 220 2.0.0 SMTP server ready
    SSL negotiation successful: AES128-SHA(128) TLSv1/SSLv3
    (tls-encrypted) => EHLO quantum.amn.nasa.gov
    (tls-decrypted) <= 250-smtp01.ndc.nasa.gov Hello [192.92.169.34]
    (tls-decrypted) <= 250-SIZE 20971520
    (tls-decrypted) <= 250-PIPELINING
    (tls-decrypted) <= 250-DSN
    (tls-decrypted) <= 250-ENHANCEDSTATUSCODES
    (tls-decrypted) <= 250-AUTH GSSAPI NTLM LOGIN
    (tls-decrypted) <= 250-8BITMIME
    (tls-decrypted) <= 250-BINARYMIME
    (tls-decrypted) <= 250 CHUNKING
    (tls-encrypted) => RSET
    (tls-decrypted) <= 250 2.0.0 Resetting
    (tls-encrypted) => QUIT
    (tls-decrypted) <= 221 2.0.0 Service closing transmission channel
    post: problem initializing server; [BHST] SASL client start failed: 
SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code 
may provide more information (Credentials cache file '/tmp/krb5cc_501' not 
found)
    send: message not delivered to anyone

Can you see any obvious problems with my configuration or usage?

-- 
Bill Wohler <wohler(_at_)newt(_dot_)com> aka 
<Bill(_dot_)Wohler(_at_)nasa(_dot_)gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>