[prev in list] [next in list] [prev in thread] [next in thread]
List: james-user
Subject: Re: multiple same e-mails
From: Eric Charles <eric () apache ! org>
Date: 2013-02-21 12:24:29
Message-ID: 512611FD.1020205 () apache ! org
[Download RAW message or body]
Hi,
Seems like we also receive your mails twice here :)
More seriously, I am not sure to get all you logic/requirements, but did
you look at aliases which deal with mail adresse that don't have a real
account. I don't have all the details in mind for james 2.3 (in james 3,
we name them recipient rewrite).
Thx, Eric
On 21/02/2013 09:27, Joe Rest wrote:
> Hello there!
>
> I have got apache james 2.3.2 and this situation, please help.
>
> In our company we have got 2 types of mails:
>
> user mails - like joe.rest@example.com , accounts created on localhost with
> remote manager tool (4555)
> group mails (virtual) - like employs@example.com, finance@example.com,
> newcarrier@example.com etc... for group of people, mail in real doesnt
> exist only send mail to configured real user accounts like joe@localhost,
> lisa@localhost ...
>
>
> in config.xml:
>
> ...
> <mailet match="RecipientIsRegex=.*(?i)rest@example.com" class="Forward">
> <forwardTo>joe@localhost</forwardTo>
> <debug> true </debug>
> </mailet>
> ...
> <mailet match="RecipientIsRegex=.*(?i)finance@example.com"
> class="ToProcessor">
> <processor> financeProc </processor>
> </mailet>
>
> <processor name="financeProc">
>
>
> <mailet match="HasMailAttributeWithValueRegex=header, (?i)
> rest@example.com" class="Forward">
> <forwardTo> joe@localhost </forwardTo>
> <passThrough> true </passThrough>
> <debug> true </debug>
> </mailet>
>
> <mailet match="HasMailAttributeWithValueRegex=header, (?i)moore@example.com"
> class="Forward">
> <forwardTo> lisa@localhost </forwardTo>
> <passThrough> true </passThrough>
> <debug> true </debug>
> </mailet>
>
> </processor>
> ....
>
> Problem is when someone send e-mail to me and to the group in which I am. I
> get that e-mail 2 times.
>
> It's logical i made it this way, but is it possible to avoid duplicite or
> more times sent e-mail on the server side ? Custom mailet or something ?
>
> Thanks in advance,
> joe
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic