Re: telnet james smtp problem

2008-11-13 Thread Michael Weissenbacher
Hi, IIRC the correct command is: MAIL FROM: <[EMAIL PROTECTED]> that works here, Michael -Ursprüngliche Nachricht- Von: duvan Gesendet: 13.11.2008 15:30 > Tried without space also. > > Like: > > mail from:<[EMAIL PROTECTED]> > (hope CAPITAL letters do not matter) > > Still get rep

Re: [POLL] Target Java 1.5 for James 3.0?

2008-11-04 Thread Michael Weissenbacher
> > --8<--- > [X] +1 James 3.0 -> Java 1.5 > [ ] -1 Keep James 3.0 on Java 1.4 > - > Since I've never used James with Java < 1.5 ---

Re: All Incoming Mails goes to SPAM

2008-04-01 Thread Michael Weissenbacher
> From today, all mails received by FETCHMAIL is stored in spam > directory. Users are unable to retrieve the mails. Could any one > help? Stop using relays.ordb.org kind regards, Michael - To unsubscribe, e-mail: [EMAIL PROTEC

Re: Exception opening socket: null

2007-10-04 Thread Michael Weissenbacher
Hi, > > Please tell us if the Sun JDK solved the issue or if you have the jstack > output. I cannot think of anything else looking at the stacktrace and > the netstat output... Well, i switched to Sun JDK 1.5.0_13-b05 two days ago and the problem didnt't happen again yet. If it does, I'm gonna pos

Re: Exception opening socket: null

2007-10-02 Thread Michael Weissenbacher
Hi Stefano, another thing i just noticed: From the moment when JAMES stops working it starts leaving temp files behind, all with the size of 1 byte and with an "R" in it: -rw-r--r-- 1 james james1 2007-10-02 10:58 Mail1191315491538-1106053225.m64 -rw-r--r-- 1 james james1 2007-10-02 10:58

Re: Exception opening socket: null

2007-10-02 Thread Michael Weissenbacher
Hi Stefano, > Can you run a "netstat -n" and a "jstack " when it happens, to > understand what the server is doing and what are the active connections? here is the netstat output: *** snip *** # netstat -nap|grep 10025 tcp0 0 :::127.0.0.1:10025 :::*LISTEN 31286

Re: Exception opening socket: null

2007-09-28 Thread Michael Weissenbacher
Hi Stefano, > this happens when the SMTP server receive a new mail from a remote > client. When the DATA command is received the SMTP server opens a > temporary file and start streaming the mail content to this file. > > The "Exception opening socket: null" probably happens because the > connectio

Re: Exception opening socket: null

2007-09-28 Thread Michael Weissenbacher
Hi, > I've seen something like this before but I can't remember if I did > anything to fix it or if the sending side just gave up after awhile. It > may be trying to send a huge message and the JVM is running out of > memory. I have: > > PHOENIX_JVM_OPTS="-Xms512m -Xmx512m" > export PHOENIX_JVM_

Exception opening socket: null

2007-09-27 Thread Michael Weissenbacher
Hi List, today one of my JAMES installations developed an interesting (and annoying!) behavior. It works perfectly for hours, but suddendly this stack trace appears in the smtpserver log file: ** 27/09/07 15:24:53 INFO smtpserver: Connection from nospamv3.net4you.at (127.0.0.1) 27/09/07 1

Re: james crashing

2007-04-19 Thread Michael Weissenbacher
Hi, I can confirm that I got the same Problem on Linux with IBM JDK 1.5 (build pxi32dev-20070201 (SR4)). Using PHOENIX_JVM_OPTS="-Xmx600M" has mitigated the problem for me. Additionally, I restart JAMES every night, just to be safe. Michael -Ursprüngliche Nachricht- Von: SeaGizm

Re: Immediate Processing vs Spooling

2007-04-08 Thread Michael Weissenbacher
Hi, It should work also with DBs and we are not aware of any racing condition or locking issue in 2.3.0. So you are probably hitting an unknown bug. I never seen this behaviour on 2.3.0 so I cannot investigate on it, sorry. I'll see if I can prepare a simple test-case for 2.3.0 and then make a

Re: Immediate Processing vs Spooling

2007-04-05 Thread Michael Weissenbacher
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 --

Re: Immediate Processing vs Spooling

2007-04-05 Thread Michael Weissenbacher
Hi, What version of James are you using? James 2.3.0 James 2.2.0 had bugs in spooling timings and often the send was delayed 10-60 seconds. Sound pretty much like the problem I'm facing with 2.3.0. The only option you have is to increase the number of spool threads / delivery threads: this

Immediate Processing vs Spooling

2007-04-05 Thread Michael Weissenbacher
Hi List, is there any way how i could influence whether a Mail is processed immediately or spooled first? I have the requirement that a mail is processed in under 10 seconds which is usually achieved easily. But sometimes JAMES decides to spool the mail first and process it like 20 seconds lat

Re: specific spam

2007-03-12 Thread Michael Weissenbacher
Hi, not much hope on these with Bayesian Analysis IMO. There aren't any patterns which such a filter can detect. The newest ones even use text which is slightly rotated and are made up of several frames using animated gif's. Would love to hear some ideas on how to detect them reliably, too. M

Re: Custom Mailets, Threads and (Hibernate-) Sessions

2007-03-07 Thread Michael Weissenbacher
Hello Stefano, Once the mail is store into the error processor the current thread has no more tasks to do. Another thread will pick up the mail from the error state and run it through the error processor. Then it is as I feared ;) I suggest you to read this too: http://wiki.apache.org/james/H

