james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-124) Add the ability to "kick" the outgoing queue
Date Wed, 08 Mar 2006 09:17:40 GMT
    [ http://issues.apache.org/jira/browse/JAMES-124?page=comments#action_12369418 ] 

Stefano Bagnara commented on JAMES-124:

There is no way to take the right spool repository. You should add a command that takes the
destinationURL of the spool repository as a parameter, so that you can lookup the repository
from the store.
DefaultConfiguration srcSpoolConf = new DefaultConfiguration("srcSpool", "generated:RemoteManager.java");
srcSpoolConf.setAttribute("destinationURL", srcUrl);
srcSpoolConf.setAttribute("type", "SPOOL"); 
srcRepository = (MailRepository) theConfigData.getStore().select(srcSpoolConf); 

Setting the last_updated to the current time will add more delay to the spooling. last_updated
is already always in the past because it contains the date of the last attempt. Setting it
an year back would work. But the best option should be to change the message state to something
different from "error". You can change it to anything but "ghost" or "error" and remotedelivery
should start the delivery at the following check.

ETRN is described in RFC1985 (http://rfc.dotsrc.org/rfc/rfc1985.html). You simply issue an
"ETRN mydomain.com" in an SMTP session and the mail server will start a new delivery attempt
for queued mails destinated to the specified domain.

> Add the ability to "kick" the outgoing queue
> --------------------------------------------
>          Key: JAMES-124
>          URL: http://issues.apache.org/jira/browse/JAMES-124
>      Project: James
>         Type: New Feature
>   Components: MailStore & MailRepository
>     Versions: 2.0a3, 2.1.3, 2.2.0
>  Environment: Operating System: All
> Platform: All
>     Reporter: Jason Webb
>     Priority: Minor

> It would be nice to be able to "kick" the outgoing queue to force the queue to 
> deliver all it's pending mail. This is useful after a problem that affects all 
> mail deliveries.
> On a related note the SMTP might also want to support ETRN as well if there 
> anybody uses it anymore.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

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

View raw message