Hallo and thanks for the answer

On Jul 22, 2011, at 2:53 AM, Eric Charles wrote:

On 20/07/11 18:55, Jan Moxter wrote:
Hallo,

i am using a 3.0-M3-SNAPSHOT and i realized that some of the
configurations are ignored.

- In special i am interested to know how to configure now the hello- name of the smtp server. (Some other smtp servers do not accept us due to the
hello name). We do have to overwrite the name the DNS servers return


Did you set helloName tag is smtpserver.xml.
See 
https://svn.apache.org/repos/asf/james/app/trunk/src/main/config/examples/smtpserver.xml
(don't forget to set autodetect="false"

Oh i missed that. thanks this is solved now. And now i also know where the configuration examples are :-)


- further on it seems like the mailetcontainer.xml configuration is
ignored. Even when we change the transport processor it does not have
any influence. Might it be that camel needs some other configuration.


It should work. Modifying mailetcontainer.xml is how you define the processing of the mails. If this does not work, could you explain what you want to do and send the configuration you set.

Thx.


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

Reply via email to