Re: Custom Mailets, Threads and (Hibernate-) Sessions

2007-03-07 Thread Michael Weissenbacher
Hi, There is a thread pool for the spoolmanager, every thread simply take a mail from the spool and let it run through a single processor (a sequence of mailets). At the end of the processor the mail (if it still exists) is stored to another processor or ghosted (or duplicated). Another thread

Custom Mailets, Threads and (Hibernate-) Sessions

2007-03-06 Thread Michael Weissenbacher
Hi List, I have developed some custom mailets that connect to a backend database via Hibernate, which is a ORM mapper. Usually it's safe to use a ThreadLocal variable to store the current Hibernate Session (which is, in essence, nothing else than the current database transaction). I've written

Re: Recommend a Mailet Tutorial Please

2007-03-06 Thread Michael Weissenbacher
future please explain what youmean. On 3/5/07, Michael Weissenbacher <[EMAIL PROTECTED]> wrote: Hi Jim, > Can you tell me where james stores the encryped passwords, what > directory/file? 1. Please don't top-post 2. Please don't hijack other threads 3. As Norman already told y

Re: DNS entry resolution

2007-03-06 Thread Michael Weissenbacher
Hi, Is it possible for James to bounce back a message as soon as it finds out that it can not resolve DNS entry? Right now, if I send a mail to James with incorrest host name, though the entry does not get resolved but RemoteDelivery mailet keeps on retrying for about 6 days, which can make it v

Re: Recommend a Mailet Tutorial Please

2007-03-05 Thread Michael Weissenbacher
Hi Jim, Can you tell me where james stores the encryped passwords, what directory/file? 1. Please don't top-post 2. Please don't hijack other threads 3. As Norman already told you, there is no way to get the passwords back because they are encrypted via an one-way function (hash function). 4. T

Re: Recommend a Mailet Tutorial Please

2007-03-05 Thread Michael Weissenbacher
Hi, Im in search for a good mailet api tutorial.Can anyone recommend one please. I recommend the following article: http://www.ibm.com/developerworks/java/library/j-james1.html and it's second part: http://www.ibm.com/developerworks/java/library/j-james2.html regards, Michael ---

Re: R: POP3 problem in a HA environment

2007-02-28 Thread Michael Weissenbacher
Hi, I am afraid that with a simple java program that performs very fast socket open/reset james can crash, which would be a serious bug. You haven't told us about your environment. On Java Production Servers under Linux with many open sockets I usually have to change the nofile Parameter in sec

Re: Original Message not returned in a bounce

2007-02-22 Thread Michael Weissenbacher
Hi, Good point. Thanks for the explanation. But in my case, I ONLY bounce outbound messages from authenticated users that cannot be delivered (due to invalid domain name or domain down). So there's no risk in attaching the message on the bounce since they are only going back to my own authe

