Hi! On Mon, 01 Dec 2014 11:49:22 +0000, roc...@nanooq.org wrote: > $ echo 'some text' | msmtp --account roc...@nanooq.org > pleaseple...@please.work msmtp: GNU SASL: GSSAPI error in client > while negotiating security context in gss_init_sec_context() in SASL > library. This is most likely due insufficient credentials or > malicious interactions.
You specify user and password, but msmtp chooses the GSSAPI authentication method, which is based on something else. The problem here is that msmtp should choose a traditional user/password authentication method, not GSSAPI. The workaround therefore is to choose a suitable method yourself, in your case probably --auth=login (btw, an SMTP server that only supports GSSAPI, NTLM, and LOGIN could be considered problematic). Probably msmtp should never choose GSSAPI automatically, the user should always request it manually. I will apply a patch to that effect shortly. At one time, I added support for GSSAPI to msmtp just for completeness reasons and to learn about the different methods. I even managed to set up a test server that handles this kind of thing. But now I think it is mostly useless, I never heard of anyone actually using this. It seems messy and overcomplicated and nearly impossible to setup up correctly or debug. Maybe things have improved, but I doubt it. Does someone here have experiences with GSSAPI? Regards, Martin ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ msmtp-users mailing list msmtp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msmtp-users