[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] HELP for msmtp: GNU SASL: GSSAPI error in client while negotiating security context in gss_init_sec_context()



Hi!

On Mon, 22. Dec 2008, 18:41:39 +0530, Sharad Pratap wrote:
> I want to send mail from my ofice which uses a exchange server, using smtp.
> but due to it use GSSAPI or NTLM both authentications for outside mail,
> I am not able to configure msmtprc properly to send mail outside.

> <-- 250-AUTH GSSAPI NTLM LOGIN

This looks like you can manually choose the LOGIN authentication method
using "auth login" in your .msmtprc. That should work, but since you are
not using TLS, your password will be sent unencrypted over the net.

If you are using a secure VPN to connect to your company's network, that
might be acceptable. Otherwise, you could try to find out if the server
supports TLS on a different port, i.e. without STARTTLS:
msmtp --serverinfo --host=exchange --tls --tls-starttls=off --tls-certcheck=off

If this works, use "tls on", "tls_starttls off" and "tls_trustfile
/path/to/file" to use TLS.

Regards,
Martin