Re: Original Message not returned in a bounce

2007-02-20 Thread Michael Weissenbacher
Hi, I am curious, though, about your comment that sending the message back as an attachment affects spam. I realize that including the orig note increases the size of the bounce that needs to be sent. But other than that, I don't see how it's going to help spammers be more effective. Is it

Re: Trunk IMAP configuration

2007-02-12 Thread Michael Weissenbacher
Hi, > maybe we will include a experimental version in the next major release. > Stay tuned ;-) this sounds like great news! Will there be a possibility to deliver Mails to certain IMAP folders via mailets? It would be cool for mailing lists to pre-sort mails and not have all of them delivered to

Re: Subject line problem

2007-02-09 Thread Michael Weissenbacher
Hi, > Anyone have any ideas how I go about changing the encoding that James > uses, which defaults to the ANSI one? I've tried the JVM params > -Dfile.encoding=8859_1 -Dmail.mime.charset=iso-8859-15, with no change > in the result. Have you tried what i suggested yesterday? java -Dfile.encoding=UT

Re: Subject line problem

2007-02-09 Thread Michael Weissenbacher
Hi, > It is encoded according to following standard. > > http://www.faqs.org/rfcs/rfc2047.html > > I think everything is Ok. that's theoritically true. But in practice there are some email programs out there (like MS Outlook or Mozilla Thunderbird IIRC) that don't know about "ANSI_X3.4-1968", wh

Re: Can you vote for options for webmail for james solution?

2007-02-08 Thread Michael Weissenbacher
Hi, I don't use JAMES as Mail store but forward all mails to a local Courier-IMAP (via the remote delivery mailet with a gateway). Then I use squirrelmail to access it. The only drawback is that squirrelmail gets considerably slow on mailboxes with >1000 Mails. I guess that's because it always fet

Re: Subject line problem

2007-02-08 Thread Michael Weissenbacher
Hi, which OS are you using? Have you defined a default locale? try: java -Dfile.encoding=UTF-8 or java -Dfile.encoding=CP1252 Michael Craig Raw schrieb: Hi, I'm having a problem in James that I'm hoping one of the knowledgeable people on this list can help with. Certain emails received by Ja

Re: Outgoing mail

2007-01-25 Thread Michael Weissenbacher
Hi, Don't worry problem solved. There was a weird flag at our end ...which was causing this. Sorry to bother u guys. You wouldn't want to know how often i solve problems just by trying to explain them to someone else :) Michael

Re: processing but no delivery?

2007-01-25 Thread Michael Weissenbacher
Hi, don't know whether or not this question sounds ridiculous, but I just want to have mails that make its way through my James setup processed by some configured mailets and deleted / expunged / quietly discarded afterwards without actually being stored anywhere - no repository, no SQL database,

DTD or XSD for config.xml

2007-01-25 Thread Michael Weissenbacher
Hi List, is there a DTD or a XSD for validation of config.xml? It's somewhat annoying that my editor (JEdit) complains about undecalred element types all over the place while editing config.xml. Is it harmful to remove the DOCTYPE from config.xml? thanks, Michael

Re: Custom Mailet Jars

2007-01-23 Thread Michael Weissenbacher
Hi, Bud Bach schrieb: In the documentation for custom mailets: http://james.apache.org/server/2.3.0/custom_mailet.html Under the section titled "Adding Your Mailet to the Classpath", option 1b it says: "It will also be necessary to unpack the JavaMail and James jar files from the provided .sar

Re: Handling Exceptions in Mailets, Sending custom SMTP responses

2007-01-20 Thread Michael Weissenbacher
Hi Norman, Thanks for your answers M> Now I wonder what would be the best way to handle unexpected M> Excpeptions in my custom mailets, for example a NullPointerException M> or a problem with the Database Connection. As i've observed the M> message gets forwarded to the error processor and put int

Handling Exceptions in Mailets, Sending custom SMTP responses

2007-01-19 Thread Michael Weissenbacher
Hi List, I am new to this list and semi-new to JAMES. I've sucessfully set up JAMES and i've made some custom matchers and mailets. Reading through the documentation, the wiki and "Working with James" from the IBM developerworks I consider myself informed :) Now I wonder what would be the bes