You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Alex Grivnin <al...@orsus.com> on 2004/01/20 18:41:56 UTC

Mailet retries

 Hello,
 
 I'm new in the list and need an urgent help/suggestion.

 If James fails to send a message because of an unavailable host, it does not follows the retries specification from config.xml. 
 After the first attempt it sends to the log - "RemoteDelivery: Temporary exception delivering mail ...", stores the message in "var/mail/outgoing/" folder and does not try to send it again.

 But restarting the server, it pick ups stored message and tries to resend it a required number of times. 

  Please, please help.


 Thanks in advance,

 Alex Grivnin,
 Orsus Solutions

-- 

 P.S. Some info:

  We use James 2.1.2 with Phoenix 4.0.3 running within JBoss 3.0.6 app server. 

  Config.xml mailet section:

  <mailet class="RemoteDelivery" match="All">
	<outgoing> file://var/mail/outgoing/ </outgoing>
	<delayTime> 30000 </delayTime>
	<maxRetries> 5 </maxRetries>
	<deliveryThreads> 1 </deliveryThreads>
	<passThrough> false </passThrough>
	<gateway>evyatar.il.orsus.org</gateway>
  </mailet>

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