Re: Spring deployment

2007-06-05 Thread robert burrell donkin
On 6/5/07, Bernd Fondermann <[EMAIL PROTECTED]> wrote: Stefano Bagnara wrote: > Bernd Fondermann ha scritto: >> Stefano Bagnara wrote: >>> While I think that a spring class to read the avalon descriptor is cool >>> I also think it has a couple of drawbacks to take into consideration: >>> >>> 1)

Re: Spring deployment

2007-06-05 Thread robert burrell donkin
On 6/5/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: While I think that a spring class to read the avalon descriptor is cool I also think it has a couple of drawbacks to take into consideration: 1) the avalon descriptor is in the phoenix function: in the current ant build you cannot make a fun

Re: MailRepository.store() current user?

2007-06-05 Thread Michael Valenty
Stefano Bagnara-2 wrote: > >>repository.send ? do you mean .store ? > > I added a send() method that puts the mail in my messaging system's > outbound queue for delivery. I originally planned on using james to do the > delivery and just log a sent item with a modified ToMultiRepository > mailet

Re: i18n

2007-06-05 Thread robert burrell donkin
On 6/5/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: robert burrell donkin ha scritto: > On 6/4/07, Danny Angus <[EMAIL PROTECTED]> wrote: >> Robert wrote: >> ... but it fails to meet your requirement because it has the >> translations on the server. > > sorry for misleading you: IMAP proto

Re: MailRepository.store() current user?

2007-06-05 Thread Stefano Bagnara
Michael Valenty ha scritto: > I wrote a MyCompanyDelivery mailet which basically does: > > String username = > mail.getAttribute(SMTP_AUTH_USER_ATTRIBUTE_NAME).toString(); > MyMailRepository repository = > (MyMailRepository)server.getUserInbox(username); > repository.send(mail); repositor

Re: MailRepository.store() current user?

2007-06-05 Thread Michael Valenty
Stefano Bagnara-2 wrote: > > Then the simplest thing you can do is to look at the > ToMultiRepository.java source and change the way it works to use the > authenticated sender instead of the local part of the recipient. > I wrote a MyCompanyDelivery mailet which basically does: String username

Re: MailRepository.store() current user?

2007-06-05 Thread Stefano Bagnara
Michael Valenty ha scritto: >>From a mail client like Outlook Express, users configure outgoing mail to use > smtp.mycompany.com w/ auth required and then compose a message. I want that > piece of mail to appear as a sent item in my company's existing messaging > system. > > I am using James to ha

Re: MailRepository.store() current user?

2007-06-05 Thread Michael Valenty
Stefano Bagnara-2 wrote: > > This is weird: what did you change in JAMES codebase? > I haven't changed anything in the JAMES codebase. I am using the 2.3.1 binary distribution "as is". I have only modified config.xml to use my implementations of UsersRepository and MailRepository. Stefano Ba

Re: MailRepository.store() current user?

2007-06-05 Thread Michael Valenty
>From a mail client like Outlook Express, users configure outgoing mail to use smtp.mycompany.com w/ auth required and then compose a message. I want that piece of mail to appear as a sent item in my company's existing messaging system. I am using James to handle the smtp session and do authentic

Re: Domain Keys (Was: jSPF and James?)

2007-06-05 Thread Tom Brown
Thanks! Tom On 6/5/07, Norman Maurer <[EMAIL PROTECTED]> wrote: Thx Graig :-) bye Norman Am Dienstag, den 05.06.2007, 15:29 +0200 schrieb Craig Raw: > Hi Stefano, > > No problem, it's now in http://issues.apache.org/jira/browse/JAMES-752 > > Craig > > Stefano Bagnara wrote: > > Craig Raw ha s

Re: Domain Keys (Was: jSPF and James?)

2007-06-05 Thread Norman Maurer
Thx Graig :-) bye Norman Am Dienstag, den 05.06.2007, 15:29 +0200 schrieb Craig Raw: > Hi Stefano, > > No problem, it's now in http://issues.apache.org/jira/browse/JAMES-752 > > Craig > > Stefano Bagnara wrote: > > Craig Raw ha scritto: > >> Hi Tom, > >> > >> I've been trying out your DK signi

Re: Domain Keys (Was: jSPF and James?)

