For the past 2 days, the CPU on my server has been pegged at 100%.  I have
Apache, Tomcat, DNS, FTP, etc. on the same box, but I isolated it to James.
Stopping James caused the CPU to go down to nothing.  The second I restarted
James, it pegged.  I tried disabling SpamAssassin and my virus scan figuring
it was getting overwhelmed.  No change.  I know spam is increasing.  But I
couldn't believe it could spike this quickly and hold forever at levels to
peg the CPU.

Well that's the background.  I finally started scouring the logs.  I found
an entry repeated many many times in the mailet log. (see bottom of this
note).  No idea where the note came from (the webmaster id is mine... but I
didn't send it).  But this one mail was definitely the culprit.  James was
basically in an infinite tight loop sending to the 'remote server' named
localhost, which brought it right back in the front door to be sent out the
back door again to the remote server... ad infinitum.

Obviously, either it's something in my config or something inherent in
James.  But I now know James doesn't get along well with email delivered to
[EMAIL PROTECTED]

OK, once known, easy enough to fix... kill the server, delete that email
record from the spool table in the db, and life is good.  But my main
question now is how to prevent this from occurring again should another
rogue email like this get in the system again.  Is there something I can put
in the config to make James handle this more gracefully?

I am on 2.2.0a17.

Thanks.

Jerry

==============================
snippit of the repetitive entry from the mailet log

17/11/06 19:38:45 INFO  James.Mailet: SenderIsLocal: SenderIsLocal:
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
17/11/06 19:38:45 INFO  James.Mailet: SenderIsLocal: SenderIsLocal: Sender:
[EMAIL PROTECTED] is local
17/11/06 19:38:48 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1163813922470-90-to-localhost to host localhost at 127.0.0.1 to
addresses [EMAIL PROTECTED]
17/11/06 19:38:53 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1163813922470-90-to-localhost) sent successfully to localhost at
127.0.0.1
17/11/06 19:38:58 INFO  James.Mailet: SenderIsLocal: SenderIsLocal:
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
17/11/06 19:38:58 INFO  James.Mailet: SenderIsLocal: SenderIsLocal: Sender:
[EMAIL PROTECTED] is local
17/11/06 19:39:00 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1163813931080-92-to-localhost to host localhost at 127.0.0.1 to
addresses [EMAIL PROTECTED]
17/11/06 19:39:04 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1163813931080-92-to-localhost) sent successfully to localhost at
127.0.0.1
17/11/06 19:39:05 INFO  James.Mailet: SenderIsLocal: SenderIsLocal:
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
17/11/06 19:39:05 INFO  James.Mailet: SenderIsLocal: SenderIsLocal: Sender:
[EMAIL PROTECTED] is local
17/11/06 19:39:07 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1163813942470-94-to-localhost to host localhost at 127.0.0.1 to
addresses [EMAIL PROTECTED]
17/11/06 19:39:12 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1163813942470-94-to-localhost) sent successfully to localhost at
127.0.0.1
17/11/06 19:39:15 INFO  James.Mailet: SenderIsLocal: SenderIsLocal:
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
17/11/06 19:39:15 INFO  James.Mailet: SenderIsLocal: SenderIsLocal: Sender:
[EMAIL PROTECTED] is local
17/11/06 19:39:17 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1163813950017-95-to-localhost to host localhost at 127.0.0.1 to
addresses [EMAIL PROTECTED]
17/11/06 19:39:21 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1163813950017-95-to-localhost) sent successfully to localhost at
127.0.0.1
17/11/06 19:39:22 INFO  James.Mailet: SenderIsLocal: SenderIsLocal:
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
17/11/06 19:39:22 INFO  James.Mailet: SenderIsLocal: SenderIsLocal: Sender:
[EMAIL PROTECTED] is local
17/11/06 19:39:25 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1163813960080-96-to-localhost to host localhost at 127.0.0.1 to
addresses [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to