[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-user
Subject:    Re: problem with gateway
From:       "Mark Waschkowski" <mwaschkowski () gmail ! com>
Date:       2007-03-30 21:28:34
Message-ID: 76a6ebd00703301428x3bec8b5dn33828dbb1d5c0c4a () mail ! gmail ! com
[Download RAW message or body]


Ugh, been trying a bunch of stuff today, and nothing seems to be working.
Some of it may be DNS related, but ultimately I'm thinking that the upgrade
process caused a problem, but can't be sure. So, before I waste anyones time
here (thanks for the suggestions so far btw!) I'm going to start from
scratch tomorrow morning and do a fresh install of 2.3 and configure it all
using the new config files, and I"ll let you know if that helped or not.

The reason I'm going this route is because I'm able to send emails to JAMES,
but nothing is being registered in ANY of the logs, anywhere, and I know
from past experience that if flub something in the config files things can
stop working and it doesn't always log an exception. I'm guessing this is
user error and a fresh config will hopefully bring issues to light....

On 3/30/07, Stefano Bagnara <apache@bago.org> wrote:
>
> This is weird because the "to-gmail.com" and the log "Sending mail to XX
> on host gmail.com" are only there if there is no gateway.
>
> What about the double log? Have you restarted james at 04:21 and then
> again at 04:23 ? if so you should see the "Adding SMTP gateway" also in
> the log 04-23 ... Can you check?
>
> Stefano
>
> Mark Waschkowski ha scritto:
> > OK, here is the log that I'm getting from james:
> >
> > ==> mailet-2007-03-30-04-21.log <==
> > 30/03/07 04:21:36 INFO  James.Mailet: RemoteDelivery: Adding SMTP
> gateway:
> > k2smtpout.secureserver.net:25
> >
> > ==> mailet-2007-03-30-04-23.log <==
> > 30/03/07 04:23:52 INFO  James.Mailet: RemoteDelivery: Remotely
> delivering
> > mail Mail1175253802531-11
> > 30/03/07 04:23:52 INFO  James.Mailet: RemoteDelivery: Sending mail to [
> > mwaschkowski@gmail.com] on host gmail.com
> > 30/03/07 04:23:52 INFO  James.Mailet: RemoteDelivery: Remote delivery
> > thread
> > (14) will process mail Mail1175253802531-11-to-gmail.com
> > 30/03/07 04:23:52 INFO  James.Mailet: RemoteDelivery: Attempting to
> deliver
> > Mail1175253802531-11-to-gmail.com
> > 30/03/07 04:23:53 INFO  James.Mailet: RemoteDelivery: Attempting
> > delivery of
> > Mail1175253802531-11-to-gmail.com to host gmail-smtp-in.l.google.com. at
> > 64.233.163.27 for addresses [mwaschkowski@gmail.com]
> > 30/03/07 04:23:53 INFO  James.Mailet: RemoteDelivery: Could not connect
> to
> > SMTP host: 64.233.163.27, port: 25
> >
> > I'm not sure why there are two mailet log files, but the *-23 file
> > continues
> > with trying all the other alt1, alt2 etc. mail servers for gmail.
> >
> > I don't understand why its trying to connect to the smtp host when the
> > gateway was specified? Here is a snippet from my config.xml file:
> >
> > <!-- Attempt remote delivery using the specified repository for the
> spool,
> > -->
> >         <!-- using delay time to retry delivery and the maximum number
> of
> > retries -->
> >         <mailet match="All" class="RemoteDelivery">
> >            <bounceProcessor>error</bounceProcessor>
> >            <!--
> >                        <outgoing> file://var/mail/outgoing/ </outgoing>
> >                        -->
> >            <!-- alternative database repository example below -->
> >
> >            <outgoing> db://maildb/zzspool/outgoing </outgoing>
> >            <!-- 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>  3 hours </delayTime>
> >            <delayTime>  12 hours </delayTime>
> >            -->
> >            <maxRetries> 1 </maxRetries>
> >
> >            <!-- The number of threads that should be trying to deliver
> > outgoing messages -->
> >            <deliveryThreads> 40 </deliveryThreads>
> >
> >            <!-- If false the message will not be sent to given server if
> > any recipients fail -->
> >            <sendpartial>false</sendpartial>
> >
> >            <!-- A single mail server to deliver all outgoing messages.
> -->
> >            <!-- This is useful if this server is a backup or failover
> > machine, -->
> >            <!-- or if you want all messages to be routed through a
> > particular mail server, -->
> >            <!-- regardless of the email addresses specified in the
> message
> > -->
> >            <!-- -->
> >            <!-- The gateway element specifies the gateway SMTP server
> name.
> > -->
> >            <!-- If your gateway mail server is listening on a port other
> > than 25, -->
> >            <!-- you can set James to connect to it on that port using
> the
> > gatewayPort -->
> >            <!-- element. -->
> >            <!-- Although normally multiple addresses are implemented
> > through proper -->
> >            <!-- DNS configuration, the RemoteDelivery mail does allow
> > specifying -->
> >            <!-- multiple gateway elements, each of which may also have a
> > port -->
> >            <!-- e.g., mygateway:2525 -->
> >            <!-- the gatewayPort element is used as a default -->
> >
> >            <gateway>k2smtpout.secureserver.net</gateway>
> >            <gatewayPort>25</gatewayPort>
> >            <debug>true</debug>
> >         </mailet>
> >      </processor>
> >
> > I've upgraded from 2.2 to 2.3.
> >
> > Thanks,
> >
> > Mark
> >
> > On 3/29/07, Mark Waschkowski <mwaschkowski@gmail.com> wrote:
> >>
> >> Yes, your are right Stefano, for some reason they didn't display when I
> >> first looked at them during a 'tail mail* -f' but then showed up when I
> >> re-did the command. I had to watch the Raptors vs Maimi game last
> >> night, so
> >> didn't get a chance to play with it, but will be spending all day
> >> tomorrow
> >> (my day off) on it, and will let you know what I find in the logs.
> >>
> >> Thanks,
> >>
> >> Mark
> >>
> >> On 3/28/07, Stefano Bagnara <apache@bago.org> wrote:
> >> >
> >> > Adding a gateway is the right solution.
> >> >
> >> > Can you tell us what is your James version?
> >> >
> >> > And what are the logs? in the jamesfolder/apps/james/logs/mailet*.log
> >> > you should at least see the attempts.
> >> >
> >> > Stefano
> >> >
> >> > Mark Waschkowski ha scritto:
> >> > > Hi,
> >> > >
> >> > > I just switched over to a godaddy dedicated server and realized
> that
> >> > they
> >> > > require the use of an smtp gateway (and also come with a default
> >> limit
> >> > of
> >> > > 1000 relays / day) as described here:
> >> > >   http://help.godaddy.com/article.php?article_id=122
> >> > > Ugh. Well, I've already spent the time to configure everything
> else,
> >> > so I
> >> > > tried updating james' <gateway> setting with the specified one, and
> >> > then
> >> > > ran
> >> > > a test to send an email. I was tailing the James logs at the time
> and
> >> > > saw no
> >> > > activity whatsoever. So I repeated the test, but still nothing. Did
> I
> >> > do
> >> > > something wrong?
> >> > >
> >> > > Thanks,
> >> > >
> >> > > Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>


-- 
Best,

Mark Waschkowski


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic