On 22-Jun-2001 Riaz wrote:
> Hello,
>
> I believe I have figured out why Netscape requires a username
> to relay messages even when smtprelay.tab is set to allow
> the IP to relay without authentication.
>
> For anyone who didn't follow the thread, what was happening
> was that I could not relay messages using Netscape and xmail.
> Outlook and Eudora worked fine, but Netscape REQUIRED a username
> and password. Using some help from tcpdump I believe I have
> figured out why I was having problems.
>
> When Netscape connects to a mail server it sends
> a "ehlo domain.tld" statement, when xmail responds
> it sends:
>
> 250-VRFY
> 250-ETRN
> 250-8BITMIME
> 250-PIPELINING
> 250 AUTH LOGIN PLAIN CRAM-MD5 RSA-AUTH
>
> When Netscape sees the word PLAIN, it would force the user
> to enter a username and password.
> I edited SMTPSvr.cpp and removed the word PLAIN from the
> '250 AUTH LOGIN ....' line. (line 2125) in xmail 0.73
>
> I recompiled Xmail and now Netscape can send mail just fine!
> Woohoo! Isn't open source great? :)
>
> Davide, will removing the word PLAIN from that line cause
> any problems that you can think of? Thanks for your help...
Try to swap PLAIN with CRAM-MD5 and see what happens.
You can remove PLAIN but I'll not remove it from the sources so You'll have to
patch XMail by hand.
This is not an XMail problem but a netscape one.
- Davide