You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Tiago Cury <ti...@me.com> on 2012/05/15 21:41:20 UTC

AddressMapping is not working on 3.0beta4 and 3.0beta5-SNAPSHOT

Hi, I configured my domain: 

$ ./james-cli.sh --host localhost listdomains
a4f.com.br

I configured my user:

$ ./james-cli.sh -h localhost listusers
tiago.cury@a4f.com.br

I configured my address mapping:

$ ./james-cli.sh -h localhost listmappings
g4@a4f.com.br=[tiago.cury@a4f.com.br]

But, all messages sent to g4@a4f.com.br goes to /var/mail/address-error folder. Why?
Messages to tiago.cury@a4f.com.br goes to correct INBOX.

thanks,
Tiago


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


Re: AddressMapping is not working on 3.0beta4 and 3.0beta5-SNAPSHOT

Posted by Eric Charles <er...@apache.org>.
Thx for reporting back to mailing list Tiago :)
Eric

On 05/16/2012 03:52 PM, Tiago Cury wrote:
> Eric,
>
> Works like a charm.
>
> Many Thanks, Tiago.
>
> On May 16, 2012, at 6:43 AM, Eric Charles wrote:
>
>> Hi Tiago,
>>
>> Seems like RecipientRewriteTable mailet has been removed from the default configuration.
>>
>> Could you define in your own mailetcontainer.conf (in conf folder) the following:
>>
>> <mailet match="All" class="RecipientRewriteTable" />
>>
>> just before
>>
>> <mailet match="RecipientIsLocal" class="RecipientToLowerCase"/>
>>
>> I will fix this is trunk.
>>
>> Thx, Eric
>>
>>
>> On 05/15/2012 09:41 PM, Tiago Cury wrote:
>>> Hi, I configured my domain:
>>>
>>> $ ./james-cli.sh --host localhost listdomains
>>> a4f.com.br
>>>
>>> I configured my user:
>>>
>>> $ ./james-cli.sh -h localhost listusers
>>> tiago.cury@a4f.com.br
>>>
>>> I configured my address mapping:
>>>
>>> $ ./james-cli.sh -h localhost listmappings
>>> g4@a4f.com.br=[tiago.cury@a4f.com.br]
>>>
>>> But, all messages sent to g4@a4f.com.br goes to /var/mail/address-error folder. Why?
>>> Messages to tiago.cury@a4f.com.br goes to correct INBOX.
>>>
>>> thanks,
>>> Tiago
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>
>> --
>> eric | http://about.echarles.net | @echarles
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>

-- 
eric | http://about.echarles.net | @echarles

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


Re: AddressMapping is not working on 3.0beta4 and 3.0beta5-SNAPSHOT

Posted by Tiago Cury <ti...@me.com>.
Eric,

Works like a charm.

Many Thanks, Tiago.

On May 16, 2012, at 6:43 AM, Eric Charles wrote:

> Hi Tiago,
> 
> Seems like RecipientRewriteTable mailet has been removed from the default configuration.
> 
> Could you define in your own mailetcontainer.conf (in conf folder) the following:
> 
> <mailet match="All" class="RecipientRewriteTable" />
> 
> just before
> 
> <mailet match="RecipientIsLocal" class="RecipientToLowerCase"/>
> 
> I will fix this is trunk.
> 
> Thx, Eric
> 
> 
> On 05/15/2012 09:41 PM, Tiago Cury wrote:
>> Hi, I configured my domain:
>> 
>> $ ./james-cli.sh --host localhost listdomains
>> a4f.com.br
>> 
>> I configured my user:
>> 
>> $ ./james-cli.sh -h localhost listusers
>> tiago.cury@a4f.com.br
>> 
>> I configured my address mapping:
>> 
>> $ ./james-cli.sh -h localhost listmappings
>> g4@a4f.com.br=[tiago.cury@a4f.com.br]
>> 
>> But, all messages sent to g4@a4f.com.br goes to /var/mail/address-error folder. Why?
>> Messages to tiago.cury@a4f.com.br goes to correct INBOX.
>> 
>> thanks,
>> Tiago
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>> 
> 
> -- 
> eric | http://about.echarles.net | @echarles
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 


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


Re: AddressMapping is not working on 3.0beta4 and 3.0beta5-SNAPSHOT

Posted by Eric Charles <er...@apache.org>.
Hi Tiago,

Seems like RecipientRewriteTable mailet has been removed from the 
default configuration.

Could you define in your own mailetcontainer.conf (in conf folder) the 
following:

<mailet match="All" class="RecipientRewriteTable" />

just before

<mailet match="RecipientIsLocal" class="RecipientToLowerCase"/>

I will fix this is trunk.

Thx, Eric


On 05/15/2012 09:41 PM, Tiago Cury wrote:
> Hi, I configured my domain:
>
> $ ./james-cli.sh --host localhost listdomains
> a4f.com.br
>
> I configured my user:
>
> $ ./james-cli.sh -h localhost listusers
> tiago.cury@a4f.com.br
>
> I configured my address mapping:
>
> $ ./james-cli.sh -h localhost listmappings
> g4@a4f.com.br=[tiago.cury@a4f.com.br]
>
> But, all messages sent to g4@a4f.com.br goes to /var/mail/address-error folder. Why?
> Messages to tiago.cury@a4f.com.br goes to correct INBOX.
>
> thanks,
> Tiago
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>

-- 
eric | http://about.echarles.net | @echarles

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