Re: Processing Email Attachments...

2008-07-09 Thread Gary Jarrel
I was recently working on a similar project of parsing out email messages including attachment and got a lot of good info from: http://java.sun.com/products/javamail/FAQ.html#readattach Hope it helps, garyj On Wed, Jul 9, 2008 at 11:37 AM, Ajay Chitre <[EMAIL PROTECTED]> wrote: > When an email

Re: Preventing certain users from sending mail

2007-09-20 Thread Gary Jarrel
Although not 100% sure about the second paragraph, I think you can use a matcher along the lines of RemoteAddrNotInNetwork=127.0.0.1 and every time an email is received from an address outside you computer it can be disposed of, however all the others can pass! I'm quite new to James myself, but a

Re: James Mailet Access to External Servers!

2007-09-06 Thread Gary Jarrel
>wget http://:80/ > or > telnet 80 > ? > >Bernd > > Gary Jarrel wrote: > > Hi All! > > > > A quick questions - I've got a mailet which uses a closed source API > > to connect to a remote server to notify users of mail coming in. The &

James Mailet Access to External Servers!

2007-09-06 Thread Gary Jarrel
Hi All! A quick questions - I've got a mailet which uses a closed source API to connect to a remote server to notify users of mail coming in. The connection is a simple http connection from the James server (inside the mailet) to a remote server on port 80. All seems to function well in the test

Replacing org.apache.james.James in assembly.xml

2007-09-04 Thread Gary Jarrel
Hi Guys! I've written a custom implementation of org.apache.james.James and changed the relevant lines in assembly.xml my question though can I just place the implementation under james-2.3.1/apps/james/SAR-INF/lib or does it have to be in the james SAR file. I've tried putting it under james-2.3

Re: JavaMail SSL access James failed

2007-04-24 Thread Gary Jarrel
I would be pretty sure that it has something to do with the fact that you are using a self signed certificate. I have run into this problem mainly when testing SSL connections accross my test web servers i.e. establishing connections to https://foo.com and using self signed certificates. In most

Re: James as a Tracker Server

2007-04-23 Thread Gary Jarrel
So, if you do something similar, make sure that you accept mail only from authenticated users/hosts. We've given that a considerable amount of thought, and are currently testing various ways of making sure that no open relay will be opened for spammers! but thank you for the pointer! Another

Re: James as a Tracker Server

2007-04-21 Thread Gary Jarrel
ck.com .. .. . your.final.mail.destination 25 I hope this was helpfull. bye Norman Gary Jarrel schrieb: > Hi All! > > Sorry for all the questions, but I'm playing around with using James > as a tracker server similar to the way that read notify and others > work!

Re: Newbie Questions on James

2007-04-20 Thread Gary Jarrel
I'm quite new to James myself, and most of my previous work has been with postfix, but perhaps I can answer some of your questions. On 4/21/07, Johnny Kewl <[EMAIL PROTECTED]> wrote: I'd like to play with James and all I have is a DSL connection... When I look at the DSL router docs it says it c

James as a Tracker Server

2007-04-20 Thread Gary Jarrel
Hi All! Sorry for all the questions, but I'm playing around with using James as a tracker server similar to the way that read notify and others work! Eg. If I have a domain say track.com and someone sends an email to [EMAIL PROTECTED] it relays through the track.com mail server where I suppose A

Re: Spring and Mailets

2007-04-20 Thread Gary Jarrel
I've not tested it, but it should work if you placed spring stuff in the james/SAR-INF/lib folder. If you try and it works, please confirm it ;-) I've already got this working, and it actually works quite well. What I've got happening so far is as follows: A project has two maven modules:

Spring and Mailets

2007-04-20 Thread Gary Jarrel
Hi All Is there any best practices on having Spring inject objects into the mailets? Thank you! Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Mail Queues & Exceptions

2007-04-18 Thread Gary Jarrel
Hi All I'm quite new to James, and need to find a way to clear mail queues. I.e. I've sent an email to James where the from address is part of a non existent domain. The to address of this email was to a user who did not exist on the James server but James was aware the the domain of the to addr