The firewall for the office network was blocking the "EHLO" command coming
from my email client.

I used Ethereal to record a working conversation and the broken one, and
compared the two.

I also saw a significant difference between the initial connection response
when using telnet to the servers, one behind the firewall, one not.

Problem solved.

-Chris

> -----Original Message-----
> From: Chris Means [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, November 20, 2004 2:08 PM
> To: 'James Users List'
> Subject: Strange Authentication problem
> 
> Hi,
> 
> I've setup a new james 2.2.0 server.
> 
> I can send email to it just fine (through another MTA).
> I can send messages to users on it, directly via SMTP.
> I can pick-up email via POP3 from it.
> I cannot however, relay through it.
> 
> I have authentication turned-on.
> I have the RemoteAddrNotInNetwork mailet commented out.
> 
> In my email client (Outlook), I have the SMTP authentication 
> turned on, and I have the same user id and password entered 
> as I do for the POP3 entry.
> 
> The configuration of this server, is all but identical to 
> another installation that's using 2.2.0 RC3, but it's 
> relaying just fine (authentication turned on, etc..).
> 
> I have turned on DEBUG level logging for SMTP and here's what 
> I'm seeing:
> 
> (I've changed the actual server name to "myserver".)
> 
> 20/11/04 13:57:09 DEBUG smtpserver: Retrieving a 
> org.apache.james.smtpserver.SMTPHandler from the pool
> 20/11/04 13:57:09 DEBUG smtpserver: Getting SMTPHandler from pool.
> 20/11/04 13:57:09 INFO  smtpserver: Connection from intfar.com
> (66.92.129.218)
> 20/11/04 13:57:09 DEBUG smtpserver: Sent: 220 
> mail.myserver.com SMTP Server (JAMES SMTP Server 2.2.0) ready 
> Sat, 20 Nov 2004 13:57:09 -0600 (CST)
> 20/11/04 13:57:09 DEBUG smtpserver: Calling start()
> 20/11/04 13:57:09 DEBUG smtpserver: Watchdog default Worker 
> #5 has time to sleep 360000
> 20/11/04 13:57:09 DEBUG smtpserver: Command received: XXXX ENGINEERING
> 20/11/04 13:57:09 DEBUG smtpserver: Sent: 500 
> mail.myserver.com Syntax error, command unrecognized: XXXX
> 20/11/04 13:57:09 DEBUG smtpserver: Calling reset() default Worker #5
> 20/11/04 13:57:09 DEBUG smtpserver: Command received: HELO ENGINEERING
> 20/11/04 13:57:09 DEBUG smtpserver: Sent: 
> 250-mail.myserver.com Hello ENGINEERING (intfar.com [66.92.129.218])
> 20/11/04 13:57:09 DEBUG smtpserver: Sent: 250-AUTH LOGIN PLAIN
> 20/11/04 13:57:09 DEBUG smtpserver: Sent: 250 AUTH=LOGIN PLAIN
> 20/11/04 13:57:09 DEBUG smtpserver: Calling reset() default Worker #5
> 20/11/04 13:57:09 DEBUG smtpserver: Command received: MAIL FROM:
> <[EMAIL PROTECTED]>
> 20/11/04 13:57:09 DEBUG smtpserver: Sent: 250 Sender 
> <[EMAIL PROTECTED]> OK
> 20/11/04 13:57:09 DEBUG smtpserver: Calling reset() default Worker #5
> 20/11/04 13:57:09 DEBUG smtpserver: Command received: RCPT TO:
> <[EMAIL PROTECTED]>
> 20/11/04 13:57:09 DEBUG smtpserver: Sent: 530 Authentication Required
> 20/11/04 13:57:09 ERROR smtpserver: Rejected message - 
> authentication is required for mail request
> 20/11/04 13:57:09 DEBUG smtpserver: Calling reset() default Worker #5
> 20/11/04 13:57:12 DEBUG smtpserver: Command received: QUIT
> 20/11/04 13:57:12 DEBUG smtpserver: Sent: 221 
> mail.myserver.com Service closing transmission channel
> 20/11/04 13:57:12 DEBUG smtpserver: Calling stop() default Worker #5
> 20/11/04 13:57:12 DEBUG smtpserver: Closing socket.
> 20/11/04 13:57:12 DEBUG smtpserver: Calling disposeWatchdog() 
> default Worker
> #5
> 20/11/04 13:57:12 DEBUG smtpserver: Watchdog default Worker 
> #5 is exiting run().
> 20/11/04 13:57:12 DEBUG smtpserver: Returning SMTPHandler to pool.
> 20/11/04 13:57:12 DEBUG smtpserver: Returning a 
> org.apache.james.smtpserver.SMTPHandler to the pool
> 
> Can anyone shed any light on what might be wrong?
> 
> Thanks.
> 
> -Chris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to