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

Re: Fetchmail and NTLM configuration



There are those who would have you believe that kmself@ix.netcom.com wrote:
> On Mon, Oct 09, 2000 at 02:06:12PM -0700, Aaron Brashears (aaron@myplay.com) wrote:
> > Andy Bastien wrote:
> > > You might not even need to use NTLM to access the server, as Exchange
> > > servers accept plaintext authentication by default.  If your NT account
> > > is the primary account for the mailbox, try just using your username
> > > and password or domain/username and password.  IMAP is more
> > > complicated than POP3, but you can telnet in on port 143 to test your
> > > username and password:
> > > 
> > > frodo:~$telnet mail.foobar.com 143
> > > Trying 10.10.10.10...
> > > Connected to 10.10.10.10.
> > > Escape character is '^]'.
> > > * OK Microsoft Exchange IMAP4rev1 server version 5.5.2650.23 (MAILSERVER) ready
> > > a001 login username password
> > > a001 OK LOGIN completed.
> > > a002 logout
> > > * BYE Microsoft Exchange IMAP4rev1 server version 5.5.2650.23 signing off
> > > a002 OK LOGOUT completed.
> > > Connection closed by foreign host.
> > > frodo:~$
> > 
> > 
> > Telnetting into the port worked, but that doesn't match the log given my
> > fetchmail. Fetchmail has a lot of strange stuff going across the wire
> > according to the -v log. How do I configure fetchmail to use imap
> > plaintext?
> 
> Set proto to IMAP, possibly IMAP-LOGIN?
> 
> I don't have experience with this, but can read a man page <g>.
> 

The log that you posted shows IMAP the way it's supposed to be used.
The stuff the I posted was just enough to show how to check if your
server will accept plaintext authentication.  Any mail client that
does what I did is probably broken, but I'm a human so I have an
excuse ;-).

With the NTLM, It looks like you're trying to use
"domain/username/smtp" to access this mailbox, when what I think you
want is "domain/username/mailbox".  Remember, Exchange is not a native
SMTP server, and your SMTP address is not directly related to the
mailbox name. It's a pretty standard procedure to make the mailbox name
to be the same as your username, so you could try that
(i.e. corp/abrashears/abrashears).

The instructions for regular IMAP are in the man page.  Fetchmail
might be out-thinking itself and automatically using NTLM
authentication because it sees that the server supports it.  If this
is the case, you should be able to force fetchmail to use password
authentication.  I don't know the option off-hand. 



Reply to: