RE: Scheduling in James

2004-03-23 Thread Noel J. Bergman
> Is there some sort of scheduler that I can use to prod a certain mailet > awake to check the database, and send the email out on that date? > On the other hand is there some way I can use cron to do the same thing? Send mail to a special address. I have something similar that I run here.

Re: Database Pooling

2004-03-23 Thread tyler
As a general rule, you don't need to connection pool yourself. It is usually suggested (in the JDBC docs, for example) that you NOT pool, because it is the responsibility of the drivers themselves to pool. For instance, I think the HSQL driver pools automatically, and I can't imagine that Sybas

Re: Scheduling in James

2004-03-23 Thread Clive Tonge
[EMAIL PROTECTED] wrote: Hi all, I'm looking to send out a series of template-based emails on certian set dates. Is there some sort of scheduler that I can use to prod a certain mailet awake to check the database, and send the email out on that date? On the other hand is there some way I can use

RE: "Open-Relay" Problem - ORDB, MAPS etc.

2004-03-23 Thread bill page
I don't believe it will. I put up James in the fall (had an expired server and dreaded re-installing exchange). I was concerned about this too. I went to www.ordb.org to have it tested and it passed. My firewall is set to accept from anywhere and send to anywhere but only from the one ip (which

Re: javamail and Groupwise

2004-03-23 Thread Andrew Gilbert
Alagan, Use VERP style addressing, setup GroupWise/Novell to forward the bounces to James. Write a mailet for James to process. You should be set. Andy 1. Use james for your outgoing mail server and write a mailet to handle bounces Alagan Sathianathan wrote: Hi: We use Novell mail servers and

Scheduling in James

2004-03-23 Thread melroy_drego
Hi all, I'm looking to send out a series of template-based emails on certian set dates. Is there some sort of scheduler that I can use to prod a certain mailet awake to check the database, and send the email out on that date? On the other hand is there some way I can use cron to do the same

javamail and Groupwise

2004-03-23 Thread Alagan Sathianathan
Hi: We use Novell mail servers and Groupwise clients in our shop. I am using JavaMail API to send email by using the SMTP server. It works fine. In the receieving part, we don't have a seperate IMAP or POP3 servers where I could use JavaMail to read the mails from a inbox. I have some issues h

Re: Database Pooling

2004-03-23 Thread Serge Knystautas
On Tue, 23 Mar 2004 15:41:15 -0500 Bottom line. Should I use my connection pooling or is it redundant? Redundant. In the 2.1.3 we used a crappy database connection pooler. In the 2.2 branch, we use DBCP 1.1 (http://jakarta.apache.org/commons/dbcp/). -- Serge Knystautas

RE: re-process failed mails after some time

2004-03-23 Thread Noel J. Bergman
> Can you give me some advice/example/documentation how to write > my own spooling mechanism in my mailet? Either use RemoteDelivery as a guide, or wait for me to commit a generic base. --- Noel - To unsubscribe, e-mail

Database Pooling

2004-03-23 Thread John Glorioso
I have a general question about James' jdbc connectivity. How efficient is it? What I mean is does it employ connection pooling? I was looking through the code and it seemed to suggest that it is done in the avalon framework, but reading the docs in config.xml, I began to second guess it. Just

Re: re-process failed mails after some time

2004-03-23 Thread Angel Angelov
Hi Noel, thanks for the response. My mailet, takes the body of the e-mail, send it as a sms and set the mail status to GHOST. That mean, I can not use the RemoteDelivery mailet - the e-mail is not delivered, it's destroyed. Can you give me some advice/example/documentation how to write my own s

Re: Virtual Hosting Solution

2004-03-23 Thread John Glorioso
Are there restrictions in email addresses that prohibit someone from using two periods in a row? For example is [EMAIL PROTECTED] a valid address? If that is legit, then someone could use [EMAIL PROTECTED] if they want which would break the pattern. Just nitpicking. I suppose it is not a big de

Virtual Hosting Solution

2004-03-23 Thread Daniel Perry
I finally found some time to finish my james virtual hosting solution. Everything is available from: http://www.netcase.co.uk/daniel/james virtualhosting.txt describes how to use it - if there is interest i will rewrite this into somthing more readable. The modified sources, james.jar, james.sar

RE: re-process failed mails after some time

2004-03-23 Thread Noel J. Bergman
> Some times it's not possible to process the e-mails and I want to > retry after some time (2 hours for example). See the thread "RE: Delaying Local Delivery, Configuring additional Spool type repositories?" --- Noel -

RE: Delaying Local Delivery, Configuring additional Spool type repositories?

2004-03-23 Thread Noel J. Bergman
Please turn off HTML e-mail. The answer to the rest of your question is that I am working on refactoring the RemoteDelivery mailet so that the self-spooling behavior is separated from what the mailet does when spooling. That would mean you could insert your own logic for what happens when it is t

RE: "Open-Relay" Problem - ORDB, MAPS etc.

2004-03-23 Thread Noel J. Bergman
> > However, I see a growing concern amongst my peers for > > the "open-relay" thing. I want to inquire that, can > > JAMES be possibly listed in the blacklists (ORDB, MAPS > > etc.). > > > I m asking because JAMES accepts the messages from ANY > > IP address. > > AFAIK any *legitimate* relay serve

Re: "Open-Relay" Problem - ORDB, MAPS etc.

2004-03-23 Thread bill parducci
AFAIK any *legitimate* relay server REQUIRES that a relay actually occur. james--unless configured incorrectly--doesn't fit that profile. heck, if you are paranoid about such thing (i am), here is a cron job for you (requires wget): #!/bin/sh # wjp last updated 8/26/03 # first we query the rbls

"Open-Relay" Problem - ORDB, MAPS etc.

2004-03-23 Thread Lahu
Hi eveybody, I m a pretty satisfied JAMES user. So far, JAMES has pleased me on almost every account. (Though, I helped catch a service-level (i.e. SMTP, NNTP, POP) "connectionLimit" bug) However, I see a growing concern amongst my peers for the "open-relay" thing. I want to inquire that, can JAME

re-process failed mails after some time

2004-03-23 Thread Angel Angelov
Hi all, I'm developing an application based on James using mailets. Some times it's not possible to process the e-mails and I want to retry after some time (2 hours for example). Did somebody have some suggestion, how can I do this without holding the spool thread with Thread.sleep(2*60*1000)? Th

Re: Delaying Local Delivery, Configuring additional Spool type repositories?

2004-03-23 Thread James
I am using james 2.1.3 and if you remember this thread, I would have a question ... I would like to write something so that when I send an email to someone with an added recipient like [EMAIL PROTECTED], I would like the email is sent later... at 3 pm... so these are my steps : + using Remote