Re: Mail Alias

2011-04-19 Thread Eric Charles
RRT is a whole topic as such. I just created https://issues.apache.org/jira/browse/JAMES-1227 to follow it. Tks, - Eric On 19/04/2011 11:12, Bernd Fondermann wrote: On Tue, Apr 19, 2011 at 11:05, Stefano Bagnara wrote: Stefano mentioned the need to rewrite to a non existing user (to be furt

Re: Mail Alias

2011-04-19 Thread Bernd Fondermann
On Tue, Apr 19, 2011 at 11:05, Stefano Bagnara wrote: >> Stefano mentioned the need to rewrite to a non existing user (to be further >> processed by other mailets). > > Or to redirect the message to an external user. > >> So if we throw exception, we may prohibit that functionality... >> >> But if

Re: Mail Alias

2011-04-19 Thread Stefano Bagnara
> Stefano mentioned the need to rewrite to a non existing user (to be further > processed by other mailets). Or to redirect the message to an external user. > So if we throw exception, we may prohibit that functionality... > > But if we remain with the current implementation, I'm pretty sure I wa

Re: Mail Alias

2011-04-19 Thread Eric Charles
That's what I remember doing: 1. no accounts. 2. create account a...@mydomain.nn 3. create mapping b...@mydomain.nn => a...@mydomain.nn 4. try to send mail to b, bounces 5. create account b...@mydomain.nn 6. send mail to b, does not get delivered to a, doesn't bounce (didn't verify, but probably

Re: Mail Alias

2011-04-19 Thread Bernd Fondermann
On Tue, Apr 19, 2011 at 10:08, Eric Charles wrote: > On 19/04/2011 09:33, Bernd Fondermann wrote: >> >> On Tue, Apr 19, 2011 at 09:07, Eric Charles  wrote: >>> >>> So, call addAddressMapping(a, mydomain.nn, b...@mydomain.nn). >>> >>> b...@mydomain.nn must be created as a valid james user. >> >> ok

Re: Mail Alias

2011-04-19 Thread Eric Charles
verified. it works. don't know what was going wrong. See my previous mail (just a supposition...). Thanks you! You're welcome :) - Eric Bernd - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For addit

Re: Mail Alias

2011-04-19 Thread Eric Charles
On 19/04/2011 09:33, Bernd Fondermann wrote: On Tue, Apr 19, 2011 at 09:07, Eric Charles wrote: So, call addAddressMapping(a, mydomain.nn, b...@mydomain.nn). b...@mydomain.nn must be created as a valid james user. ok, that's what I thought. This setting didn't work with my fairly recent buil

Re: Mail Alias

2011-04-19 Thread Bernd Fondermann
On Tue, Apr 19, 2011 at 09:33, Bernd Fondermann wrote: > On Tue, Apr 19, 2011 at 09:07, Eric Charles wrote: >> So, call addAddressMapping(a, mydomain.nn, b...@mydomain.nn). >> >> b...@mydomain.nn must be created as a valid james user. > > ok, that's what I thought. > This setting didn't work with

Re: Mail Alias

2011-04-19 Thread Bernd Fondermann
On Tue, Apr 19, 2011 at 09:07, Eric Charles wrote: > So, call addAddressMapping(a, mydomain.nn, b...@mydomain.nn). > > b...@mydomain.nn must be created as a valid james user. ok, that's what I thought. This setting didn't work with my fairly recent build, so I thought there maybe some gotcha. 1.

Re: Mail Alias

2011-04-19 Thread Eric Charles
So, call addAddressMapping(a, mydomain.nn, b...@mydomain.nn). b...@mydomain.nn must be created as a valid james user. btw, in my snapshot, rewriten mails have a To header = "To: undisclosed-recipients:;" Tks, - Eric On 19/04/2011 06:05, Eric Charles wrote: Hi Bernd, I've written this in th

Re: Mail Alias

2011-04-18 Thread Eric Charles
Hi Bernd, I've written this in the doc for upcoming website: "rewrite a 'fromAny(Existing/NotExisting)' to a 'toExisting'". Example: addAddressMapping(String user, String domain, String address) -> you have a user+domain (can be plain, wildcard or *) --> rewritten to address (= existing email