Re: Gateway error

2006-02-14 Thread Stefano Bagnara
Then please compare the 2 folders (working/nonworking) and tell us what the difference are. Stefano Shal Jain wrote: I have been running James 2.2.0 as a service (JDK 1.4.x) since the last 3 years. Wrapper is set to use 256Mb. As a service James starts, but doesn't connect to port 25. I tried

Re: Gateway error

2006-02-14 Thread Shal Jain
Here's what I have found out at the end of the day I have James running in a complete different folder (JamesNew) w/ the exact same configs as I had before in the originial installation (JamesOld) I can not get the instance 'JamesOld' to start (out of memory errors) or if it does start, to get it t

Re: Gateway error

2006-02-14 Thread Shal Jain
I have been running James 2.2.0 as a service (JDK 1.4.x) since the last 3 years. Wrapper is set to use 256Mb. As a service James starts, but doesn't connect to port 25. I tried bumping max mem to 384 but didnt' get anywhere. Similar results on command line. I either get a out of memory or James se

Re: Gateway error

2006-02-14 Thread Stefano Bagnara
You are running OutOfMemory. Increase the maximum memory available to James. If you use the wrapper then you need to change: wrapper.java.maxmemory inside wrapper.conf Otherwise you can set an Environment variable named "PHOENIX_JVM_OPTS" to 128M or more. Stefano Shal Jain wrote: I created a d

Re: Gateway error

2006-02-14 Thread Shal Jain
I created a different folder var/mail/outgoing2 and modified one of the mailets to use that folder file://var/mail/outgoing2/ Since that change I have not been able restart James. I reverted back the change and James will still not start I had been running James as a service. I am now trying to r

Re: Gateway error

2006-02-14 Thread Stefano Bagnara
Shal Jain wrote: No I haven't The following db://maildb/spool/outgoing is the same in both cases. I didn't think that would make a difference I'd appreciate an explanation Here is how a RemoteDelivery works: When James start RemoteDelivery create a number of delivery threads. The threads s

Re: Gateway error

2006-02-14 Thread Shal Jain
Sorry, earlier I had replied that I was using db:// I am actually using file:// The following file://var/mail/spool/outgoing is the same in both cases. I didn't think that would make a difference I'd appreciate an explanation Quoting Stefano Bagnara <[EMAIL PROTECTED]>: > Shal Jain wrote: > >

Re: Gateway error

2006-02-14 Thread Shal Jain
No I haven't The following db://maildb/spool/outgoing is the same in both cases. I didn't think that would make a difference I'd appreciate an explanation Quoting Stefano Bagnara <[EMAIL PROTECTED]>: > Shal Jain wrote: > > [...] > > The idea is that any email destined for abc.com would be go

Re: Gateway error

2006-02-14 Thread Stefano Bagnara
Shal Jain wrote: [...] The idea is that any email destined for abc.com would be go via the gateway and any other host would be handled w/out the gateway The issue that I am seeing in mailet.log is that a some of the emails even though they are not addressed to abc.com are still being sent to the

Gateway error

2006-02-14 Thread Shal Jain
James version 2.2.0 OS - Win2003 Enterprise Server In the transport processor the following rules are in place ... a.b.c.d The idea is that any email destined for abc.com would be go via the gateway and any other host would be handled w/out the gateway The issue that I am seeing i

Re: what is the best way to secure an open relay server without restricting senders

2006-02-14 Thread Amarish Khopkar
Hi Stefano, Thanks a lot for your help. I will try that and let you know. Amarish On 2/13/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > > Amarish Khopkar wrote: > > Thanks for your suggestion. > > > > Sorry about this but I'm going to ask a novice question as I'm a > beginner to > > James.

Re: NullPointer on Remotedelivery

2006-02-14 Thread Stefano Bagnara
Norman Maurer wrote: But why not put the message to the error-processor so it wold be easier to trigger such errors. Is not so easy: read the comment of the catch. Eg: Now the NPE is a bug in javamail, but we can't know what to do: if the NPE was from the "store" of the repository then storin

Re: NullPointer on Remotedelivery

2006-02-14 Thread Norman Maurer
But why not put the message to the error-processor so it wold be easier to trigger such errors. bye Am Dienstag, den 14.02.2006, 10:36 +0100 schrieb Norman Maurer: > Damn ok.. > > > Am Dienstag, den 14.02.2006, 10:27 +0100 schrieb Stefano Bagnara: > > Norman Maurer wrote: > > > Its a message i

Re: NullPointer on Remotedelivery

2006-02-14 Thread Norman Maurer
Damn ok.. Am Dienstag, den 14.02.2006, 10:27 +0100 schrieb Stefano Bagnara: > Norman Maurer wrote: > > Its a message i get and send it to the main mailserver.. > > > > Where should the message located ? > > > > deadletter table ? > > Unfortunately generic exceptions in the delivery process en

Re: NullPointer on Remotedelivery

2006-02-14 Thread Stefano Bagnara
Norman Maurer wrote: Its a message i get and send it to the main mailserver.. Where should the message located ? deadletter table ? Unfortunately generic exceptions in the delivery process ends in message purging: } catch (Exception e) { // Prevent unexpected exceptions from causing loopin

Re: NullPointer on Remotedelivery

2006-02-14 Thread Norman Maurer
Its a message i get and send it to the main mailserver.. Where should the message located ? deadletter table ? bye Am Dienstag, den 14.02.2006, 09:45 +0100 schrieb Stefano Bagnara: > Norman Maurer wrote: > > Hi guys, > > > > i just log in my mailet log and see this error: > > > > l11399016

Re: NullPointer on Remotedelivery

2006-02-14 Thread Stefano Bagnara
Norman Maurer wrote: Hi guys, i just log in my mailet log and see this error: l1139901678401-5 to host 127.0.0.1 at 127.0.0.1 for addresses [EMAIL PROTECTED] 14/02/06 08:21:19 INFO James.Mailet: RemoteDelivery: Exception caught in RemoteDelivery.run() java.lang.NullPointerException