Hi,

1. Keep your snippet and just write <outgoing>outgoing</outgoing> (see [1])

2. I use squirrel jdcb client [2]. You will need to stop the server as the derby database only supports one connection at a time in embedded mode.

Thx, Eric

[1] https://svn.apache.org/repos/asf/james/server/trunk/app/src/main/resources/mailetcontainer-template.xml
[2] http://squirrel-sql.sourceforge.net/

On 08/04/2013 13:42, [email protected] wrote:
Dear Eric:

Would it be possible for you to edit the following entry such that it will be 
functional with Apache James-3.0-beta4?
"
<mailet match="HostIs=new.sys.marginalen.securemail"  class="RemoteDelivery">
        <outgoing> file:///SecureMail/var/mail/outgoing-sys-new/</outgoing>
        <delayTime>  3 minutes ></delayTime>
        <delayTime> 6 minutes </delayTime>
        <delayTime> 9 minutes </delayTime>
        <delayTime>  6 hours </delayTime>
        <maxRetries> 4 </maxRetries>

        <deliveryThreads> 1 </deliveryThreads>
        <sendpartial>false</sendpartial>

        <gateway>10.250.18.76</gateway>
        <gatewayPort>252</gatewayPort>
</mailet>
"

Comments:
1. When I tried to change the class="RemoteDelivery"  to 
class="ActiveMQRemoteDelivery", james-3.0-beta4 did not start due to Exception relalted 
to ActiveMQ. Therefore, I reset to the original value.
2. When I set the value of <outgoing to <outgoing>outgoing-sys-new</outgoing>, 
I do not know whether it is OK. What tools would you recommend to look at Derby DB content ?


Med vänlig hälsning, / Best Regards,

Runo Barrdahl, civ ing, tekn lic

Tieto Sweden AB, Financial Services


-----Original Message-----
From: Eric Charles [mailto:[email protected]]
Sent: den 8 april 2013 10:18
To: James Users List
Subject: Re: Error results when using <mailet matcher "HostIs= tag in Apache 
James-3.0-beta4

Hi,

the outgoing param is now used as the name of the ActiveMQ/File queue (e.g. 
'outgoing'), and no more as a path.

Our documentation should reflect this (I add a todo to my self).

Thx, Eric

On 08/04/2013 09:08, [email protected] wrote:
Dear Server User Mail List:

It results an error when I try to configure in Apache James-3.0-beta4 the 
following mailet matcher tag, and I do not find any conclusive advice in the 
documentation.

1.
In James-2.3.2 I use the following configuration tag in config.xml (with a preceding declaration of 
"<servername>sys.marginalen.mail.netbank</servername>").
This is functioning quite OK:
"
<mailet match="HostIs=new.sys.marginalen.securemail"
class="RemoteDelivery"> <outgoing>
file:///SecureMail/var/mail/outgoing-sys-new/<file:///\\SecureMail\var
\mail\outgoing-sys-new\> </outgoing> <delayTime>  3 minutes
</delayTime> <delayTime> 6 minutes </delayTime> <delayTime> 9 minutes
</delayTime> <delayTime>  6 hours </delayTime> <maxRetries> 4
</maxRetries>

<deliveryThreads> 1 </deliveryThreads>
<sendpartial>false</sendpartial>

<gateway>10.250.18.76</gateway>
<gatewayPort>252</gatewayPort>
</mailet>
"

2.
Now, in James-3.0-beta4,
First, in domainlist.conf, is set the >domainname> (to correspond to the 
<servername> above):
"
<domainlist class="org.apache.james.domainlist.xml.XMLDomainList">
            <domainnames>

<domainname>james-3.marginalen.mail.netbank</domain
...
"
Second, in mailetcontainer.conf, the very same "<mailet match..." clause as 
above, is inserted.
Then it results an error when I start James-3.0-beta4 - apparently due to the ":" 
character contained in the <outgoing> tag.


Would you know how to solve this in the most simple manner?

Med vänlig hälsning, / Best Regards,

Runo Barrdahl, civ ing, tekn lic

Tieto Sweden AB, Financial Services
mail: [email protected]
tel (direct): 0709-790 407 / +46-709 790 407 tel (central): 010 481 00
00 / +46-10 481 00 00
fax: 08-86 30 56 / +46-8 86 30 56
web: www.tieto.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to