From james-usercarrricky@example.org Sun Sep 02 13:18:10 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 1615 invoked by uid 500); 2 Sep 2001 13:18:09 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 1586 invoked from network); 2 Sep 2001 13:18:09 -0000 Message-ID: <carrricky@example.org> From: "Jacques Lema" <carrricky@example.org> To: <carrricky@example.org> References: <carrricky@example.org> Subject: how to delete persistentstore files Date: Sun, 2 Sep 2001 15:16:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N For some reason I happen to have .persistentstore files remaning in my outgoing directory.. (James 1.2.1) As a quick remedy has anyone written a simple shell script to delete persistenstore files without corresponding streamstore? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Mon Sep 03 05:30:28 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 8039 invoked by uid 500); 3 Sep 2001 05:30:27 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 8028 invoked from network); 3 Sep 2001 05:30:27 -0000 Date: 3 Sep 2001 05:32:03 -0000 Message-ID: <carrricky@example.org> MIME-Version: 1.0 To: carrricky@example.org Subject: Scalability From: "hrishi Deshpande" <carrricky@example.org> Content-ID: <carrricky@example.org> Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, We are considering using JAMES to provide web mail boxes for clients. Can= someone please help me out as in how scalable and stable is JAMES ? How = many users can JAMES support ? What is the H/W required for implementing = this ? Can JAMES be successfully used for @4000 users ? Has anyone already implemented JAMES anywhere ? Please help me out here.. Thanx in advance Hrishikesh Deshpande = --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Mon Sep 03 16:22:00 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 25450 invoked by uid 500); 3 Sep 2001 16:22:00 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 25439 invoked from network); 3 Sep 2001 16:21:59 -0000 Message-ID: <00f401c1349d$429ed5a0$030a0a0a@athlon650> From: "Nick" <carrricky@example.org> To: <carrricky@example.org> Subject: Disabling javax.mail.SendFailedException: 552 Too many receipts Date: Mon, 3 Sep 2001 12:24:17 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00F1_01C13473.59BE1F40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_00F1_01C13473.59BE1F40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am trying to set up an application where I need to be able to mail = thousands of people from our database via a web interface. My problem = has been sending over 100 emails at a time where I get the 552 message. = Is there a way to disable this feature in James so that I can send my = emails? Thanks, Stefan ------=_NextPart_000_00F1_01C13473.59BE1F40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I am trying to set up an application = where I need=20 to be able to mail thousands of people from our database via a web = interface. My=20 problem has been sending over 100 emails at a time where I get the 552 = message.=20 Is there a way to disable this feature in James so that I can send my=20 emails?</FONT></DIV> <DIV><BR><FONT face=3DArial size=3D2>Thanks,</FONT></DIV> <DIV><BR><FONT face=3DArial size=3D2>Stefan</FONT></DIV></BODY></HTML> ------=_NextPart_000_00F1_01C13473.59BE1F40-- From james-usercarrricky@example.org Mon Sep 03 18:49:31 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 17417 invoked by uid 500); 3 Sep 2001 18:49:30 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 17400 invoked from network); 3 Sep 2001 18:49:30 -0000 Message-ID: <carrricky@example.org> From: "Labib Iskander, Marcus" <carrricky@example.org> To: "'carrricky@example.org'" <carrricky@example.org> Subject: AW: Disabling javax.mail.SendFailedException: 552 Too many receip ts Date: Mon, 3 Sep 2001 20:49:30 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Nick, please excuse my question, but wouldn't you normally want to send to = only one recipient at a time, instead of telling the people every single = address which recieved the same message? Not to mention the waste of transfer bandwidth sending an email whichs header is bigger than the body. You could use some mailinglist tool. I am not used to the mailinglist = tools of james (certainly there is some cool way to use them) but with a = mailet you could implement it easily.=20 You just send to a single email address which will be processed by the mailet: <mailet match=3D"carrricky@example.org'" class=3D"MyList"> <mailinglist>list1</mailinglist> </mailet>=20 The mailet shoud look like this (analog to the org.apache.james.transport.mailets.Forward mailet): package mymailets; import org.apache.mailet.*; import java.util.*; import javax.mail.*; import javax.mail.internet.*; public class MyList extends GenericMailet { private String mailinglist; public void init() throws MessagingException { mailinglist =3D = getMailetConfig().getInitParameter("mailinglist"); } private MailAddress [] getRecipients(String listName) { // your code } public void service(Mail mail) throws MessagingException { MailAddress [] recipients =3D getRecipents(mailinglist); for (int i=3D0;i<recipients.length;i++) { getMailetContext().sendMail(mail.getSender(), recipients[i], mail.getMessage()); } mail.setState(Mail.GHOST); } public String getMailetInfo() { return "List Mailet"; } } Dont forget to include this in the spoolmanager element <mailetpackages> <mailetpackage>mymailets.</mailetpackage> =20 <mailetpackage>org.apache.james.transport.mailets.</mailetpackage> </mailetpackages> And take care that the transport processor is configured to send mail = from the mailaddress your webapplication is using to the outside, because = the MailetContext.sendMail() passes the mail directly to the transport processor. Greetings, Marcus -----Urspr=FCngliche Nachricht----- Von: Nick [mailto:carrricky@example.org] Gesendet: Montag, 3. September 2001 19:24 An: carrricky@example.org Betreff: Disabling javax.mail.SendFailedException: 552 Too many = receipts Hi, I am trying to set up an application where I need to be able to mail thousands of people from our database via a web interface. My problem = has been sending over 100 emails at a time where I get the 552 message. Is = there a way to disable this feature in James so that I can send my emails? Thanks, Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Mon Sep 03 19:14:58 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 33684 invoked by uid 500); 3 Sep 2001 19:14:58 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 33673 invoked from network); 3 Sep 2001 19:14:58 -0000 Message-ID: <006601c134ac$b9a28660$22a5b5d8@glissando> From: "Serge Knystautas" <carrricky@example.org> To: <carrricky@example.org> References: <00f401c1349d$429ed5a0$030a0a0a@athlon650> Subject: Re: Disabling javax.mail.SendFailedException: 552 Too many receipts Date: Mon, 3 Sep 2001 15:14:59 -0400 Organization: Loki Technologies MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0063_01C1348B.3259D0D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0063_01C1348B.3259D0D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable JAMES doesn't have that feature. :) Double check what you're using as your outgoing mail server. Serge Knystautas Loki Technologies http://www.lokitech.com/ ----- Original Message -----=20 From: Nick=20 To: carrricky@example.org=20 Sent: Monday, September 03, 2001 1:24 PM Subject: Disabling javax.mail.SendFailedException: 552 Too many = receipts Hi, I am trying to set up an application where I need to be able to mail = thousands of people from our database via a web interface. My problem = has been sending over 100 emails at a time where I get the 552 message. = Is there a way to disable this feature in James so that I can send my = emails? Thanks, Stefan ------=_NextPart_000_0063_01C1348B.3259D0D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>JAMES doesn't have that feature. = :)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Double check what you're using as your = outgoing=20 mail server.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Serge Knystautas</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Loki Technologies</FONT></DIV> <DIV><FONT face=3DArial size=3D2><A=20 href=3D"http://www.lokitech.com/">http://www.lokitech.com/</A></FONT></DI= V> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A carrricky@example.org = href=3D"mailto:carrricky@example.org">Nick</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 carrricky@example.org=20 = href=3D"mailto:carrricky@example.org">carrricky@example.org= rg</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, September 03, = 2001 1:24=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Disabling=20 javax.mail.SendFailedException: 552 Too many receipts</DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I am trying to set up an application = where I need=20 to be able to mail thousands of people from our database via a web = interface.=20 My problem has been sending over 100 emails at a time where I get the = 552=20 message. Is there a way to disable this feature in James so that I can = send my=20 emails?</FONT></DIV> <DIV><BR><FONT face=3DArial size=3D2>Thanks,</FONT></DIV> <DIV><BR><FONT face=3DArial = size=3D2>Stefan</FONT></DIV></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0063_01C1348B.3259D0D0-- From james-usercarrricky@example.org Mon Sep 03 19:16:36 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 34386 invoked by uid 500); 3 Sep 2001 19:16:36 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 34375 invoked from network); 3 Sep 2001 19:16:36 -0000 Message-ID: <006c01c134ac$f45a1c50$22a5b5d8@glissando> From: "Serge Knystautas" <carrricky@example.org> To: <carrricky@example.org> References: <carrricky@example.org> Subject: Re: Disabling javax.mail.SendFailedException: 552 Too many receipts Date: Mon, 3 Sep 2001 15:16:37 -0400 Organization: Loki Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You can send a message to multiple recipients without including the other recipients in the headers. Email client software will call it BCC, and if you're generating the SMTP message yourself, you do whatever you want (message headers can be completely unrelated to delivery information, hence the difficulties in stopping spammers) Serge Knystautas Loki Technologies http://www.lokitech.com/ ----- Original Message ----- From: "Labib Iskander, Marcus" <carrricky@example.org> To: <carrricky@example.org> Sent: Monday, September 03, 2001 2:49 PM Subject: AW: Disabling javax.mail.SendFailedException: 552 Too many receipts Hi Nick, please excuse my question, but wouldn't you normally want to send to only one recipient at a time, instead of telling the people every single address which recieved the same message? Not to mention the waste of transfer bandwidth sending an email whichs header is bigger than the body. You could use some mailinglist tool. I am not used to the mailinglist tools of james (certainly there is some cool way to use them) but with a mailet you could implement it easily. You just send to a single email address which will be processed by the mailet: <mailet match="carrricky@example.org'" class="MyList"> <mailinglist>list1</mailinglist> </mailet> The mailet shoud look like this (analog to the org.apache.james.transport.mailets.Forward mailet): package mymailets; import org.apache.mailet.*; import java.util.*; import javax.mail.*; import javax.mail.internet.*; public class MyList extends GenericMailet { private String mailinglist; public void init() throws MessagingException { mailinglist = getMailetConfig().getInitParameter("mailinglist"); } private MailAddress [] getRecipients(String listName) { // your code } public void service(Mail mail) throws MessagingException { MailAddress [] recipients = getRecipents(mailinglist); for (int i=0;i<recipients.length;i++) { getMailetContext().sendMail(mail.getSender(), recipients[i], mail.getMessage()); } mail.setState(Mail.GHOST); } public String getMailetInfo() { return "List Mailet"; } } Dont forget to include this in the spoolmanager element <mailetpackages> <mailetpackage>mymailets.</mailetpackage> <mailetpackage>org.apache.james.transport.mailets.</mailetpackage> </mailetpackages> And take care that the transport processor is configured to send mail from the mailaddress your webapplication is using to the outside, because the MailetContext.sendMail() passes the mail directly to the transport processor. Greetings, Marcus -----Ursprüngliche Nachricht----- Von: Nick [mailto:carrricky@example.org] Gesendet: Montag, 3. September 2001 19:24 An: carrricky@example.org Betreff: Disabling javax.mail.SendFailedException: 552 Too many receipts Hi, I am trying to set up an application where I need to be able to mail thousands of people from our database via a web interface. My problem has been sending over 100 emails at a time where I get the 552 message. Is there a way to disable this feature in James so that I can send my emails? Thanks, Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Tue Sep 04 04:38:45 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 86499 invoked by uid 500); 4 Sep 2001 04:38:45 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 86488 invoked from network); 4 Sep 2001 04:38:44 -0000 Message-ID: <000901c13504$32ae9c90$030a0a0a@athlon650> From: "Nick" <carrricky@example.org> To: <carrricky@example.org> References: <carrricky@example.org> <006c01c134ac$f45a1c50$22a5b5d8@glissando> Subject: Re: Disabling javax.mail.SendFailedException: 552 Too many receipts Date: Tue, 4 Sep 2001 00:41:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Using Bcc is my plan but whether you send Bcc or Cc there seems to be a limit for the most part that I can't seem to avoid with most SMTP servers. So now I have to come up with a batching routine so I can send the emails out in 100 email blocks. 100 seems to be the limit before I get a 552. I not at all familiar with the org.apache.mailet and so I don't know if I really need it. I was hoping to just tell the SMTP server to let me send unlimited emails. That would make my life easier. Thanks, Stefan ----- Original Message ----- From: "Serge Knystautas" <carrricky@example.org> To: <carrricky@example.org> Sent: Monday, September 03, 2001 2:16 PM Subject: Re: Disabling javax.mail.SendFailedException: 552 Too many receipts > You can send a message to multiple recipients without including the other > recipients in the headers. Email client software will call it BCC, and if > you're generating the SMTP message yourself, you do whatever you want > (message headers can be completely unrelated to delivery information, hence > the difficulties in stopping spammers) > > Serge Knystautas > Loki Technologies > http://www.lokitech.com/ > ----- Original Message ----- > From: "Labib Iskander, Marcus" <carrricky@example.org> > To: <carrricky@example.org> > Sent: Monday, September 03, 2001 2:49 PM > Subject: AW: Disabling javax.mail.SendFailedException: 552 Too many receipts > > > Hi Nick, > > please excuse my question, but wouldn't you normally want to send to only > one recipient at a time, instead of telling the people every single address > which recieved the same message? Not to mention the waste of transfer > bandwidth sending an email whichs header is bigger than the body. > You could use some mailinglist tool. I am not used to the mailinglist tools > of james (certainly there is some cool way to use them) but with a mailet > you could implement it easily. > You just send to a single email address which will be processed by the > mailet: > <mailet match="carrricky@example.org'" class="MyList"> > <mailinglist>list1</mailinglist> > </mailet> > > The mailet shoud look like this (analog to the > org.apache.james.transport.mailets.Forward mailet): > > package mymailets; > > import org.apache.mailet.*; > import java.util.*; > import javax.mail.*; > import javax.mail.internet.*; > > public class MyList extends GenericMailet { > > private String mailinglist; > > public void init() throws MessagingException { > mailinglist = getMailetConfig().getInitParameter("mailinglist"); > } > > private MailAddress [] getRecipients(String listName) { > // your code > } > > public void service(Mail mail) throws MessagingException { > MailAddress [] recipients = getRecipents(mailinglist); > for (int i=0;i<recipients.length;i++) { > getMailetContext().sendMail(mail.getSender(), recipients[i], > mail.getMessage()); > } > mail.setState(Mail.GHOST); > } > > public String getMailetInfo() { > return "List Mailet"; > } > } > > > Dont forget to include this in the spoolmanager element > <mailetpackages> > <mailetpackage>mymailets.</mailetpackage> > > <mailetpackage>org.apache.james.transport.mailets.</mailetpackage> > </mailetpackages> > > And take care that the transport processor is configured to send mail from > the mailaddress your webapplication is using to the outside, because the > MailetContext.sendMail() passes the mail directly to the transport > processor. > > Greetings, > Marcus > > -----Ursprüngliche Nachricht----- > Von: Nick [mailto:carrricky@example.org] > Gesendet: Montag, 3. September 2001 19:24 > An: carrricky@example.org > Betreff: Disabling javax.mail.SendFailedException: 552 Too many receipts > > > Hi, > > I am trying to set up an application where I need to be able to mail > thousands of people from our database via a web interface. My problem has > been sending over 100 emails at a time where I get the 552 message. Is there > a way to disable this feature in James so that I can send my emails? > > Thanks, > > Stefan > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: carrricky@example.org > For additional commands, e-mail: carrricky@example.org > --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Tue Sep 04 04:42:00 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 88621 invoked by uid 500); 4 Sep 2001 04:42:00 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 88608 invoked from network); 4 Sep 2001 04:41:59 -0000 Message-ID: <000f01c13504$a7004a80$030a0a0a@athlon650> From: "Nick" <carrricky@example.org> To: <carrricky@example.org> References: <carrricky@example.org> Subject: Re: Disabling javax.mail.SendFailedException: 552 Too many receipts Date: Tue, 4 Sep 2001 00:44:24 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am really looking to set up something that is a newsletter rather than a mailing list. I don't want people to be able to email everyone else on the list. I have a database of emails that I would like to be able to grab and add them to a mail queue and send out the letter. Would the Mailet enable this sort of thing? Thanks, Stef ----- Original Message ----- From: "Labib Iskander, Marcus" <carrricky@example.org> To: <carrricky@example.org> Sent: Monday, September 03, 2001 1:49 PM Subject: AW: Disabling javax.mail.SendFailedException: 552 Too many receipts Hi Nick, please excuse my question, but wouldn't you normally want to send to only one recipient at a time, instead of telling the people every single address which recieved the same message? Not to mention the waste of transfer bandwidth sending an email whichs header is bigger than the body. You could use some mailinglist tool. I am not used to the mailinglist tools of james (certainly there is some cool way to use them) but with a mailet you could implement it easily. You just send to a single email address which will be processed by the mailet: <mailet match="carrricky@example.org'" class="MyList"> <mailinglist>list1</mailinglist> </mailet> The mailet shoud look like this (analog to the org.apache.james.transport.mailets.Forward mailet): package mymailets; import org.apache.mailet.*; import java.util.*; import javax.mail.*; import javax.mail.internet.*; public class MyList extends GenericMailet { private String mailinglist; public void init() throws MessagingException { mailinglist = getMailetConfig().getInitParameter("mailinglist"); } private MailAddress [] getRecipients(String listName) { // your code } public void service(Mail mail) throws MessagingException { MailAddress [] recipients = getRecipents(mailinglist); for (int i=0;i<recipients.length;i++) { getMailetContext().sendMail(mail.getSender(), recipients[i], mail.getMessage()); } mail.setState(Mail.GHOST); } public String getMailetInfo() { return "List Mailet"; } } Dont forget to include this in the spoolmanager element <mailetpackages> <mailetpackage>mymailets.</mailetpackage> <mailetpackage>org.apache.james.transport.mailets.</mailetpackage> </mailetpackages> And take care that the transport processor is configured to send mail from the mailaddress your webapplication is using to the outside, because the MailetContext.sendMail() passes the mail directly to the transport processor. Greetings, Marcus -----Ursprüngliche Nachricht----- Von: Nick [mailto:carrricky@example.org] Gesendet: Montag, 3. September 2001 19:24 An: carrricky@example.org Betreff: Disabling javax.mail.SendFailedException: 552 Too many receipts Hi, I am trying to set up an application where I need to be able to mail thousands of people from our database via a web interface. My problem has been sending over 100 emails at a time where I get the 552 message. Is there a way to disable this feature in James so that I can send my emails? Thanks, Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Tue Sep 04 05:47:59 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 8743 invoked by uid 500); 4 Sep 2001 05:47:59 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 8732 invoked from network); 4 Sep 2001 05:47:58 -0000 Reply-To: <carrricky@example.org> From: "Brady Moritz" <carrricky@example.org> To: <carrricky@example.org> Subject: addfooter revisited Date: Tue, 4 Sep 2001 00:39:25 -0500 Message-ID: <carrricky@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: <006c01c134ac$f45a1c50$22a5b5d8@glissando> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Serge- Ive been playing with the AddFooter mailet and it looks promising. Ive made a few modifications to it so far as well. Ive noticed that no footers are added to any emails I send that are forwards of or replies to another message, do you know offhand if this is done purposefully or if it is just gnerating a message that the mailet doesnt handle? I havent had the chance to go back and investigate this, seems what I was finding before was that it created multi-level multi-part messages that the mailet did not handle correctly. Thanks Brady Moritz --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Tue Sep 04 09:36:07 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 50102 invoked by uid 500); 4 Sep 2001 09:36:07 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 50089 invoked from network); 4 Sep 2001 09:36:07 -0000 Message-ID: <carrricky@example.org> From: "Labib Iskander, Marcus" <carrricky@example.org> To: "'carrricky@example.org'" <carrricky@example.org> Subject: AW: Disabling javax.mail.SendFailedException: 552 Too many receip ts Date: Tue, 4 Sep 2001 11:36:11 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, okay I have been a little fast. I knew that you can send emails without including the recipients in the header, with smtp you can even send = anything else than a mime message. But I wouldn't recommend anybody to do send = emails without including the final recipient in the header, if the recipient = in the To: header is not an email address well known to the actual recipient. = The only thing I didn't think about is, that the Forward Servlet is, of = course not changing the headers. I don't know about James handling of the Bcc: header. Is it removed from the mail before delivery? Is this done by = james or the mail api? On the incoming or the outgoing? Stefan, to answer your question: The code I posted will deliver a mail = sent to the email address given in the james.conf to any address returned by = the method getRecipients() which you would have to implement. It could do anything. But refering to what I just wrote, you should think about = changing the To: header. The code could look like this: public void service(Mail mail) throws MessagingException { MailAddress [] recipients =3D getRecipents(mailinglist); MimeMessage source =3D mail.getMessage(); for (int i=3D0;i<recipients.length;i++) { InternetAddress [] to =3D recipients[i].toInternetAddress(); MimeMessage msg =3D new MimeMessage(source); msg.setRecipients(Message.RecipientType.TO,to); getMailetContext().sendMail(mail.getSender(), recipients[i], msg); } mail.setState(Mail.GHOST); } I really don't know if james processes several mails in parallel. in = this case i would insert a sleep in the mailet. But probably writing such a mailet isn't what you really want? As I = wrote before, there is probably a way to use the already written Mailets for Mailinglists. The Mailet I presented is just one way. (The way I would = do it.) It enables you to get the Recipients from any resource you can = access from within Java, what should be anywhere, if you know carrricky@example.org. If = to correct another error I made in my last posting: = MailetContext.sendMail() let the Mail be processed by the root processor first and not the = transport processor. I don't know what made me think so .... Greetings, Marcus > -----Urspr=FCngliche Nachricht----- > Von: Serge Knystautas [mailto:carrricky@example.org] > Gesendet: Montag, 3. September 2001 21:17 > An: carrricky@example.org > Betreff: Re: Disabling javax.mail.SendFailedException: 552 Too many > receipts >=20 >=20 > You can send a message to multiple recipients without=20 > including the other > recipients in the headers. Email client software will call=20 > it BCC, and if > you're generating the SMTP message yourself, you do whatever you want > (message headers can be completely unrelated to delivery=20 > information, hence > the difficulties in stopping spammers) >=20 > Serge Knystautas > Loki Technologies > http://www.lokitech.com/ > ----- Original Message ----- > From: "Labib Iskander, Marcus" <carrricky@example.org> > To: <carrricky@example.org> > Sent: Monday, September 03, 2001 2:49 PM > Subject: AW: Disabling javax.mail.SendFailedException: 552=20 > Too many receipts >=20 >=20 > Hi Nick, >=20 > please excuse my question, but wouldn't you normally want to=20 > send to only > one recipient at a time, instead of telling the people every=20 > single address > which recieved the same message? Not to mention the waste of transfer > bandwidth sending an email whichs header is bigger than the body. > You could use some mailinglist tool. I am not used to the=20 > mailinglist tools > of james (certainly there is some cool way to use them) but=20 > with a mailet > you could implement it easily. > You just send to a single email address which will be processed by = the > mailet: > <mailet match=3D"carrricky@example.org'" class=3D"MyList"> > <mailinglist>list1</mailinglist> > </mailet> >=20 > The mailet shoud look like this (analog to the > org.apache.james.transport.mailets.Forward mailet): >=20 > package mymailets; >=20 > import org.apache.mailet.*; > import java.util.*; > import javax.mail.*; > import javax.mail.internet.*; >=20 > public class MyList extends GenericMailet { >=20 > private String mailinglist; >=20 > public void init() throws MessagingException { > mailinglist =3D=20 > getMailetConfig().getInitParameter("mailinglist"); > } >=20 > private MailAddress [] getRecipients(String listName) { > // your code > } >=20 > public void service(Mail mail) throws MessagingException { > MailAddress [] recipients =3D getRecipents(mailinglist); > for (int i=3D0;i<recipients.length;i++) { > getMailetContext().sendMail(mail.getSender(), recipients[i], > mail.getMessage()); > } > mail.setState(Mail.GHOST); > } >=20 > public String getMailetInfo() { > return "List Mailet"; > } > } >=20 >=20 > Dont forget to include this in the spoolmanager element > <mailetpackages> > <mailetpackage>mymailets.</mailetpackage> >=20 > <mailetpackage>org.apache.james.transport.mailets.</mailetpackage> > </mailetpackages> >=20 > And take care that the transport processor is configured to=20 > send mail from > the mailaddress your webapplication is using to the outside,=20 > because the > MailetContext.sendMail() passes the mail directly to the transport > processor. >=20 > Greetings, > Marcus >=20 > -----Urspr=FCngliche Nachricht----- > Von: Nick [mailto:carrricky@example.org] > Gesendet: Montag, 3. September 2001 19:24 > An: carrricky@example.org > Betreff: Disabling javax.mail.SendFailedException: 552 Too=20 > many receipts >=20 >=20 > Hi, >=20 > I am trying to set up an application where I need to be able to mail > thousands of people from our database via a web interface. My=20 > problem has > been sending over 100 emails at a time where I get the 552=20 > message. Is there > a way to disable this feature in James so that I can send my emails? >=20 > Thanks, >=20 > Stefan >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: carrricky@example.org > For additional commands, e-mail: carrricky@example.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Tue Sep 04 13:13:14 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 62142 invoked by uid 500); 4 Sep 2001 13:13:12 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 62119 invoked from network); 4 Sep 2001 13:13:12 -0000 From: "Mirco Bharpalania" <carrricky@example.org> To: <carrricky@example.org> Subject: adding user via telnet Date: Tue, 4 Sep 2001 15:18:44 +0200 Message-ID: <carrricky@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi! I am new to JAMES and have the following question: I installed and configured JAMES and have the message "avalon runner...". When I try to connect to localhost on Port 4555 I get an error message saying "Could not open a connection to host: connection failed". I am running it on WIN2000, is that the problem? What should I do to be able to connect via telnet? THANK YOU VERY MUCH! ---------------------------------- Mirco Bharpalania carrricky@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Tue Sep 04 14:14:06 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 31391 invoked by uid 500); 4 Sep 2001 14:14:06 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 31380 invoked from network); 4 Sep 2001 14:14:05 -0000 From: "Niall Murphy" <carrricky@example.org> To: <carrricky@example.org> Subject: RE: adding user via telnet Date: Tue, 4 Sep 2001 15:08:32 +0100 Message-ID: <carrricky@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <carrricky@example.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am using win2000 right now - that is not the problem. If you only get "Alalon runner " on the console then something is wrong, since it should print more stuff about where it finds the config directory etc. Make sure that your current directory is bin when you run it. Make sure you launch from the command console (and not by clicking on the icon of the batch file). Telneting to 4555 is the right thing to do, but your james has not gotten that far. Niall > -----Original Message----- > From: Mirco Bharpalania [mailto:carrricky@example.org] > Sent: Tuesday, September 04, 2001 2:19 PM > To: carrricky@example.org > Subject: adding user via telnet > > > Hi! > I am new to JAMES and have the following question: > I installed and configured JAMES and have the message "avalon runner...". > When I try to connect to localhost on Port 4555 I get an error message > saying "Could not open a connection to host: connection failed". I am > running it on WIN2000, is that the problem? What should I do to be able to > connect via telnet? > > THANK YOU VERY MUCH! > > > > ---------------------------------- > Mirco Bharpalania > --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Tue Sep 04 17:39:53 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 79775 invoked by uid 500); 4 Sep 2001 17:39:53 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 79751 invoked from network); 4 Sep 2001 17:39:52 -0000 From: "Niall Murphy" <carrricky@example.org> To: <carrricky@example.org> Subject: RE: FileNotFonud Exception and mailet.log growing forever Date: Tue, 4 Sep 2001 18:34:32 +0100 Message-ID: <carrricky@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <009901c12fc7$30989d30$650d07d8@STACCATO> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Do you know when this change will happen. I am happy to clear out the directory occationally, but I find this happens once per day. I generate test mail messages from a program that loops around generating mails as quickly as it can, which is not exactly typical use (but vital to my app), but it leads to this problem quite often. If you do not have time for this , I will probably try a fix myself, thouhg I am not familiar with JAMES internals (yet!). I have noticed that other people on the mailing list seem to have this problem as well. regards, Niall Murphy > -----Original Message----- > From: Serge Knystautas [mailto:carrricky@example.org] > Sent: Tuesday, August 28, 2001 2:42 PM > To: carrricky@example.org > Subject: Re: FileNotFonud Exception and mailet.log growing forever > > > Niall, > > For the time being, you'll have to manually delete the unpaired file. I > will look at the file repository code and change it to double check that > both of the paired files exist before returning it as a valid message. > > Serge Knystautas > Loki Technologies > http://www.lokitech.com/ > ----- Original Message ----- > From: "Niall Murphy" <carrricky@example.org> > To: <carrricky@example.org> > Sent: Tuesday, August 28, 2001 9:17 AM > Subject: RE: FileNotFonud Exception and mailet.log growing forever > > > > I am running James 1.2.1, which I assume is the latest build. > > > > ta, > > Niall Murphy > > > > > -----Original Message----- > > > From: Serge Knystautas [mailto:carrricky@example.org] > > > Sent: Monday, August 27, 2001 4:12 PM > > > To: carrricky@example.org > > > Subject: Re: FileNotFonud Exception and mailet.log growing forever > > > > > > > > > What version of James are you running? > > > > > > We have noticed this happening in the past, although I'm not sure > > > what have > > > caused it in your case. There is locking in the server that > > > should prevent > > > multiple threads from trying to write/access a file at the same time, > > > however I've noticed that sometimes Java treats a "delete" as > asynchronous > > > (meaning you can delete a file, and then do a listing of that > > > directory and > > > still see it). > > > > > > Also, removing all the files from a spool should be fine. > > > > > > Are you saying the log file fills up your disk? Can you look > and see if > > > there is a stack trace of the problem anywhere? > > > > > > Serge Knystautas > > > Loki Technologies > > > http://www.lokitech.com/ > > > ----- Original Message ----- > > > From: "Niall Murphy" <carrricky@example.org> > > > To: <carrricky@example.org> > > > Sent: Monday, August 27, 2001 10:56 AM > > > Subject: FileNotFonud Exception and mailet.log growing forever > > > > > > > > > > I have the following message repeating in my mailet.log: > > > > > > > > > > > > 2001.08.27 11:11:45 442 (INFO) from Mailets: > RemoteDelivery: Exception > > > > caught in > > > > RemoteDelivery.run(): java.lang.RuntimeException: Exception > > > caught while > > > > removi > > > > ng an object: java.io.FileNotFoundException: > > > > .../var/mail/outgoing/4D61696C393938 > > > > > > > 3931303638333939362D3130392D21313932313734323935362D746F2D7961686F > > > 6F2E636F6D > > > > ..pri > > > > vate.PersistentStore (No such file or directory) > > > > > > > > It seems like it is going to keep trying and failing to send > > > this message > > > > and fill up my disk. > > > > > > > > > > > > I am not sure what caused it, but prior to the problem I stopped > James, > > > > removed all files in spool and outgoing and restarted James. Could > this > > > have > > > > caused it. Is it reasonable to clear out spool and outgoing (I > > > am happy to > > > > lose the messages to start from a known state). > > > > > > > > My other thought is that maybe more than one thread is trying to > process > > > the > > > > outgoing messages and one thread has deleted the > PersistentStore file > > > while > > > > another thread was in the middle of trying to process the same > message. > > > > > > > > I am running on Red Hat Linux 7.0. and using the filesystm(not > > > a database) > > > > to store messages. > > > > > > > > Niall > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: carrricky@example.org > > > > For additional commands, e-mail: carrricky@example.org > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: carrricky@example.org > > > For additional commands, e-mail: carrricky@example.org > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: carrricky@example.org > > For additional commands, e-mail: carrricky@example.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: carrricky@example.org > For additional commands, e-mail: carrricky@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Tue Sep 04 19:26:50 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 97413 invoked by uid 500); 4 Sep 2001 19:26:49 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 97383 invoked from network); 4 Sep 2001 19:26:49 -0000 Message-ID: <018601c13577$6336f150$650d07d8@STACCATO> From: "Serge Knystautas" <carrricky@example.org> To: <carrricky@example.org> References: <carrricky@example.org> Subject: Re: FileNotFonud Exception and mailet.log growing forever Date: Tue, 4 Sep 2001 15:25:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Niall, I have a patch on a computer here that I will patch to CVS soon. Although we're still not quite ready for a full release, hopefully soon we'll get at least an alpha or beta release soon. You can get a daily snapshot or get the latest from CVS if you want to test it in your environment. Serge Knystautas Loki Technologies http://www.lokitech.com/ ----- Original Message ----- From: "Niall Murphy" <carrricky@example.org> To: <carrricky@example.org> Sent: Tuesday, September 04, 2001 1:34 PM Subject: RE: FileNotFonud Exception and mailet.log growing forever > > Do you know when this change will happen. I am happy to clear out the > directory occationally, but I find this happens once per day. I generate > test mail messages from a program that loops around generating mails as > quickly as it can, which is not exactly typical use (but vital to my app), > but it leads to this problem quite often. If you do not have time for this , > I will probably try a fix myself, thouhg I am not familiar with JAMES > internals (yet!). > > I have noticed that other people on the mailing list seem to have this > problem as well. > > regards, > Niall Murphy > > > -----Original Message----- > > From: Serge Knystautas [mailto:carrricky@example.org] > > Sent: Tuesday, August 28, 2001 2:42 PM > > To: carrricky@example.org > > Subject: Re: FileNotFonud Exception and mailet.log growing forever > > > > > > Niall, > > > > For the time being, you'll have to manually delete the unpaired file. I > > will look at the file repository code and change it to double check that > > both of the paired files exist before returning it as a valid message. > > > > Serge Knystautas > > Loki Technologies > > http://www.lokitech.com/ > > ----- Original Message ----- > > From: "Niall Murphy" <carrricky@example.org> > > To: <carrricky@example.org> > > Sent: Tuesday, August 28, 2001 9:17 AM > > Subject: RE: FileNotFonud Exception and mailet.log growing forever > > > > > > > I am running James 1.2.1, which I assume is the latest build. > > > > > > ta, > > > Niall Murphy > > > > > > > -----Original Message----- > > > > From: Serge Knystautas [mailto:carrricky@example.org] > > > > Sent: Monday, August 27, 2001 4:12 PM > > > > To: carrricky@example.org > > > > Subject: Re: FileNotFonud Exception and mailet.log growing forever > > > > > > > > > > > > What version of James are you running? > > > > > > > > We have noticed this happening in the past, although I'm not sure > > > > what have > > > > caused it in your case. There is locking in the server that > > > > should prevent > > > > multiple threads from trying to write/access a file at the same time, > > > > however I've noticed that sometimes Java treats a "delete" as > > asynchronous > > > > (meaning you can delete a file, and then do a listing of that > > > > directory and > > > > still see it). > > > > > > > > Also, removing all the files from a spool should be fine. > > > > > > > > Are you saying the log file fills up your disk? Can you look > > and see if > > > > there is a stack trace of the problem anywhere? > > > > > > > > Serge Knystautas > > > > Loki Technologies > > > > http://www.lokitech.com/ > > > > ----- Original Message ----- > > > > From: "Niall Murphy" <carrricky@example.org> > > > > To: <carrricky@example.org> > > > > Sent: Monday, August 27, 2001 10:56 AM > > > > Subject: FileNotFonud Exception and mailet.log growing forever > > > > > > > > > > > > > I have the following message repeating in my mailet.log: > > > > > > > > > > > > > > > 2001.08.27 11:11:45 442 (INFO) from Mailets: > > RemoteDelivery: Exception > > > > > caught in > > > > > RemoteDelivery.run(): java.lang.RuntimeException: Exception > > > > caught while > > > > > removi > > > > > ng an object: java.io.FileNotFoundException: > > > > > .../var/mail/outgoing/4D61696C393938 > > > > > > > > > 3931303638333939362D3130392D21313932313734323935362D746F2D7961686F > > > > 6F2E636F6D > > > > > ..pri > > > > > vate.PersistentStore (No such file or directory) > > > > > > > > > > It seems like it is going to keep trying and failing to send > > > > this message > > > > > and fill up my disk. > > > > > > > > > > > > > > > I am not sure what caused it, but prior to the problem I stopped > > James, > > > > > removed all files in spool and outgoing and restarted James. Could > > this > > > > have > > > > > caused it. Is it reasonable to clear out spool and outgoing (I > > > > am happy to > > > > > lose the messages to start from a known state). > > > > > > > > > > My other thought is that maybe more than one thread is trying to > > process > > > > the > > > > > outgoing messages and one thread has deleted the > > PersistentStore file > > > > while > > > > > another thread was in the middle of trying to process the same > > message. > > > > > > > > > > I am running on Red Hat Linux 7.0. and using the filesystm(not > > > > a database) > > > > > to store messages. > > > > > > > > > > Niall > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: carrricky@example.org > > > > > For additional commands, e-mail: carrricky@example.org > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: carrricky@example.org > > > > For additional commands, e-mail: carrricky@example.org > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: carrricky@example.org > > > For additional commands, e-mail: carrricky@example.org > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: carrricky@example.org > > For additional commands, e-mail: carrricky@example.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: carrricky@example.org > For additional commands, e-mail: carrricky@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Wed Sep 05 12:21:26 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 64472 invoked by uid 500); 5 Sep 2001 12:21:26 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Delivered-To: moderator for carrricky@example.org Received: (qmail 36277 invoked from network); 5 Sep 2001 12:02:35 -0000 Message-ID: <carrricky@example.org> X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 05 Sep 2001 23:08:48 +0530 (IST) Reply-To: carrricky@example.org Organization: Thinking Minds Sender: carrricky@example.org From: Prashant Khandelwal <carrricky@example.org> To: carrricky@example.org, carrricky@example.org, carrricky@example.org Subject: Oracle datamodel for mail repository X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All, I am trying to configure james to use oracle as to store user database and also for mail repository. I have a problem in delivery of mail to oracle. I have designed datamodel from sample for mysql in docs directory. ....... CREATE TABLE Messages ( message_name varchar2(200) NOT NULL , repository_name varchar2(200) NOT NULL , message_state varchar2(30) NOT NULL , error_message varchar2(4000), sender varchar2(200) NOT NULL , recipients varchar2(400) NOT NULL , remote_host varchar2(100) NOT NULL , remote_addr varchar2(20) NOT NULL , message_body clob(4000) NOT NULL, last_updated date NOT NULL, CONSTRAINT PK_Message PRIMARY KEY (message_name,repository_name) ); instead of the text data type i have used oracle equivalent 'clob' but it creates a problem. When the mail arrives to JAMES it inserts it in to database for spooling, the repository_name field of the Message table for this mail has entry 'mainspool', and then james goes in some infinite loop the log jamesfile.log has entries as 2001.09.05 05:08:20 115 (INFO) from JamesSystem: Mail Mail999689897383-0 pushed in spool 2001.09.05 05:08:20 147 (INFO) from Processor: ==== Begin processing mail Mail999689897383-0 ==== 2001.09.05 05:08:20 147 (INFO) from Processor: Processing Mail999689897383-0 through root 2001.09.05 05:08:20 433 (INFO) from Processor: Processing Mail999689897383-0 through error 2001.09.05 05:08:20 468 (INFO) from Processor: Processing Mail999689897383-0 through error 2001.09.05 05:08:20 491 (INFO) from Processor: Processing Mail999689897383-0 through error 2001.09.05 05:08:20 529 (INFO) from Processor: Processing Mail999689897383-0 through error 2001.09.05 05:08:20 555 (INFO) from Processor: Processing Mail999689897383-0 through error 2001.09.05 05:08:20 581 (INFO) from Processor: Processing Mail999689897383-0 through error : : : And mailet.log has entries as 2001.09.05 05:01:48 409 Channel Mailets opened 2001.09.05 05:08:20 435 (INFO) from Mailets: ToRepository: Storing mail Mail999689897383-0 in town://mail-error 2001.09.05 05:08:20 468 (INFO) from Mailets: ToRepository: Storing mail Mail999689897383-0 in town://mail-error 2001.09.05 05:08:20 492 (INFO) from Mailets: ToRepository: Storing mail Mail999689897383-0 in town://mail-error 2001.09.05 05:08:20 530 (INFO) from Mailets: ToRepository: Storing mail Mail999689897383-0 in town://mail-error 2001.09.05 05:08:20 556 (INFO) from Mailets: ToRepository: Storing mail Mail999689897383-0 in town://mail-error : : : If I chang the datamodel replacing 'message_body CLOB' with 'message_body varchar2(4000)' every thing works fine. the mail is inserted in database, also retrived through database, BUT I want the message_body field to be of CLOB type as the message may also contain BIG attachments. Regards, --------------------- Prashant Khandelwal Thinking-minds --------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: carrricky@example.org For additional commands, e-mail: carrricky@example.org From james-usercarrricky@example.org Wed Sep 05 13:53:37 2001 Return-Path: <james-usercarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 209 invoked by uid 500); 5 Sep 2001 13:53:36 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Post: <mailto:carrricky@example.org> List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Subscribe: <mailto:carrricky@example.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Delivered-To: moderator for carrricky@example.org Received: (qmail 89659 invoked from network); 5 Sep 2001 13:46:55 -0000 Date: Wed, 5 Sep 2001 15:44:39 +0200 Content-Type: text/plain; format=flowed; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v388) From: Aurelien <carrricky@example.org> To: carrricky@example.org X-Mailer: Apple Mail (2.388) Content-Transfer-Encoding: quoted-printable Subject: upgrading X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I'm considering upgrading to the latest james dist. I'm not sure of my version (1.2.1 ?). I installed it 4-5 months ago... I have regularly problems with lots (I mean LOTS) of threads being=20 spawned by the James process, and then there's this strange message in=20= info.log: 2001.09.05 03:18:16 848 (DEBUG) from SocketManager: ServerSocketAcceptor=20= on port 25: request arrived 2001.09.05 03:19:10 218 (DEBUG) from TimeManager: Alarm=20 org.apache.james.pop3server.POP3Handler@70009e set by=20 org.apache.james.pop3server.POP3Handler@70009e 2001.09.05 03:19:10 218 (DEBUG) from TimeManager: Alarm=20 org.apache.james.pop3server.POP3Handler@70009e removed 2001.09.05 03:19:10 218 (DEBUG) from SocketManager: ServerSocketAcceptor=20= on port 110: request arrived 2001.09.05 03:19:28 378 (DEBUG) from TimeManager: Alarm=20 org.apache.james.smtpserver.SMTPHandler@38a07a set by=20 org.apache.james.smtpserver.SMTPHandler@38a07a 2001.09.05 03:19:28 378 (DEBUG) from TimeManager: Alarm=20 org.apache.james.smtpserver.SMTPHandler@38a07a removed 2001.09.05 03:19:28 378 (DEBUG) from SocketManager: ServerSocketAcceptor=20= on port 25: request arrived f Regularly thus, my users cannot connect to the server, I have to=20 re-launch it and all
{'source': 'Apache Software Foundation Public Mail Archives'}