Running a second spool queue

2007-04-06 Thread Jerry M
I have had some situations recently where the spool queue has gotten clogged and has grown to ~4000 messages. I'm still trying to track down what is happening and what might be causing it. I can recycle mySQL and James and the spool starts clearing out. I'm sure I'll ultimately figure out wh

Re: excessive disk space usage with James 2.2.0

2007-04-06 Thread Stefano Bagnara
in 2.3.0 if match is omitted "All" is used as a default. In 2.2.0 you have to use match="All". Stefano rmasonjr ha scritto: ok - is this the correct format? I do not have to specify a "Match" attribute? Stefano Bagnara-2 wrote: Change your config.xml processor relay-denied: comme

Re: excessive disk space usage with James 2.2.0

2007-04-06 Thread rmasonjr
ok - is this the correct format? I do not have to specify a "Match" attribute? Stefano Bagnara-2 wrote: > > > Change your config.xml processor relay-denied: > > > comment the ToRepository mailet and add a Null mailet so the message is > GHOSTED. > > -- View this message in conte

Re: Immediate Processing vs Spooling

2007-04-06 Thread Stefano Bagnara
Michael Weissenbacher ha scritto: Hi, I got some some news from the front :) I am using MySQL for spooling, could this be the culprit? I tried the normal File-Based spooling and everything is working smoothly now. Is there any change to get it working with MySQL spooling too? Michael It sh

Re: how to allow a email to text service through James

2007-04-06 Thread Stefano Bagnara
Add "domain" to the servernames, or add the client IP to the authorized addresses (authorized networks). Stefano eCommunicate ha scritto: To James Users, We are running an SMS Gateway where people SMS by sending an email to [EMAIL PROTECTED] It was working fine under james-2.3.0b1 but un

Re: excessive disk space usage with James 2.2.0

2007-04-06 Thread Stefano Bagnara
The custom mailet you wrote to send the SMS should set the mail state to GHOST: mail.setState(Mail.GHOST) Otherwise just after the SMS sending mailet you should add a "Null" mailet (). Stefano rmasonjr ha scritto: Thanks - I will make the change and restart the server. This process takes em

Re: m64 files in temp

2007-04-06 Thread Stefano Bagnara
zkn ha scritto: On 06.04.2007, at 16:40, Stefano Bagnara wrote: 2) You cold-restarted James while it was receiving a message (so it left trash m64 file) Probably this is the case because I had 11 files there all received at the same time. Is it possible that we have lost these emails or james

Re: excessive disk space usage with James 2.2.0

2007-04-06 Thread rmasonjr
Thanks - I will make the change and restart the server. This process takes emails and converts them to SMS messages. Ideally, the messages should be processed, then discarded - not stored or forwarded in any way. Given that these messages should be promptly discarded, what would be the optimal

RE: run James under a non-root user and as a service

2007-04-06 Thread eCommunicate
Hi Norman, Thanks to your small howto and previous email I found the files under: http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/phoenix-b in/bin/ I'm now running James under james-server.sh. I set the USER to james Please confirm its running correctly as I still get it runn

how to allow a email to text service through James

2007-04-06 Thread eCommunicate
To James Users, We are running an SMS Gateway where people SMS by sending an email to [EMAIL PROTECTED] It was working fine under james-2.3.0b1 but under James 2.3.0 all we get back is: The following recipient(s) cannot be reached: mobilenumber@ domain' on 06/04/2007 11:21

Re: m64 files in temp

2007-04-06 Thread zkn
On 06.04.2007, at 16:40, Stefano Bagnara wrote: zkn ha scritto: Hi, now when I already have james 2.3 running I see some .m64 files in temp directory. These are obviously email sources. I noticed that most of the files appear and then disappear but some files are there for about 16 hours

Re: excessive disk space usage with James 2.2.0

2007-04-06 Thread zkn
I think you should put these two options in the smtpserver configuration: true 127.0.0.0/8 This will block the relay-denied messages. On 06.04.2007, at 19:27, rmasonjr wrote: After cranking-up James, the number of physical files generated in the /opt/james/james-2.2.0/apps/james/var/mail f

Re: excessive disk space usage with James 2.2.0

2007-04-06 Thread Stefano Bagnara
rmasonjr ha scritto: After cranking-up James, the number of physical files generated in the /opt/james/james-2.2.0/apps/james/var/mail folders is excessive. The bulk of the files are in the relay-denied folder: drwxr-xr-x 2 root other5805056 Apr 6 11:23 spool drwxr-xr-x 2 root

excessive disk space usage with James 2.2.0

2007-04-06 Thread rmasonjr
After cranking-up James, the number of physical files generated in the /opt/james/james-2.2.0/apps/james/var/mail folders is excessive. The bulk of the files are in the relay-denied folder: drwxr-xr-x 2 root other5805056 Apr 6 11:23 spool drwxr-xr-x 2 root other38304768 Apr

Re: run James under a non-root user and as a service

2007-04-06 Thread Norman Maurer
Hi, yes its running as "james" user. Commons daemon bind the ports with root privileges and after that drop the priveleges to the other user. So all is ok :-) bye Norman eCommunicate schrieb: > Hi Norman, > > Thanks to your small howto and previous email I found the files under: > > http://svn.a

Re: m64 files in temp

2007-04-06 Thread Stefano Bagnara
zkn ha scritto: Hi, now when I already have james 2.3 running I see some .m64 files in temp directory. These are obviously email sources. I noticed that most of the files appear and then disappear but some files are there for about 16 hours already. What are these files and should I worry a

m64 files in temp

2007-04-06 Thread zkn
Hi, now when I already have james 2.3 running I see some .m64 files in temp directory. These are obviously email sources. I noticed that most of the files appear and then disappear but some files are there for about 16 hours already. What are these files and should I worry about them? Oz

run James under a non-root user and as a service

2007-04-06 Thread eCommunicate
Hi, 1. I've just installed james 2.3.0 and can't find the script to change the user James is running under to be the james user. I start James using phoenix. root 2174 0.4 1.9 295308 39184 pts/0 Sl 22:34 0:02 /usr/java/jdk/bin/java -Djava.ext.dirs=/usr/local/james-2.3.0/james-2.3.0/l

Re: problems upgading james

2007-04-06 Thread Stefano Bagnara
zkn ha scritto: Yes, the new jar together with the environment.xml change fixed the problem. Now james starts normally without any delay. Thank you! Thanks to you for reporting the problem and the help in testing :-) I hope James PMC will want to include this fix in the next 2.3.1. Stay tun