You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by D'Arcy Norman <dl...@ucalgary.ca> on 2002/04/25 05:44:34 UTC
SMTP AUTH fails?
Howdy!
I've been plugging away trying to get James set up on a project server.
Very impressed by the scope and accomplishments of the project thus far
(and am looking forward to IMAP, too!)
My goal is to be able to have a manageable mail server that provides
access (send and receive) to messages from anywhere, so I was hoping to
use SMTP authentication to allow connections from any physical address.
The problem appears to be that the SMTP AUTH connection fails when
sending messages to external addresses. Messages sent to other James
accounts work just fine.
My smtpserver.log file contains a series of entries like this:
(servernames and ip addresses left in for sake of completeness)
Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Hello Name is:
socrates.dyndns.info
Wed Apr 24 20:59:59 MDT 2002 [DEBUG ] (smtpserver): Max message size
is: 0
Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Connection from
h24-64-95-243.cg.shawcable.net (24.64.95.243)
Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Command received:
EHLO h24-64-95-243
Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Command received:
MAIL FROM:<dn...@socrates.dyndns.info>
Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Command received:
RCPT TO:<da...@shaw.ca>
Wed Apr 24 20:59:59 MDT 2002 [ERROR ] (smtpserver): Authentication is
required for mail request
Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Command received:
QUIT
I've tried several mail clients (on MacOSX: Mail.app, GnuMail.app,
Entourage) and all have the same result (except Entourage seemed to
trigger a "connection reset by peer" error message in smtpserver.log)
I have the following smtp settings:
<helloName autodetect="TRUE">myMailServer</helloName>
<connectiontimeout>360000</connectiontimeout>
<authRequired>true</authRequired>
<maxmessagesize>0</maxmessagesize>
The rest of the smtp settings were left commented out.
If I turn off authRequired, it works of course, but is a nasty open
relay. Don't really want to do that.
Any thoughts?
- D'Arcy Norman
dlnorman@ucalgary.ca
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: SMTP AUTH fails?
Posted by Andrew Timberlake <an...@ddd.co.za>.
This may be a stupid question, but have you set up the email clients to
actually authenticate when sending.
SMTP AUTH requires that a username and password are supplied when
sending to any address NOT held by the server being used.
If you send to an address on the server, it will work without
authentication but if you try to use your server to get to an outside
address, it will only continue once valid credentials are supplied.
Andrew
On Thu, 2002-04-25 at 05:44, D'Arcy Norman wrote:
>
> Howdy!
>
> I've been plugging away trying to get James set up on a project server.
> Very impressed by the scope and accomplishments of the project thus far
> (and am looking forward to IMAP, too!)
>
> My goal is to be able to have a manageable mail server that provides
> access (send and receive) to messages from anywhere, so I was hoping to
> use SMTP authentication to allow connections from any physical address.
>
> The problem appears to be that the SMTP AUTH connection fails when
> sending messages to external addresses. Messages sent to other James
> accounts work just fine.
>
> My smtpserver.log file contains a series of entries like this:
> (servernames and ip addresses left in for sake of completeness)
>
> Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Hello Name is:
> socrates.dyndns.info
> Wed Apr 24 20:59:59 MDT 2002 [DEBUG ] (smtpserver): Max message size
> is: 0
> Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Connection from
> h24-64-95-243.cg.shawcable.net (24.64.95.243)
> Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Command received:
> EHLO h24-64-95-243
> Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Command received:
> MAIL FROM:<dn...@socrates.dyndns.info>
> Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Command received:
> RCPT TO:<da...@shaw.ca>
> Wed Apr 24 20:59:59 MDT 2002 [ERROR ] (smtpserver): Authentication is
> required for mail request
> Wed Apr 24 20:59:59 MDT 2002 [INFO ] (smtpserver): Command received:
> QUIT
>
> I've tried several mail clients (on MacOSX: Mail.app, GnuMail.app,
> Entourage) and all have the same result (except Entourage seemed to
> trigger a "connection reset by peer" error message in smtpserver.log)
>
> I have the following smtp settings:
>
> <helloName autodetect="TRUE">myMailServer</helloName>
> <connectiontimeout>360000</connectiontimeout>
> <authRequired>true</authRequired>
> <maxmessagesize>0</maxmessagesize>
>
> The rest of the smtp settings were left commented out.
>
> If I turn off authRequired, it works of course, but is a nasty open
> relay. Don't really want to do that.
>
> Any thoughts?
>
> - D'Arcy Norman
> dlnorman@ucalgary.ca
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:andrew@ddd.co.za
011 705 1737
082 415 8283
"If debugging is the process of removing bugs,
then programming must be the process of putting them in."
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>