On 22/07/11 18:46, Jan Moxter wrote:

The problem is that we have a split configuration for the mails. That
means some are handles on this server others on another server. So i
want to configure this server to always deliver remotely.
(Further on i was thinking to use are regex match to decide if local
delivery o remote delivery must be used)


So for now, you want James to act as a transparent SMTP proxy.
The configuration you gave should do the job.

Do you see anything in the log (you can set log level to DEBUG in log4j.properties.) ?
Are there files under var/mail/* folders?

Thx.

So the only thing id did on the M2 was to comment this parts from the
mailetcontainer and it delivered remotely, but doing this on the M3 did
not work.

<processor state="transport" enableJmx="true">
<mailet match="SMTPAuthSuccessful" class="SetMimeHeader">
<name>X-UserIsAuth</name>
<value>true</value>
</mailet>
<!--
<mailet match="All" class="RecipientRewriteTable">
<recipientrewritetable>DefaultRecipientRewriteTable</recipientrewritetable>
</mailet>
<mailet match="RecipientIsLocal" class="RecipientToLowerCase"/>

<mailet match="RecipientIsLocal" class="LocalDelivery"/>
<mailet match="HostIsLocal" class="ToProcessor">
<processor>local-address-error</processor>
<notice>550 - Requested action not taken: no such user here</notice>
</mailet>
-->
<mailet match="All" class="RemoteDelivery">
<outgoingQueue>outgoing</outgoingQueue>
<delayTime>5 minutes</delayTime>
<delayTime>10 minutes</delayTime>
<delayTime>45 minutes</delayTime>
<delayTime>2 hours</delayTime>
<delayTime>3 hours</delayTime>
<delayTime>6 hours</delayTime>
<maxRetries>25</maxRetries>
<maxDnsProblemRetries>0</maxDnsProblemRetries>
<deliveryThreads>10</deliveryThreads>
<sendpartial>true</sendpartial>
<bounceProcessor>bounces</bounceProcessor>
</mailet>
</processor>



Thanks


Jan









Thanks a lot


Jan

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



--
Eric Charles
http://about.echarles.net

---------------------------------------------------------------------
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]



--
Eric Charles
http://about.echarles.net

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

Reply via email to