anyway i have used the M3 snapshot and able to send email via james. problem is the sender email is my gmail address instead of my dynamic dns email address. hmmm...can i ask a question not related to James? how do i use my mail server (currently using dynamic dns) on my local machine to be recognize as a mail server authorized to send email to gmail/yahoo/hotmail etc?
From: [email protected] To: [email protected] Subject: RE: How to set relay server Date: Thu, 21 Apr 2011 11:57:59 +0800 hi eric, what happened to remote manager on nightly built M3 snapshot? i tried to activate it via run.bat from M2 library but james cannot startup. has the remote management changed for M3 to jmx only? > Date: Tue, 19 Apr 2011 13:50:04 +0200 > From: [email protected] > To: [email protected] > Subject: Re: How to set relay server > > You're falling into https://issues.apache.org/jira/browse/JAMES-1175 > that will be fixed in 3.0-M3. > > (see also http://markmail.org/message/g6p62h6a4twsnsk3) > > Can you try with a snapshot from > http://people.apache.org/builds/jamesll/nightly/ ? > > If this still does not work, can you post the shown messages/exceptions > in log file (james-server.log, mailetcontainer.log,...). > > Tks, > > Eric > > > On 19/04/2011 13:31, Daniel Tan wrote: > > > > hmm...i tried to use gmail as my relay but starttls is required. > > Must issue a STARTTLS command first. > > > > i have tried putting -Dmail.smtp.starttls.enable=true into run.bat and also > > tried with<mail.smtp.starttls.enable>true</mail.smtp.starttls.enable> into > > mailetcontainer.xmlboth doesnt seem to work. i am using james 3 m2 by the > > way > > > >> Subject: RE: How to set relay server > >> Date: Tue, 19 Apr 2011 10:17:51 +0200 > >> From: [email protected] > >> To: [email protected] > >> > >> Hello > >> > >> How about to configure several relay servers in case of the first one is > >> unreachable ? > >> (I have tried to do it but it seems to me that only the first one is used > >> and others are simply ignored.) > >> > >> Regards, > >> Frédéric. > >> > >> > >> -----Message d'origine----- > >> De : Eric Charles [mailto:[email protected]] > >> Envoyé : mardi 19 avril 2011 08:59 > >> À : James Users List > >> Objet : Re: How to set relay server > >> > >> You can find it on > >> http://james.apache.org/server/3/dev-provided-mailets.html (under > >> RemoteDelivery section). > >> > >> It's a bit lost there, so we will update documentation to better link to > >> this sections. tks for pointing. > >> > >> Also, the delivery (to local mailbox and to remote smtp) is now > >> implemented as a mailet. We may reconsider this in later James releases > >> to make the delivery a core service, and no more a mailet. > >> > >> Tks, > >> > >> Eric > >> > >> > >> On 19/04/2011 07:35, Daniel Tan wrote: > >>> Thanks for the quick response. Will try it out later. Is this something > >>> found in any faq as i am new to james and hope to learn more from > >>> websites before coming to the list > >>> > >>> Sent from my iPhone > >>> > >>> On Apr 19, 2011, at 1:17 PM, Eric Charles<[email protected]> wrote: > >>> > >>>> Hi, > >>>> > >>>> Uncomment the gateway block and set there your ISP relay hostname (and > >>>> username/pwd if needed) in mailets conf file. > >>>> > >>>> Tks, > >>>> - Eric > >>>> > >>>> > >>>> <mailet match="All" class="RemoteDelivery"> > >>>> <outgoingQueue> outgoing</outgoingQueue> > >>>> > >>>> <!-- Delivery Schedule based upon RFC 2821, 4.5.4.1 --> > >>>> <!-- 5 day retry period, with 4 attempts in the first > >>>> hour, two more within the first 6 hours, and then > >>>> every 6 hours for the rest of the period. --> > >>>> <delayTime> 5 minutes</delayTime> > >>>> <delayTime> 10 minutes</delayTime> > >>>> <delayTime> 45 minutes</delayTime> > >>>> <delayTime> 2 hours</delayTime> > >>>> <delayTime> 3 hours</delayTime> > >>>> <delayTime> 6 hours</delayTime> > >>>> <maxRetries> 25</maxRetries> > >>>> > >>>> <deliveryThreads> 10</deliveryThreads> > >>>> > >>>> <sendpartial>true</sendpartial> > >>>> > >>>> <bounceProcessor>bounces</bounceProcessor> > >>>> > >>>> <!-- > >>>> <gateway> otherserver.mydomain.com</gateway> > >>>> <gatewayPort>25</gatewayPort> > >>>> --> > >>>> <!-- (gatewayUsername/gatewayPassword) can be used. --> > >>>> <!-- > >>>> <gatewayUsername>login</gatewayUsername> > >>>> <gatewayPassword>pass</gatewayPassword> > >>>> --> > >>>> > >>>> <!-- > >>>> <mail.smtp.localhost>myMailServer</mail.smtp.localhost> > >>>> --> > >>>> </mailet> > >>>> > >>>> > >>>> On 19/04/2011 06:30, Daniel Tan wrote: > >>>>> Hi, > >>>>> I tried searching around the faq and cant quite get it where to set the > >>>>> relay server. I can receive email from internet on my desktop. I am > >>>>> using dynamic dns to resolve the hostname. But when i try to send email > >>>>> out, my server is not recognize as a valid server and i shld sent it > >>>>> via authorize relay. How do i do tat? I have put in my isp dns servers > >>>>> in dnsservice.xml > >>>>> > >>>>> Regards, > >>>>> Dan > >>>>> --------------------------------------------------------------------- > >>>>> 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] > >>>> > >>>> > >>> > >>> --------------------------------------------------------------------- > >>> 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] > >> > >> > >> --------------------------------------------------------------------- > >> 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] >