2007-06-05 Thread Craig Raw
Hi Stefano, No problem, it's now in http://issues.apache.org/jira/browse/JAMES-752 Craig Stefano Bagnara wrote: Craig Raw ha scritto: Hi Tom, I've been trying out your DK signing mailet - thanks for your hard work. Some feedback: I've downgraded the code (or at least the areas I'm using) to

[jira] Updated: (JAMES-752) DomainKeys mailet for JAMES

2007-06-05 Thread Craig Raw (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Craig Raw updated JAMES-752: Attachment: dkmailet-src.zip Some modifications: I've downgraded the code to compile under Java 1.4. I've a

Re: Mime4J

2007-06-05 Thread Niklas Therning
Hi, The correct way to report a bug would be to send an e-mail to the James mailing list: server-dev@james.apache.org or, if you're confident that it is a bug, add it to JIRA directly: http://issues.apache.org/jira/browse/MIME4J Anyhow, thanks for letting us know about this problem. It's been fix

[jira] Closed: (MIME4J-17) Initialization of custom TempStorage doesn't work

2007-06-05 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning closed MIME4J-17. - > Initialization of custom TempStorage doesn't work >

[jira] Resolved: (MIME4J-17) Initialization of custom TempStorage doesn't work

2007-06-05 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-17. --- Resolution: Fixed > Initialization of custom TempStorage doesn't work > --

svn commit: r544474 - /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/util/TempStorage.java

2007-06-05 Thread niklas
Author: niklas Date: Tue Jun 5 05:46:17 2007 New Revision: 544474 URL: http://svn.apache.org/viewvc?view=rev&rev=544474 Log: Resolved issue MIME4J-17. Initialization of custom TempStorage using system properties should now work. Modified: james/mime4j/trunk/src/main/java/org/apache/james/

[jira] Created: (MIME4J-17) Initialization of custom TempStorage doesn't work

2007-06-05 Thread Niklas Therning (JIRA)
Initialization of custom TempStorage doesn't work - Key: MIME4J-17 URL: https://issues.apache.org/jira/browse/MIME4J-17 Project: Mime4j Issue Type: Bug Affects Versions: 0.3 Rep

Re: Spring deployment

2007-06-05 Thread Bernd Fondermann
Stefano Bagnara wrote: Bernd Fondermann ha scritto: Stefano Bagnara wrote: While I think that a spring class to read the avalon descriptor is cool I also think it has a couple of drawbacks to take into consideration: 1) the avalon descriptor is in the phoenix function: in the current ant buil

Re: Spring deployment

2007-06-05 Thread Stefano Bagnara
Bernd Fondermann ha scritto: > Stefano Bagnara wrote: >> While I think that a spring class to read the avalon descriptor is cool >> I also think it has a couple of drawbacks to take into consideration: >> >> 1) the avalon descriptor is in the phoenix function: in the current ant >> build you canno

Re: i18n

2007-06-05 Thread Stefano Bagnara
Danny Angus ha scritto: > On 6/5/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > > >> Btw I'm not a big fan of localization of internet protocols: I never >> found an HTTP server returning "404 Non trovato" instead of "404 not >> found" ;-) > > That's probably because the standard doesn't accou

Re: Spring deployment

2007-06-05 Thread Bernd Fondermann
Stefano Bagnara wrote: While I think that a spring class to read the avalon descriptor is cool I also think it has a couple of drawbacks to take into consideration: 1) the avalon descriptor is in the phoenix function: in the current ant build you cannot make a function to depend on another func

Re: i18n

2007-06-05 Thread Danny Angus
On 6/5/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: Btw I'm not a big fan of localization of internet protocols: I never found an HTTP server returning "404 Non trovato" instead of "404 not found" ;-) That's probably because the standard doesn't account for it. I think that l8n is really

Re: UsersRepository & MailRepository shared context

2007-06-05 Thread Stefano Bagnara
Michael Valenty ha scritto: > In a POP3 session, MyUsersRepository is checking credentials w/ another > system that hands back a transient "session token" that is required for all > subsequent calls. So, in MyMailRepository.list() when I get messages, I need > to supply the session token I generate

Re: MailRepository.store() current user?

