Return-Path: Delivered-To: apmail-james-server-user-archive@www.apache.org Received: (qmail 60171 invoked from network); 1 Sep 2010 16:56:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Sep 2010 16:56:15 -0000 Received: (qmail 42147 invoked by uid 500); 1 Sep 2010 16:56:15 -0000 Delivered-To: apmail-james-server-user-archive@james.apache.org Received: (qmail 42100 invoked by uid 500); 1 Sep 2010 16:56:14 -0000 Mailing-List: contact server-user-help@james.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "James Users List" Reply-To: "James Users List" Delivered-To: mailing list server-user@james.apache.org Received: (qmail 42088 invoked by uid 99); 1 Sep 2010 16:56:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 16:56:14 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [81.188.29.42] (HELO bxlexch.b2boost.local) (81.188.29.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 16:56:06 +0000 Received: from [192.168.100.36] (192.168.100.2) by bxlexch.b2boost.local (192.168.100.253) with Microsoft SMTP Server id 8.2.176.0; Wed, 1 Sep 2010 18:55:45 +0200 Message-ID: <4C7E8591.10602@apache.org> Date: Wed, 1 Sep 2010 18:55:45 +0200 From: Eric Charles User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: James Users List Subject: Re: Resending email from a DB repository. References: <1791279470.15204.1282553994891.JavaMail.root@srv001> <4C736045.8040604@apache.org> <1740719397.25217.1282647309813.JavaMail.root@srv001> <4C7409D3.3040401@apache.org> <1734927401.37812.1282737094481.JavaMail.root@srv001> <4C750A59.9050503@apache.org> <283787113.38337.1282740063271.JavaMail.root@srv001> <4C77CB62.5070601@apache.org> <277076515.49532.1283272011471.JavaMail.root@srv001> In-Reply-To: <277076515.49532.1283272011471.JavaMail.root@srv001> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Max, Current implementation of FromRepository is "mailet is triggered further to matcher, but *all* mails of the repository are reprocessed, independently of the matcher...". I was also confused about this. Two comments on your request: 1.- I am also interessed in having a kind of "spam" folder per user where mails tagged as spam would be directed. This is what you mean with your portal case (btw, outlook has such a spam directory per user). 2.- You're talking about using subject as recpicient. I would rather use the mail id which is supposed to be unique on the server. I don't know if this makes sense in the frame of your project ? If yes, I don't see how to implement with current mailets/matchers/... Maybe someone else can help and show how ?? If we have to develop it, a "ToFolder" mailet could be imagined... Tks, Eric On 31/08/2010 18:25, Max Levinson wrote: > Hi Eric, > > I've tested it, and it is not exactly what I wanted from this mailet. > > And I also found a couple of weird problems: > > 1. When you type this in spoolmanager.xml > > > > db://maildb/messages/spam/ > true > > > db://maildb/messages/spam > transport > true > > > > > It seems it's not only pushes emails matched by this matcher (RecipientIs= > sales@domain.com) but the rest of emails as well. > > Second problem is when spam is caught and it suppose to go to spam > repository and it not matches the matcher is not hold in spam repository > anymore but instead passed through to transport :( > > So what I am trying to achieve here, let's imagine I have a portal where > user can see his spam repository, user decided to release a message,he is > choosing a message and clicks release on a portal. > > Then I need to give James and idea in real time that this message should be > pushed to transport processor for further delivery(I can generate a config > entry which will have a matcher SubjectIs with a subject which should be > released). I don't think that the matcher RecipientIs will work for me here, > because there still can be other messages which user don't want to release > from spam repository which has the same recipient, will matcher like > SubjectIs will work in this case? > > Can I achieve what I need in current James trunk? > > Please help, I am got stuck for more then a month on this :( And this is > what my users and boss want desperately. > > > > 2010/8/27 Eric Charles > --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org For additional commands, e-mail: server-user-help@james.apache.org