Re: Auditing Email Delivery with James

2007-04-04 Thread Norman Maurer
Hi Daniel, you could use your own RemoteDelivery Mailet to do something like that. Maybe extending RemoteDelivery and override the log(String) method can do the job. bye Norman Daniel Burke schrieb: > Hi, > I'm evaluating using james as a mail server. One of our requirements > is that we audit th

RE: Outgoing mail to Yahoo and Gmail

2007-04-04 Thread Sandeep Giri
Thank you Stefano. Not sure if I should call you Stefano or Bagnara. No. Its not getting through. To be precise, the error message is: "Connecting To 64.233.183.27...Could not open connection to the host, on port 25: Connect failed" For that matter, None of the following (which I found in mai

Re: Auditing Email Delivery with James

2007-04-04 Thread Stefano Bagnara
Steve is right! You have to change the environment.xml to add the jdbc factory: Then instead of configuring "as described here: http://excalibur.apache.org/apidocs/org/apache/avalon/excalibur/logger/factory/JDBCTargetFactory.html java:/LogTargetDataSource true CATEGORY

Re: Outgoing mail to Yahoo and Gmail

2007-04-04 Thread Stefano Bagnara
From a command prompt in the same machine try to do: telnet 64.233.183.27 25 Tell us if you connect and receive the "220 welcome message" or not. Often there is a firewall limiting outgoing connections destinated to port 25. Stefano Sandeep Giri ha scritto: Hi, I am Sandeep Giri Lead Develo

Re: Error 550

2007-04-04 Thread Stefano Bagnara
Your IP has been blacklisted at least on combined.njabl.org. Try to insert your IP in this page and read why: http://combined.njabl.org/lookup.html Btw if your James is on a dynamic IP this will happen often, you should better use the gateway option. Stefano Giulio Troccoli ha scritto: Th

Re: Error 550

2007-04-04 Thread Stefano Bagnara
Giulio Troccoli ha scritto: Ok, I have change my script to use the sendmail.py instead of sendmail, and after some triggering it seems to work. Now, I have added tiscali.co.uk in the but I cannot send email using Outlook Explorer on my laptop. James complains with ERROR smtpserver: Rejected m

Outgoing mail to Yahoo and Gmail

2007-04-04 Thread Sandeep Giri
Hi, I am Sandeep Giri Lead Developer of tBits (www.transbittech.com),. I am new to James. Since we didnt have something similar to sendmail for windows, I started using James. I am really impressed with the product (specially things like mailets). Wish to contribute to it. Right now, I am trying

Re: Error 550

2007-04-04 Thread Giulio Troccoli
Ok, I have change my script to use the sendmail.py instead of sendmail, and after some triggering it seems to work. Now, I have added tiscali.co.uk in the but I cannot send email using Outlook Explorer on my laptop. James complains with ERROR smtpserver: Rejected message - 192.168.69.22 not au

RE: Auditing Email Delivery with James

2007-04-04 Thread Steve Brewin
Stefano Bagnara wrote: > There is not such extension point, but you can probably > create your own > RemoteDelivery mailet (extending the current RemoteDelivery or simply > reusing code) and it should be easy to do. > > The RemoteDelivery has a thread pool each one accepting mail from the > spool

Re: Error 550

2007-04-04 Thread Giulio Troccoli
Sorry, but how do I use the python script? The instrucions inside says to create a symlink. Does it mean a symlink to the script called sendmail? (ln -s sendmail.py sendmail) - Original Message - From: "Stefano Bagnara" <[EMAIL PROTECTED]> To: "James Users List" Sent: Wednesday, Ap

Re: Error 550

2007-04-04 Thread Giulio Troccoli
Thanks Stefano. The actual message after the error is different for one email address to the other. Two examples are Error message: 550 Your e-mail was rejected for policy reasons on this gateway. Reasons for rejection may be related to content such as obscene language, graphics, or spam-lik

Re: Error 550

2007-04-04 Thread Stefano Bagnara
What is exactly the message you receive? There is more after the 550... To use your ISP SMTP for delivery you use the configuration in the RemoteDelivery mailet. To send an email to james from linux you can try using the python scripts you find here: http://svn.apache.org/repos/asf/james/se

Error 550

2007-04-04 Thread Giulio Troccoli
Hi everybody. Sorry for the obscure subject but hopefully you will understand it in a minute. First though some background. I have a Linux Fedora Core 5 box, with James 2.3.0. I have set up a mailing list and there is an automatic process that runs every day on the Linux box and sends an email

POP3 distributed Locking: a solution

2007-04-04 Thread Marcello Marangio
Hi all. I've been working on the POP3 locking problem on multiple instances of james, I found a possibile solution, and It works fine. I still use James 2.2. It is based on database locking using a "select for update " statement on a user's maildrop (i.e. on a set of records in the inbox table).

Re: jSPF hangs on new SPF Object

2007-04-04 Thread Stefano Bagnara
Hi Mark, in your thread dump there is no reference to any of the spf classes. Why do you think the hang is happening on new SPF()? Stefano Mark Hale ha scritto: On 3/30/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: Mark Hale ha scritto: > Any thoughts on why new SPF() would hang rather than

Re: Auditing Email Delivery with James

2007-04-04 Thread Stefano Bagnara
There is not such extension point, but you can probably create your own RemoteDelivery mailet (extending the current RemoteDelivery or simply reusing code) and it should be easy to do. The RemoteDelivery has a thread pool each one accepting mail from the spool (outgoing) to make an attempt. Th

Auditing Email Delivery with James

2007-04-04 Thread Daniel Burke
Hi, I'm evaluating using james as a mail server. One of our requirements is that we audit the attempts to deliver a piece of mail. I know I will be able to get this from the log but I was hoping to extend james through a mailet possibly to log these events to a database. Has anyone got any experie