FetchPOP'ing mails with invalid TO field

2003-03-13 Thread Steen Jansdal
Hi, I'm having problems fetching mail via FetchPOP where the TO field is malformed. When the TO field is empty or malformed according to RFC822 I get an error in the fetchpop log: can't insert message [EMAIL PROTECTED] from null And the mail is not deleted from the pop server, so this error keep

Re: sending mails using james was blocked by Anti Spam http://spamblock.outblaze

2003-03-11 Thread Steen Jansdal
Alice K wrote: Steen, Thank you for the suggestion. The autodection is set to "false". Could you know any other reasons? Alice Original Message Follows---- From: Steen Jansdal <[EMAIL PROTECTED]> Try to change the line myMailServer into something like

Re: sending mails using james was blocked by Anti Spam http://spamblock.outblaze.com

2003-03-11 Thread Steen Jansdal
Alice K wrote: Hi, I used the latest James to send out emails from java web application. It works very well. However, EMail from my mailserver was refused by Anti Spam. Reason is DSS-HELO found. Here is the explanation note received. I would apprecate very much if anyone can take a look at it

Re: Missing Carriage Return

2003-03-10 Thread Steen Jansdal
Noel J. Bergman wrote: Steen, How's this work for you? public void write(int b) throws IOException { switch (b) { case '.': if (countLast0A0D == 2) { out.write('.'); } countLast0A0D = 0; br

Re: Missing Carriage Return

2003-03-10 Thread Steen Jansdal
Noel J. Bergman wrote: Gentlemen, I will review this change later (after some sleep), but it appears that the proposed solutions consist of converting \n to \r\n. This would be covered by RFC 2821, section 2.3.7, which mandates that the line termination is CRLF, and that CR and LF must not be tra

Re: Missing Carriage Return

2003-03-10 Thread Steen Jansdal
Miroslav Nachev wrote: Dear Steen, We have the same problem and we fixed with the following code: public class MailServer { public static void main(String[] args) throws Exception { String value = new String(new byte[]{'\r', '\n'}); System.setProperty("line.se

Re: Missing Carriage Return

2003-03-10 Thread Steen Jansdal
Steen Jansdal wrote: Steen Jansdal wrote: Hi, This has possibly been asked before, but I cannot find it in the mail archieve. It seems as there are missing some Carriage Returns after some of the lines in a mail. My Outlook users are getting strange looking mails. Is this a configuration options

Re: Missing Carriage Return

2003-03-09 Thread Steen Jansdal
Steen Jansdal wrote: Hi, This has possibly been asked before, but I cannot find it in the mail archieve. It seems as there are missing some Carriage Returns after some of the lines in a mail. My Outlook users are getting strange looking mails. Is this a configuration options that I simply hasn&#

Missing Carriage Return

2003-03-07 Thread Steen Jansdal
Hi, This has possibly been asked before, but I cannot find it in the mail archieve. It seems as there are missing some Carriage Returns after some of the lines in a mail. My Outlook users are getting strange looking mails. Is this a configuration options that I simply hasn't found? Steen

Re: FetchPOP and recipients

2003-03-06 Thread Steen Jansdal
Danny Angus wrote: Steen, Thanks for this, but I'm sorry to say that we probably won't use it, Fetch is undergoing some re-writing at the moment to extend it to include IMAP accounts as well, but even so your idea breaks the principle by which fetch works; Fetch is intended to insert mail into

FetchPOP and recipients

2003-03-06 Thread Steen Jansdal
Hi, I'm totally new with this James mail server, so please bear with me if I'm talking nonsense. In my company we have a lot of external mailboxes that has to be fetched via POP3, and I can see that James can do that with the fetchpop component. But I think its difficult to setup in which mailbox