Thanks! That fixed it. Did I miss this in the docs? If not it should be included in the quickstart doc.
-Andrew Stefano Bagnara <apa...@bago.org> wrote: Go to your RemoteDelivery mailet configuration and add: <bind>OUTGOINGIP</bind> <mail.smtp.localaddress>OUTGOINGIP</mail.smtp.localaddress> <mail.smtp.localhost>OUTGOINGHOSTNAME</mail.smtp.localhost> I also use <mail.smtp.socketFactory.class>org.apache.james.transport.mailets.RemoteDeliverySocketFactoryTimeout</mail.smtp.socketFactory.class> <mail.smtp.socketFactory.fallback>false</mail.smtp.socketFactory.fallback> but it shouldn't be required for the previous configuration to work. Stefano 2011/9/15 <and...@oc384.net>: > The reject comes back from the remote mail server which James's is > reaching out to with SMTP to deliver mail. James is saying > "localhost" when james should be saying "xyz.com" and the remote end > doesn't like it. > > -Andrew > > On 9/15/2011, "Norman Maurer" <norman.mau...@googlemail.com> wrote: > >>I thought its about receiving... Or did I get it wrong and this what >>you get after James tries to deliver to a remote Recipient ? >> >>Bye >>Norman >> >>2011/9/15, and...@oc384.net <and...@oc384.net>: >>> Made that change but it didn't fix the problem. I'm still sending >>> "localhost". >>> >>> Is there something I can change so that James will autodetect correctly >>> even if I can't specify the returned value in smtpserver.xml? >>> >>> -Andrew >>> >>> >>> On 9/15/2011, "Norman Maurer" <norman.mau...@googlemail.com> wrote: >>> >>>>Hi there, >>>> >>>>the example file is not up-to-date: >>>> >>>><handler> >>>> <helloName autodetect="false">andrews_domain.com</helloName> >>>></handler> >>>> >>>>must be: >>>> >>>> <helloName autodetect="false">andrews_domain.com</helloName> >>>> >>>> >>>>Bye, >>>>Norman >>>> >>>> >>>>2011/9/14 <and...@oc384.net>: >>>>> When sending emails I keep getting: >>>>> “Error message: 504 5.5.2 <localhost>: Helo command rejected: need >>>>> fully-qualified hostname” >>>>> >>>>> I’m using 3.0-beta3 from here: >>>>> http://newverhost.com/pub//james/apache-james/3.0beta3/apache-james-3.0-beta3-app.tar.gz >>>>> which appears to be from 8/14/2011 >>>>> >>>>> I have read this: >>>>> https://svn.apache.org/repos/asf/james/app/trunk/src/main/config/examples/smtpserver.xml >>>>> >>>>> my smtpserver.xml looks like: >>>>> <smtpserver enabled="true"> >>>>> <bind>0.0.0.0:25</bind> >>>>> <connectionBacklog>200</connectionBacklog> >>>>> <tls socketTLS="false" startTLS="false"> >>>>> </tls> >>>>> <handler> >>>>> <helloName autodetect="false">andrews_domain.com</helloName> >>>>> </handler> >>>>> <connectiontimeout>360</connectiontimeout> >>>>> <connectionLimit> 0 </connectionLimit> >>>>> <connectionLimitPerIP> 0 </connectionLimitPerIP> >>>>> <authorizedAddresses>127.0.0.0/8</authorizedAddresses>; >>>>> <authRequired>true</authRequired> >>>>> <verifyIdentity>true</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> >>>>> >>>>> It sounds like my problem is this one: >>>>> http://old.nabble.com/-jira--Created%3A-%28JAMES-1155%29-helloName-tag-does-not-work-td30534996.html >>>>> but that issue said it was resolved Dec-2010. >>>>> >>>>> How does James determine what hostname to use when autodetecting? These >>>>> three commands all return the correct value: >>>>> hostname -f >>>>> uname -n >>>>> sysctl kernel.hostname >>>>> Where is James picking up localhost from? >>>>> >>>>> Thanks, >>>>> Andrew >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>_____________________________________________ >>>>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>>>> For additional commands, e-mail: server-user-h...@james.apache.org >>>>> >>>>> >>>> >>>>_____________________________________________ >>>>To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>>>For additional commands, e-mail: server-user-h...@james.apache.org >>>> >>> >>>_____________________________________________ >>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>> For additional commands, e-mail: server-user-h...@james.apache.org >>> >>> >> >>_____________________________________________ >>To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >>For additional commands, e-mail: server-user-h...@james.apache.org >> > >_____________________________________________ > To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org > For additional commands, e-mail: server-user-h...@james.apache.org > > _____________________________________________ To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org