<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Nico,<br>
<br>
The relevant snip from my user config file is:<br>
<br>
poll owa.massey.ac.nz with<br>
proto pop3<br>
user prynhart there with password "******" is prynhart here<br>
ssl<br>
mda "/usr/bin/procmail -d %s"<br>
<br>
The host "owa.massey.ac.nz" is a Microsoft Exchange 2007 Outlook Web
Access node.<br>
<br>
If I try invoking the debian packaged version of fetchmail I get:<br>
<br>
$ /usr/bin/fetchmail -v<br>
fetchmail: 6.3.9-rc2 querying owa.massey.ac.nz (protocol POP3) at Mon
08 Feb 2010 08:38:25 NZDT: poll started<br>
Trying to connect to 130.123.129.207/995...connected.<br>
fetchmail: Issuer Organization: DigiCert Inc<br>
fetchmail: Issuer CommonName: DigiCert High Assurance CA-3<br>
fetchmail: Server CommonName: owa.massey.ac.nz<br>
fetchmail: Subject Alternative Name: owa.massey.ac.nz<br>
fetchmail: Subject Alternative Name: exchange.massey.ac.nz<br>
fetchmail: Subject Alternative Name: autodiscover.massey.ac.nz<br>
fetchmail: Subject Alternative Name: tur-exchcas1<br>
fetchmail: Subject Alternative Name: tur-exchcas2<br>
fetchmail: owa.massey.ac.nz key fingerprint:
D1:05:DB:94:20:7A:B9:E7:0D:71:EB:D9:93:65:0E:18<br>
fetchmail: POP3< +OK Microsoft Exchange Server 2007 POP3 service
ready<br>
fetchmail: POP3> CAPA<br>
fetchmail: POP3< +OK<br>
fetchmail: POP3< TOP<br>
fetchmail: POP3< UIDL<br>
fetchmail: POP3< SASL NTLM GSSAPI PLAIN<br>
fetchmail: POP3< USER<br>
fetchmail: POP3< .<br>
fetchmail: POP3> AUTH GSSAPI<br>
fetchmail: POP3< + <br>
fetchmail: Sending credentials<br>
fetchmail: Error exchanging credentials<br>
fetchmail: POP3< +
YGAGBisGAQUFAqBWMFSgMDAuBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKoZIhvcSAQICAwYKKwYBBAGCNwICCqMgMB6gHBsadHVyLWV4Y2hjYXMxJEBNQVNTRVkuQUMuTlo=<br>
fetchmail: POP3> USER prynhart<br>
fetchmail: POP3< -ERR Logon failure: unknown user name or bad
password.<br>
fetchmail: Logon failure: unknown user name or bad password.<br>
fetchmail: Authorization failure on <a class="moz-txt-link-abbreviated" href="mailto:prynhart@tur-exchcas.massey.ac.nz">prynhart@tur-exchcas.massey.ac.nz</a><br>
fetchmail: POP3> QUIT<br>
fetchmail: POP3< +OK Microsoft Exchange Server 2007 POP3 server
signing off.<br>
fetchmail: 6.3.9-rc2 querying owa.massey.ac.nz (protocol POP3) at Mon
08 Feb 2010 08:38:25 NZDT: poll completed<br>
fetchmail: Query status=3 (AUTHFAIL)<br>
fetchmail: normal termination, status 3<br>
<br>
Please note the "Error Exchanging Credentials" which occurs prior to
the attempt to send username/password combination.<br>
<br>
If I aptitude remove fetchmail, build fetchmail from source with SSL
support enabled, I get:<br>
<br>
~$ fetchmail -v<br>
fetchmail: 6.3.13 querying owa.massey.ac.nz (protocol POP3) at Mon 08
Feb 2010 08:40:24 NZDT: poll started<br>
Trying to connect to 130.123.129.207/995...connected.<br>
fetchmail: Issuer Organization: DigiCert Inc<br>
fetchmail: Issuer CommonName: DigiCert High Assurance CA-3<br>
fetchmail: Server CommonName: owa.massey.ac.nz<br>
fetchmail: Subject Alternative Name: owa.massey.ac.nz<br>
fetchmail: Subject Alternative Name: exchange.massey.ac.nz<br>
fetchmail: Subject Alternative Name: autodiscover.massey.ac.nz<br>
fetchmail: Subject Alternative Name: tur-exchcas1<br>
fetchmail: Subject Alternative Name: tur-exchcas2<br>
fetchmail: owa.massey.ac.nz key fingerprint:
D1:05:DB:94:20:7A:B9:E7:0D:71:EB:D9:93:65:0E:18<br>
fetchmail: POP3< +OK Microsoft Exchange Server 2007 POP3 service
ready<br>
fetchmail: POP3> CAPA<br>
fetchmail: POP3< +OK<br>
fetchmail: POP3< TOP<br>
fetchmail: POP3< UIDL<br>
fetchmail: POP3< SASL NTLM GSSAPI PLAIN<br>
fetchmail: POP3< USER<br>
fetchmail: POP3< .<br>
fetchmail: POP3> USER prynhart<br>
fetchmail: POP3< +OK<br>
fetchmail: POP3> PASS *<br>
fetchmail: POP3< +OK User successfully logged on.<br>
fetchmail: POP3> STAT<br>
fetchmail: POP3< +OK 0 0<br>
fetchmail: No mail for prynhart at owa.massey.ac.nz<br>
fetchmail: POP3> QUIT<br>
fetchmail: POP3< +OK Microsoft Exchange Server 2007 POP3 server
signing off.<br>
fetchmail: 6.3.13 querying owa.massey.ac.nz (protocol POP3) at Mon 08
Feb 2010 08:40:25 NZDT: poll completed<br>
fetchmail: normal termination, status 1<br>
<br>
I note that the Debian packaged version attempts an "AUTH GSSAPI" which
appears to fail whereas the version of fetchmail build from source does
not attempt this.<br>
<br>
Regards,<br>
<br>
Patrick<br>
<div class="moz-signature">
<p></p>
<div><span
style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;">Dr
Patrick Rynhart</span><br>
<span style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;">Linux
Systems Administrator / Team Leader</span><br>
<span style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;">IT
Support Group</span><br>
<span style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;">School
of Engineering and Advanced Technology</span><br>
<span style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;">AgHort
A Room 3.61</span><br>
<span style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;">Massey
University (Turitea Campus)</span><br>
<span style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;">NEW
ZEALAND</span><br>
<span style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;">Phone
+64 6 356 9099 extn 2444</span><br>
<span style="font-family: Tahoma,Sans Serif,Arial; font-size: 12px;"><br>
<img src="cid:part1.02060807.00060905@massey.ac.nz">
</span></div>
</div>
<br>
<br>
Nico Golde wrote:
<blockquote cite="mid:20100207193121.GD30053@ngolde.de" type="cite">
<pre wrap="">Hey,
* Patrick Rynhart <a class="moz-txt-link-rfc2396E" href="mailto:P.Rynhart@massey.ac.nz"><P.Rynhart@massey.ac.nz></a> [2010-02-06 19:54]:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks for your mail. However, I'm not trying to match the version of fetchmail
shipped with Lenny - just attempting to get a version of fetchmail with SSL
support that works within our environment. (In particular, I'm not using Debian
src, rather the tgz downloaded direct from the fetchmail site.)
</pre>
</blockquote>
<pre wrap=""><!---->
Ok
</pre>
<blockquote type="cite">
<pre wrap="">What I have noticed is that if I "aptitude install fetchmail" then we end up
with a version of fetchmail which is unable to retrieve messages via POP3 in
our Exchange 2007 environment; this has been confirmed by other users of this
shared server. However, if I build fetchmail with SSL support from source
(obtained direct from the fetchmail website) then mail can be retrieved.
</pre>
</blockquote>
<pre wrap=""><!---->
Can you please provide a relevant snippet of your config file?
Cheers
Nico
</pre>
</blockquote>
</body>
</html>