Noel J. Bergman wrote:

james is now looping on itself trying to deliver error
messages without success.


james tries and fails to send mail to the postmaster, defined as
"deesse-admin@localhost". There is a user called deesse-admin on
the box, and a mail user called deesse-admin created using the
administrative commands (using telnet).

It doesn't matter if there is a user with that name or not.  All that
matters is whether or not there is one defined in the user repository.

OK that confirms my thinking.

an email was sent to the James SMTP server with a 'To' field
containing an external address. Failing to do that, james
tried to send an email to the postmaster. This failed as
well and triggered a new mail to the postmaster

Why did mail to postmaster fail?  Did you turn on DEBUG for the logs to see
if you could see why a message to deesee-admin or postmaster is not being
directed to the local repository?  Resolving that problem would take care of
the rest.

I didn't enable special debugging (I can't remember). But there are plenty of log files in james/apps/james/logs.

For example in default.log:
database-connections.maildb_ ****** connection 22 is way too old: 65063 > 60000
[ stack trace]

this message being repeated every 60-65 seconds.

in mailstore.log:
Error retrieving pending messages
java.sql.SQLException: Communication link failure: java.net.SocketException
at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown Source) ...
[...]
at org.apache.james.mailrepository.JDBCSpoolRepository.loadPendingMessages(JDBCSpoolRepository.java:232)

This happening every 5 seconds.

and the last one susceptible to be of interest:

in smtpserver.log

ERROR smtpserver: Unknown error occured while processing DATA.
javax.mail.MessagingException: Exceptio spooling message: Communication link falure: java.net.SocketException;
nested exception is:
java.lang.RunteimException: Exception cayght while storing mail Container: java.sql.SQLExceotuib: Communication link failure: java.net.SocketException
at org.apache.james.James.sendMail(James.java:450)
....

Does that indicate something to one of you?

Jerome



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

Reply via email to