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 [email protected] , accounts created on localhost with remote manager tool (4555) group mails (virtual) - like [email protected], [email protected], [email protected] 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)[email protected]" class="Forward"> <forwardTo>joe@localhost</forwardTo> <debug> true </debug> </mailet> ... <mailet match="RecipientIsRegex=.*(?i)[email protected]" class="ToProcessor"> <processor> financeProc </processor> </mailet> <processor name="financeProc"> <mailet match="HasMailAttributeWithValueRegex=header, (?i) [email protected]" class="Forward"> <forwardTo> joe@localhost </forwardTo> <passThrough> true </passThrough> <debug> true </debug> </mailet> <mailet match="HasMailAttributeWithValueRegex=header, (?i)[email protected]" 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: [email protected] For additional commands, e-mail: [email protected]
