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 Ole Ersoy <ol...@yahoo.com> on 2006/10/15 18:53:12 UTC

Testing Whether Outgoing Mail Goes Out

Hi,

Does anyone know how to go about confirming 
that mail sent via James actually was sent?

I'm trying to understand whether messages are actually
leaving or not.

I'm not getting anything on my yahoo or hotmail
accounts (And I used to).

I did look at the mailet log and saw this:

15/10/06 11:45:56 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.245.8, port: 25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.245.8 timed out

Which seems to indicate that James can't connect to
the hotmail server.

However I did not see anything for yahoo.

I also saw this in my smtp server log:

15/10/06 11:42:55 INFO  smtpserver: SMTP Service
connection backlog is: 5

Deleting the log and restarting James and this was
still there.  Does it mean that there are five
messages waiting to go out?

Thanks,
- Ole

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by Ole Ersoy <ol...@yahoo.com>.
Hmmm - yes I'll try adding some more threads, if it
happens again in the future.  I'm using the James
default setting right now.  I'll give reproducing the
blockage a shot later by attempting a send to hotmail
again.  I'll post back on how it goes.

Thanks!
- Ole


--- "Noel J. Bergman" <no...@devtech.com> wrote:

> > My IP address is dynamic.  Maybe hotmail is
> blocking
> > receipts of email from dynamic ips.
> 
> I wouldn't blame them. I certainly do.  Most mail
> administrators do.  Don't
> expect to be able to send e-mail from a dynamic IP
> address unless you are
> routing it to the mail gateway provided by your ISP.
> 
> For the most part, people using dynamic IPs should
> get some sort of
> rejection notice, such as the one you received:
> 
> > (Mail1160576971332-238-!948658-to-trumpetguy.com:
> > javax.mail.SendFailedException: Invalid Addresses;
> >   nested exception is:
> >        class javax.mail.SendFailedException: 451
> > Dynamic/Residential IP range listed by NJABL
> dynablock
> 
> but if you are in a subnet that is annoying enough,
> you may find that you
> cannot connect at all.  For example, I have about
> 500 (and growing) of the
> most egregious subnets blocked at the firewall, so
> that legitimate senders
> can connect.
> 
> > Maybe the retries are holding up all the other
> mail.
> 
> Possibly, but that depends on a number of factors,
> and JAMES will generally
> just queue up what it can't deliver for now, and
> come back to it later.  How
> many threads do you have for outgoing mail?  You may
> find that having more
> of them helps.
> 
> 	--- Noel
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out - Verifying Behaviour

Posted by Ole Ersoy <ol...@yahoo.com>.
OK - I tested it.

While James was running I sent
an email to my hotmail account first.

Then I fired off 3 emails to Yahoo.

Then I deleted all the mailet logs.

Then I restarted James.

The result was that one of the Yahoo messages managed
to sneak out (As I observed before).  The other two
are still sitting pretty.

Meanwhile James is busy trying to connect to hotmail.

So now I'm going to bump the thread count from 10 to
100.

OK - I went away for 10 minutes and now the only
message left is the hotmail one.

Very cool.

Looks like your tip worked Noel!

Thanks again,
- Ole







--- "Noel J. Bergman" <no...@devtech.com> wrote:

> > My IP address is dynamic.  Maybe hotmail is
> blocking
> > receipts of email from dynamic ips.
> 
> I wouldn't blame them. I certainly do.  Most mail
> administrators do.  Don't
> expect to be able to send e-mail from a dynamic IP
> address unless you are
> routing it to the mail gateway provided by your ISP.
> 
> For the most part, people using dynamic IPs should
> get some sort of
> rejection notice, such as the one you received:
> 
> > (Mail1160576971332-238-!948658-to-trumpetguy.com:
> > javax.mail.SendFailedException: Invalid Addresses;
> >   nested exception is:
> >        class javax.mail.SendFailedException: 451
> > Dynamic/Residential IP range listed by NJABL
> dynablock
> 
> but if you are in a subnet that is annoying enough,
> you may find that you
> cannot connect at all.  For example, I have about
> 500 (and growing) of the
> most egregious subnets blocked at the firewall, so
> that legitimate senders
> can connect.
> 
> > Maybe the retries are holding up all the other
> mail.
> 
> Possibly, but that depends on a number of factors,
> and JAMES will generally
> just queue up what it can't deliver for now, and
> come back to it later.  How
> many threads do you have for outgoing mail?  You may
> find that having more
> of them helps.
> 
> 	--- Noel
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by "Noel J. Bergman" <no...@devtech.com>.
> My IP address is dynamic.  Maybe hotmail is blocking
> receipts of email from dynamic ips.

I wouldn't blame them. I certainly do.  Most mail administrators do.  Don't
expect to be able to send e-mail from a dynamic IP address unless you are
routing it to the mail gateway provided by your ISP.

For the most part, people using dynamic IPs should get some sort of
rejection notice, such as the one you received:

> (Mail1160576971332-238-!948658-to-trumpetguy.com:
> javax.mail.SendFailedException: Invalid Addresses;
>   nested exception is:
>        class javax.mail.SendFailedException: 451
> Dynamic/Residential IP range listed by NJABL dynablock

but if you are in a subnet that is annoying enough, you may find that you
cannot connect at all.  For example, I have about 500 (and growing) of the
most egregious subnets blocked at the firewall, so that legitimate senders
can connect.

> Maybe the retries are holding up all the other mail.

Possibly, but that depends on a number of factors, and JAMES will generally
just queue up what it can't deliver for now, and come back to it later.  How
many threads do you have for outgoing mail?  You may find that having more
of them helps.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by Ole Ersoy <ol...@yahoo.com>.
Yup - I nuked them all...but hey at least it removed
the constipation.

The thing I'm really curious about is why did James
get constipated to start with?

Since it works fine now, it had to have been blocked
up by one of the outgoing messages...

Any ideas on why that would happen?

Cheers,
- Ole

--- "Noel J. Bergman" <no...@devtech.com> wrote:

> > I think I may have found the source of the
> blockage
> 
> No, you found that our file-based repository uses
> both Object and Stream
> files in a pair.  The one that you describe as "all
> crumpled up...and looks
> almost like a binary file" is, in fact, a binary
> file.
> 
> > I'm going to try to remove this and see if it
> clears
> > the blockage.
> 
> Well, it will certainly delete that e-mail.
> 
> > I guess I have to remove them all.
> 
> Well, you just removed your outgoing e-mails.
> 
> 	--- Noel
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I think I may have found the source of the blockage

No, you found that our file-based repository uses both Object and Stream
files in a pair.  The one that you describe as "all crumpled up...and looks
almost like a binary file" is, in fact, a binary file.

> I'm going to try to remove this and see if it clears
> the blockage.

Well, it will certainly delete that e-mail.

> I guess I have to remove them all.

Well, you just removed your outgoing e-mails.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by Ole Ersoy <ol...@yahoo.com>.
Sorry for the long trail of emails about this:

I think I may have found the source of the blockage:

I looked at james/var/mail/outgoing again.

Did ls

The last message in the ls list, is the last message I
sent.

Then I looked at the first message on top of the ls
list.

It looks nothing like the last message, which is
easily readable.

This one is all crumpled up...and looks almost like a
binary file....


Here it is:

¬í^@^Esr^@^^org.apache.james.core.MailImplÄx^Må¼Ïݬ^C^@
L^@
attributest^@^SLjava/util/HashMap;L^@^LerrorMessaget^@^RLjava/lang/String;L^@^KlastUpdatedt^@^PLjava/util/Date;L^@^Gmessaget^@!Ljavax/mail/internet/MimeMessage;L^@^Dnameq^@~^@^BL^@
recipientst^@^VLjava/util/Collection;L^@
remoteAddrq^@~^@^BL^@
remoteHostq^@~^@^BL^@^Fsendert^@^_Lorg/apache/mailet/MailAddress;L^@^Estateq^@~^@^Bxppsr^@^Sjava.util.ArrayListx<81>Ò^]<99>Ça<9d>^C^@^AI^@^Dsizexp^@^@^@^Aw^D^@^@^@
sr^@^]org.apache.mailet.MailAddress&<91><92><84>mÇ{¤^B^@^CI^@^CposL^@^Dhostq^@~^@^BL^@^Duserq^@~^@^Bxp^@^@^@^Ut^@^Khotmail.comt^@
     
volantrhfxt^@^Eerrort^@^B22t^@,Mail1160425807247-151-!203911-to-hotmail.comt^@^Wworkstation.localdomaint^@
    
127.0.0.1sr^@^Njava.util.Datehj<81>^AKYt^Y^C^@^@xpw^H^@^@^A^NLé(^Rxsr^@^Qjava.util.HashMap^E^GÚÁÃ^V`Ñ^C^@^BF^@
loadFactorI^@  
thresholdxp?@^@^@^@^@^@^Lw^H^@^@^@^P^@^@^@^@xx


I'm going to try to remove this and see if it clears
the blockage.

OK - I tried that and it turns out there are a lot
more messages like this one.

I guess I have to remove them all.

The other weird thing is that there's a lot of message
that I never created in 

james/var/mail/outgoing

Like this one:

Return-Path: <>^M
Message-ID:
<60...@workstation.localdomain>^M
From: ole@pyramidetechnologies.com^M
To: kgmeydvs@softidiom.com^M
Subject: Re:Zealand levelled their threeTest^M
In-Reply-To:
<00...@vincentbe1at52>^M
Mime-Version: 1.0^M
Content-Type: multipart/mixed; ^M
       
boundary="----=_Part_196_17441473.1160830723086"^M
Date:   Sat, 14 Oct 2006 06:00:11 +0700^M
^M
------=_Part_196_17441473.1160830723086^M
Content-Type: multipart/alternative; ^M
       
boundary="----=_Part_197_7323359.1160830723086"^M
^M
------=_Part_197_7323359.1160830723086^M
Content-Type: text/plain; charset=us-ascii^M
Content-Transfer-Encoding: 7bit^M
Content-Disposition: inline^M
^M
We were unable to deliver the attached message because
of an error in the mail server.

Error message below:
550 - Requested action not taken: no such user here

Message details:
  Subject: Zealand levelled their threeTest
  Sent date: Fri Oct 13 18:00:11 CDT 2006
  MAIL FROM: kgmeydvs@softidiom.com
  RCPT TO: advertising@pyramidetechnologies.com
  From: "Chinese" <kg...@softidiom.com>
  To: advertising@pyramidetechnologies.com
  Size (in bytes): 23941

^M
------=_Part_197_7323359.1160830723086--^M
^M
------=_Part_196_17441473.1160830723086--^M

Oh Oh - Maybe my James has been hacked...

OK - I deleted all the messages in outgoing...there
were a ton...most of which I did not create.

Now James works fine.

Oh - I noticed that the 
<mailet match="RemoteAddrNotInNetwork...

was commented out.

Could that mean that others would be able to place
mail in my outgoing mailbox?

Thanks again,
- Ole









--- Ole Ersoy <ol...@yahoo.com> wrote:

> One more interesting thing ( Pasted the exception
> from
> the mailet log below the theory part):
> 
> ... that lead me to this theory:
> 
> My IP address is dynamic.  Maybe hotmail is blocking
> receipts of email from dynamic ips.  However James
> keeps trying.  Maybe the retries are holding up all
> the other mail.  
> 
> This seems plausible since my log is just getting
> longer as time passes with hotmail retry entries.
> 
> This is now in the log:
> 
> 15/10/06 13:51:08 INFO  James.Mailet:
> RemoteDelivery:
> Temporary exception delivering mail
> (Mail1160576971332-238-!948658-to-trumpetguy.com:
> javax.mail.SendFailedException: Invalid Addresses;
>   nested exception is:
>         class javax.mail.SendFailedException: 451
> Dynamic/Residential IP range listed by NJABL
> dynablock
> - http://njabl.org/dynablock.html
> 
>         at
>
com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:926)
>         at
>
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:389)
>         at
>
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:448)
>         at
>
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912)
>         at java.lang.Thread.run(Thread.java:595)
> 
> Any ideas?
> 
> Thanks again,
> - Ole
> 
> 
> --- Ole Ersoy <ol...@yahoo.com> wrote:
> 
> > Just in case it might be useful I'm sending the
> > mailet
> > log:
> > 
> > Just a little while ago I deleted the previous
> > mailet
> > logs and restarted James.  Then I looked at the
> log,
> > and saw one message go out to Yahoo ok.  After
> that 
> > all the log shows is attempts to send mail to
> > hotmail.
> > 
> > None of my other mail is going through.
> > 
> > Is it possible that James gets hung on attempting
> to
> > send mail to servers that are too busy?
> > 
> > Here's the log:
> > 
> > 15/10/06 13:35:02 INFO  James.Mailet:
> > RemoteDelivery:
> > maxRetries is larger than total number of attempts
> > specified. Increasing last delayTime with 19
> > attempts
> > 15/10/06 13:35:02 INFO  James.Mailet:
> > RemoteDelivery:
> > Delay of 21600000 msecs is now attempted: 20 times
> > 15/10/06 13:35:04 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160937032151-4-to-yahoo.com to host
> > mx3.mail.yahoo.com. at 67.28.113.74 to addresses
> > [ole_ersoy@yahoo.com]
> > 15/10/06 13:35:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Mail (Mail1160937032151-4-to-yahoo.com) sent
> > successfully to mx3.mail.yahoo.com. at
> 67.28.113.74
> > 15/10/06 13:35:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160527193465-182-!572950-to-hotmail.com to
> host
> > mx3.hotmail.com. at 64.4.50.179 to addresses
> > [harpery1z@hotmail.com]
> > 15/10/06 13:36:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Could not connect to SMTP host: 64.4.50.179, port:
> > 25;
> >   nested exception is:
> >         java.net.ConnectException: connection to
> > 64.4.50.179 timed out
> > 15/10/06 13:36:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160527193465-182-!572950-to-hotmail.com to
> host
> > mx3.hotmail.com. at 65.54.244.72 to addresses
> > [harpery1z@hotmail.com]
> > 15/10/06 13:37:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Could not connect to SMTP host: 65.54.244.72,
> port:
> > 25;
> >   nested exception is:
> >         java.net.ConnectException: connection to
> > 65.54.244.72 timed out
> > 15/10/06 13:37:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160527193465-182-!572950-to-hotmail.com to
> host
> > mx3.hotmail.com. at 65.54.245.72 to addresses
> > [harpery1z@hotmail.com]
> > 15/10/06 13:38:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Could not connect to SMTP host: 65.54.245.72,
> port:
> > 25;
> >   nested exception is:
> >         java.net.ConnectException: connection to
> > 65.54.245.72 timed out
> > 15/10/06 13:38:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160527193465-182-!572950-to-hotmail.com to
> host
> > mx3.hotmail.com. at 65.54.244.200 to addresses
> > [harpery1z@hotmail.com]
> > 15/10/06 13:39:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Could not connect to SMTP host: 65.54.244.200,
> port:
> > 25;
> >   nested exception is:
> >         java.net.ConnectException: connection to
> > 65.54.244.200 timed out
> > 15/10/06 13:39:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160527193465-182-!572950-to-hotmail.com to
> host
> > mx2.hotmail.com. at 65.54.244.168 to addresses
> > [harpery1z@hotmail.com]
> > 15/10/06 13:40:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Could not connect to SMTP host: 65.54.244.168,
> port:
> > 25;
> >   nested exception is:
> >         java.net.ConnectException: connection to
> > 65.54.244.168 timed out
> > 15/10/06 13:40:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160527193465-182-!572950-to-hotmail.com to
> host
> > mx2.hotmail.com. at 65.54.244.40 to addresses
> > [harpery1z@hotmail.com]
> > 15/10/06 13:41:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Could not connect to SMTP host: 65.54.244.40,
> port:
> > 25;
> >   nested exception is:
> >         java.net.ConnectException: connection to
> > 65.54.244.40 timed out
> > 15/10/06 13:41:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160527193465-182-!572950-to-hotmail.com to
> host
> > mx2.hotmail.com. at 65.54.190.50 to addresses
> > [harpery1z@hotmail.com]
> > 15/10/06 13:42:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Could not connect to SMTP host: 65.54.190.50,
> port:
> > 25;
> >   nested exception is:
> >         java.net.ConnectException: connection to
> > 65.54.190.50 timed out
> > 15/10/06 13:42:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Attempting delivery of
> > Mail1160527193465-182-!572950-to-hotmail.com to
> host
> > mx2.hotmail.com. at 65.54.245.40 to addresses
> > [harpery1z@hotmail.com]
> > 15/10/06 13:43:07 INFO  James.Mailet:
> > RemoteDelivery:
> > Could not connect to SMTP host: 65.54.245.40,
> port:
> > 25;
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by Ole Ersoy <ol...@yahoo.com>.
One more interesting thing ( Pasted the exception from
the mailet log below the theory part):

... that lead me to this theory:

My IP address is dynamic.  Maybe hotmail is blocking
receipts of email from dynamic ips.  However James
keeps trying.  Maybe the retries are holding up all
the other mail.  

This seems plausible since my log is just getting
longer as time passes with hotmail retry entries.

This is now in the log:

15/10/06 13:51:08 INFO  James.Mailet: RemoteDelivery:
Temporary exception delivering mail
(Mail1160576971332-238-!948658-to-trumpetguy.com:
javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        class javax.mail.SendFailedException: 451
Dynamic/Residential IP range listed by NJABL dynablock
- http://njabl.org/dynablock.html

        at
com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:926)
        at
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:389)
        at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:448)
        at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912)
        at java.lang.Thread.run(Thread.java:595)

Any ideas?

Thanks again,
- Ole


--- Ole Ersoy <ol...@yahoo.com> wrote:

> Just in case it might be useful I'm sending the
> mailet
> log:
> 
> Just a little while ago I deleted the previous
> mailet
> logs and restarted James.  Then I looked at the log,
> and saw one message go out to Yahoo ok.  After that 
> all the log shows is attempts to send mail to
> hotmail.
> 
> None of my other mail is going through.
> 
> Is it possible that James gets hung on attempting to
> send mail to servers that are too busy?
> 
> Here's the log:
> 
> 15/10/06 13:35:02 INFO  James.Mailet:
> RemoteDelivery:
> maxRetries is larger than total number of attempts
> specified. Increasing last delayTime with 19
> attempts
> 15/10/06 13:35:02 INFO  James.Mailet:
> RemoteDelivery:
> Delay of 21600000 msecs is now attempted: 20 times
> 15/10/06 13:35:04 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160937032151-4-to-yahoo.com to host
> mx3.mail.yahoo.com. at 67.28.113.74 to addresses
> [ole_ersoy@yahoo.com]
> 15/10/06 13:35:07 INFO  James.Mailet:
> RemoteDelivery:
> Mail (Mail1160937032151-4-to-yahoo.com) sent
> successfully to mx3.mail.yahoo.com. at 67.28.113.74
> 15/10/06 13:35:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx3.hotmail.com. at 64.4.50.179 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:36:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 64.4.50.179, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 64.4.50.179 timed out
> 15/10/06 13:36:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx3.hotmail.com. at 65.54.244.72 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:37:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.244.72, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.244.72 timed out
> 15/10/06 13:37:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx3.hotmail.com. at 65.54.245.72 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:38:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.245.72, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.245.72 timed out
> 15/10/06 13:38:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx3.hotmail.com. at 65.54.244.200 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:39:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.244.200, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.244.200 timed out
> 15/10/06 13:39:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx2.hotmail.com. at 65.54.244.168 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:40:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.244.168, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.244.168 timed out
> 15/10/06 13:40:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx2.hotmail.com. at 65.54.244.40 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:41:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.244.40, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.244.40 timed out
> 15/10/06 13:41:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx2.hotmail.com. at 65.54.190.50 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:42:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.190.50, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.190.50 timed out
> 15/10/06 13:42:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx2.hotmail.com. at 65.54.245.40 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:43:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.245.40, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.245.40 timed out
> 15/10/06 13:43:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx4.hotmail.com. at 65.54.244.104 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:44:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.244.104, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.244.104 timed out
> 15/10/06 13:44:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx4.hotmail.com. at 65.54.244.232 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:45:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.244.232, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.244.232 timed out
> 15/10/06 13:45:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx4.hotmail.com. at 65.54.245.104 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:46:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.245.104, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.245.104 timed out
> 15/10/06 13:46:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx4.hotmail.com. at 65.54.190.179 to addresses
> [harpery1z@hotmail.com]
> 15/10/06 13:47:07 INFO  James.Mailet:
> RemoteDelivery:
> Could not connect to SMTP host: 65.54.190.179, port:
> 25;
>   nested exception is:
>         java.net.ConnectException: connection to
> 65.54.190.179 timed out
> 15/10/06 13:47:07 INFO  James.Mailet:
> RemoteDelivery:
> Attempting delivery of
> Mail1160527193465-182-!572950-to-hotmail.com to host
> mx1.hotmail.com. at 65.54.245.8 to addresses
> [harpery1z@hotmail.com]
> 
> 
> 
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by Ole Ersoy <ol...@yahoo.com>.
Just in case it might be useful I'm sending the mailet
log:

Just a little while ago I deleted the previous mailet
logs and restarted James.  Then I looked at the log,
and saw one message go out to Yahoo ok.  After that 
all the log shows is attempts to send mail to hotmail.

None of my other mail is going through.

Is it possible that James gets hung on attempting to
send mail to servers that are too busy?

Here's the log:

15/10/06 13:35:02 INFO  James.Mailet: RemoteDelivery:
maxRetries is larger than total number of attempts
specified. Increasing last delayTime with 19 attempts
15/10/06 13:35:02 INFO  James.Mailet: RemoteDelivery:
Delay of 21600000 msecs is now attempted: 20 times
15/10/06 13:35:04 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160937032151-4-to-yahoo.com to host
mx3.mail.yahoo.com. at 67.28.113.74 to addresses
[ole_ersoy@yahoo.com]
15/10/06 13:35:07 INFO  James.Mailet: RemoteDelivery:
Mail (Mail1160937032151-4-to-yahoo.com) sent
successfully to mx3.mail.yahoo.com. at 67.28.113.74
15/10/06 13:35:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx3.hotmail.com. at 64.4.50.179 to addresses
[harpery1z@hotmail.com]
15/10/06 13:36:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 64.4.50.179, port: 25;
  nested exception is:
        java.net.ConnectException: connection to
64.4.50.179 timed out
15/10/06 13:36:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx3.hotmail.com. at 65.54.244.72 to addresses
[harpery1z@hotmail.com]
15/10/06 13:37:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.244.72, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.244.72 timed out
15/10/06 13:37:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx3.hotmail.com. at 65.54.245.72 to addresses
[harpery1z@hotmail.com]
15/10/06 13:38:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.245.72, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.245.72 timed out
15/10/06 13:38:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx3.hotmail.com. at 65.54.244.200 to addresses
[harpery1z@hotmail.com]
15/10/06 13:39:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.244.200, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.244.200 timed out
15/10/06 13:39:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx2.hotmail.com. at 65.54.244.168 to addresses
[harpery1z@hotmail.com]
15/10/06 13:40:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.244.168, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.244.168 timed out
15/10/06 13:40:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx2.hotmail.com. at 65.54.244.40 to addresses
[harpery1z@hotmail.com]
15/10/06 13:41:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.244.40, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.244.40 timed out
15/10/06 13:41:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx2.hotmail.com. at 65.54.190.50 to addresses
[harpery1z@hotmail.com]
15/10/06 13:42:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.190.50, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.190.50 timed out
15/10/06 13:42:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx2.hotmail.com. at 65.54.245.40 to addresses
[harpery1z@hotmail.com]
15/10/06 13:43:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.245.40, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.245.40 timed out
15/10/06 13:43:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx4.hotmail.com. at 65.54.244.104 to addresses
[harpery1z@hotmail.com]
15/10/06 13:44:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.244.104, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.244.104 timed out
15/10/06 13:44:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx4.hotmail.com. at 65.54.244.232 to addresses
[harpery1z@hotmail.com]
15/10/06 13:45:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.244.232, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.244.232 timed out
15/10/06 13:45:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx4.hotmail.com. at 65.54.245.104 to addresses
[harpery1z@hotmail.com]
15/10/06 13:46:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.245.104, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.245.104 timed out
15/10/06 13:46:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx4.hotmail.com. at 65.54.190.179 to addresses
[harpery1z@hotmail.com]
15/10/06 13:47:07 INFO  James.Mailet: RemoteDelivery:
Could not connect to SMTP host: 65.54.190.179, port:
25;
  nested exception is:
        java.net.ConnectException: connection to
65.54.190.179 timed out
15/10/06 13:47:07 INFO  James.Mailet: RemoteDelivery:
Attempting delivery of
Mail1160527193465-182-!572950-to-hotmail.com to host
mx1.hotmail.com. at 65.54.245.8 to addresses
[harpery1z@hotmail.com]





--- Ole Ersoy <ol...@yahoo.com> wrote:

> Super - Thanks - I restarted James and noticed one
> message went out successfully to Yahoo.
> 
> The puzzling thing is that I tried sending another
> one, and there's nothing in the log for it.
> 
> All I see are attempts to send mail to the hotmail
> account...
> 
> It almost looks like the hotmail attemps are
> blocking
> other mail from going out.
> 
> I looked in james/var/mail/outgoing/
> 
> and there are a lot of FileObjectStores there.
> 
> I imagine these are messages and that they should
> disappear once they are sent.
> 
> I'm tempted to delete all the messages files in
> outgoing to see whether it fixes anything, but I
> also
> want to isolate any possible bugs that might be
> happening.
> 
> Any ideas on how to best proceed?
> 
> Thanks,
> - Ole 
> 
> --- "Noel J. Bergman" <no...@devtech.com> wrote:
> 
> > > Does anyone know how to go about confirming
> > > that mail sent via James actually was sent?
> > 
> > The Mailet log will have messages about it having
> > been sent successfully.
> > 
> > > 15/10/06 11:45:56 INFO  James.Mailet:
> > RemoteDelivery:
> > > Could not connect to SMTP host: 65.54.245.8,
> port:
> > 25;
> > >   nested exception is:
> > >         java.net.ConnectException: connection to
> > 65.54.245.8 timed out
> > 
> > Like that's a surprise ... eventually you should
> get
> > through.  It brings a
> > wry smile to see this happening to Microsoft,
> since
> > they are the primary
> > cause of problems on the Internet.  What is likely
> > happening is that their
> > servers are temporarily overwhelmed by connections
> > from the many millions of
> > MS-Windows spambots made possible by Microsoft's
> > meticulous attention to
> > security.
> > 
> > It has gotten to the point where legitimate SMTP
> > connections are hidden in
> > the noise from botnets.  My server and the ASF
> > servers get about the same
> > number of connection attempts per day, despite the
> > fact that mine gets less
> > than 1% of the legitimate e-mail volume of the
> ASF. 
> > The botnet connects are
> > the base background noise in the network.
> > 
> > We could lower spam to a fraction immediately by
> > simply requiring ISPs to
> > block port 25 from DHCP connections, and forcing
> all
> > DHCP users to go
> > through their ISP's mail relay, or though a
> VPN/ssh
> > to some other mail
> > gateway, either of which should implement
> anti-spam
> > measures.
> > 
> > > INFO  smtpserver: SMTP Service connection
> backlog
> > is: 5
> > 
> > > Does it mean that there are five messages
> waiting
> > to go out?
> > 
> > No.  Please Google for information on TCP/IP
> > connection backlog.
> > 
> > 	--- Noel
> > 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > server-user-unsubscribe@james.apache.org
> > For additional commands, e-mail:
> > server-user-help@james.apache.org
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by Ole Ersoy <ol...@yahoo.com>.
Super - Thanks - I restarted James and noticed one
message went out successfully to Yahoo.

The puzzling thing is that I tried sending another
one, and there's nothing in the log for it.

All I see are attempts to send mail to the hotmail
account...

It almost looks like the hotmail attemps are blocking
other mail from going out.

I looked in james/var/mail/outgoing/

and there are a lot of FileObjectStores there.

I imagine these are messages and that they should
disappear once they are sent.

I'm tempted to delete all the messages files in
outgoing to see whether it fixes anything, but I also
want to isolate any possible bugs that might be
happening.

Any ideas on how to best proceed?

Thanks,
- Ole 

--- "Noel J. Bergman" <no...@devtech.com> wrote:

> > Does anyone know how to go about confirming
> > that mail sent via James actually was sent?
> 
> The Mailet log will have messages about it having
> been sent successfully.
> 
> > 15/10/06 11:45:56 INFO  James.Mailet:
> RemoteDelivery:
> > Could not connect to SMTP host: 65.54.245.8, port:
> 25;
> >   nested exception is:
> >         java.net.ConnectException: connection to
> 65.54.245.8 timed out
> 
> Like that's a surprise ... eventually you should get
> through.  It brings a
> wry smile to see this happening to Microsoft, since
> they are the primary
> cause of problems on the Internet.  What is likely
> happening is that their
> servers are temporarily overwhelmed by connections
> from the many millions of
> MS-Windows spambots made possible by Microsoft's
> meticulous attention to
> security.
> 
> It has gotten to the point where legitimate SMTP
> connections are hidden in
> the noise from botnets.  My server and the ASF
> servers get about the same
> number of connection attempts per day, despite the
> fact that mine gets less
> than 1% of the legitimate e-mail volume of the ASF. 
> The botnet connects are
> the base background noise in the network.
> 
> We could lower spam to a fraction immediately by
> simply requiring ISPs to
> block port 25 from DHCP connections, and forcing all
> DHCP users to go
> through their ISP's mail relay, or though a VPN/ssh
> to some other mail
> gateway, either of which should implement anti-spam
> measures.
> 
> > INFO  smtpserver: SMTP Service connection backlog
> is: 5
> 
> > Does it mean that there are five messages waiting
> to go out?
> 
> No.  Please Google for information on TCP/IP
> connection backlog.
> 
> 	--- Noel
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Testing Whether Outgoing Mail Goes Out

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Does anyone know how to go about confirming
> that mail sent via James actually was sent?

The Mailet log will have messages about it having been sent successfully.

> 15/10/06 11:45:56 INFO  James.Mailet: RemoteDelivery:
> Could not connect to SMTP host: 65.54.245.8, port: 25;
>   nested exception is:
>         java.net.ConnectException: connection to 65.54.245.8 timed out

Like that's a surprise ... eventually you should get through.  It brings a
wry smile to see this happening to Microsoft, since they are the primary
cause of problems on the Internet.  What is likely happening is that their
servers are temporarily overwhelmed by connections from the many millions of
MS-Windows spambots made possible by Microsoft's meticulous attention to
security.

It has gotten to the point where legitimate SMTP connections are hidden in
the noise from botnets.  My server and the ASF servers get about the same
number of connection attempts per day, despite the fact that mine gets less
than 1% of the legitimate e-mail volume of the ASF.  The botnet connects are
the base background noise in the network.

We could lower spam to a fraction immediately by simply requiring ISPs to
block port 25 from DHCP connections, and forcing all DHCP users to go
through their ISP's mail relay, or though a VPN/ssh to some other mail
gateway, either of which should implement anti-spam measures.

> INFO  smtpserver: SMTP Service connection backlog is: 5

> Does it mean that there are five messages waiting to go out?

No.  Please Google for information on TCP/IP connection backlog.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org