Hi Jim, Thx for testing james3-beta3.

When with authRequired=true, James will always ask a username/password for the SMTP connection (initiated by a mail client or a another SMTP server). ...except indeed for the hostname (or IP addresses) listed in the authorizedAddresses tag.

You are using the correct syntax, but you should add in the authorizedAddresses list the exact IP address (or hostname) from which you are sending the mail.

Currently, I think you are only adding the hostname of the server itself, but if you send email from another hardware, this won't help (you need to add the IP@ of that hardware).

Hope this helps,

Eric


On 04/01/12 01:29, Jim Campanell wrote:
Hi,

I installed James on my new server.  It seems to be working for the most
part, except I can't seem to send mail to the server from the "outside
world".  I get the following response (trimmed to useful part):

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

   [email protected]
     SMTP error from remote mail server after RCPT
TO:<[email protected]>:
     host server.workingbitssystems.com [72.29.121.81]:
     530 5.7.1 Authentication Required


I'm assuming that I did something wrong in my smtpserver.xml:

<smtpserver enabled="true">
   <bind>0.0.0.0:25</bind>
   <connectionBacklog>200</connectionBacklog>
   <tls socketTLS="false" startTLS="false">
   </tls>
   <connectiontimeout>360</connectiontimeout>
   <connectionLimit>  0</connectionLimit>
   <connectionLimitPerIP>  0</connectionLimitPerIP>

<authorizedAddresses>127.0.0.0/8,workingbitssystems.com</authorizedAddresses>
   <authRequired>true</authRequired>
   <verifyIdentity>false</verifyIdentity>
   <maxmessagesize>0</maxmessagesize>
   <addressBracketsEnforcement>true</addressBracketsEnforcement>
   <handlerchain enableJmx="true">
     <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
     <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>

   </handlerchain>
</smtpserver>


At this point, I'm assuming that by listing my domain name in the
authorizedAddresses entry, I should be covered for external emails
coming to me.  Did I format that line incorrectly?  Am I
misunderstanding its purpose?

Thanks,
Jim

Thanks,
Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to