Paulo Ferreira ha scritto:
Hi there, again...

My first attempt to implement this was editing the config.xml file and inserting the following line in the XMLVirtualUserTable section:

<mapping>[EMAIL PROTECTED]: abc(.*):abc${1}</mapping>

But when I tried to send an e-mail message to [EMAIL PROTECTED], the message went right into the address-error folder... Why did this happened?? Is it necessary to create the all_abc user?? I think it shouldn't be necessary... or is it??

I would use something simple:

<mailet match="RecipientIsRegex=abc(.*)@mydomain.com" class="Redirect">
        <recipients>[EMAIL PROTECTED]</recipients>
        <inline>unaltered</inline>
</mailet>

And YES, you will need to create an "all_abc" user.

http://james.apache.org/server/2.3.0/apidocs/org/apache/james/transport/mailets/Redirect.html

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to