2007-06-05 Thread Stefano Bagnara
Michael Valenty ha scritto: > In config.xml > spoolmanager > processor(name=transport), I added: > > > ew://mail/outgoing/ > > > Then, when I send mail from a Outlook to a remote recipient > MyMailRepository.store() is invoked as expected. The issue is that it looks > like t

Re: i18n

2007-06-05 Thread Stefano Bagnara
robert burrell donkin ha scritto: > On 6/4/07, Danny Angus <[EMAIL PROTECTED]> wrote: >> Robert wrote: >> >> > the IMAP protocol returns a lot of messages which must be appropriate >> > for display on the client. ATM these messages are just hard-coded >> > strings. it would probably be good to be a

Re: MailRepository.store() current user?

2007-06-05 Thread Stefano Bagnara
Michael Valenty ha scritto: > I iterated through Mail.getAttributeNames() and SMTPAuthUser was already in > there (put there by DataCmdHandler). With that, I am able to lookup the > credential info I need. Thanks!!! > > Still seems odd that the same MailRepository instance is invoked by the > ToRe

Re: Spring deployment

2007-06-05 Thread Stefano Bagnara
While I think that a spring class to read the avalon descriptor is cool I also think it has a couple of drawbacks to take into consideration: 1) the avalon descriptor is in the phoenix function: in the current ant build you cannot make a function to depend on another functions. Maybe Robert has a

[jira] Assigned: (JAMES-723) Create a James Server Spring Distribution

2007-06-05 Thread Bernd Fondermann (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernd Fondermann reassigned JAMES-723: -- Assignee: Bernd Fondermann > Create a James Server Spring Distribution > ---

Re: Domain Keys (Was: jSPF and James?)

2007-06-05 Thread Stefano Bagnara
Craig Raw ha scritto: > Hi Tom, > > I've been trying out your DK signing mailet - thanks for your hard work. > Some feedback: > > I've downgraded the code (or at least the areas I'm using) to Java 1.4. > I've also changed the temporary file handling a little - the mailet (or > more specifically G

Re: Domain Keys (Was: jSPF and James?)

2007-06-05 Thread Craig Raw
Hi Tom, I've been trying out your DK signing mailet - thanks for your hard work. Some feedback: I've downgraded the code (or at least the areas I'm using) to Java 1.4. I've also changed the temporary file handling a little - the mailet (or more specifically GenericSigner and GenericVerifier)

svn commit: r544417 - /james/server/trunk/STATUS

2007-06-05 Thread berndf
Author: berndf Date: Tue Jun 5 01:26:59 2007 New Revision: 544417 URL: http://svn.apache.org/viewvc?view=rev&rev=544417 Log: update stable version, spring branch status Modified: james/server/trunk/STATUS Modified: james/server/trunk/STATUS URL: http://svn.apache.org/viewvc/james/server/tr

Re: Spring deployment

2007-06-05 Thread Danny Angus
On 6/5/07, Bernd Fondermann <[EMAIL PROTECTED]> wrote: Hi, For the next weeks, I plan to improve the Spring integration branch. The aim is to make it fit for trunk, as an experimental deployment module. Great News Bernd. :-) ATM, we have to translate james-assembly.xml into Spring beans def

Re: Spring deployment

2007-06-05 Thread Norman Maurer
Am Dienstag, den 05.06.2007, 09:14 +0200 schrieb Bernd Fondermann: > Hi, > > For the next weeks, I plan to improve the Spring integration branch. > The aim is to make it fit for trunk, as an experimental deployment module. > > Currently, the stuff at > http://svn.apache.org/repos/asf/james/serv

Re: MailRepository.store() current user?

2007-06-05 Thread Norman Maurer
Hi Michael, why you think the same MailRepository should ne be used for all users ? I don't understand your problem.. Maybe you can ellaborate again why/when you need which MailRepository for which users.. Maybe that give me some idea and i can help again. bye Norman Am Montag, den 04.06.2007,

Spring deployment

2007-06-05 Thread Bernd Fondermann
Hi, For the next weeks, I plan to improve the Spring integration branch. The aim is to make it fit for trunk, as an experimental deployment module. Currently, the stuff at http://svn.apache.org/repos/asf/james/server/sandbox/spring-integration contains two different code bases, src/main/ = my w