This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-mime4j.git
commit 0b34c69f0dc668890342445d2a0884141a97cc65 Author: Benoit Tellier <btell...@linagora.com> AuthorDate: Thu Jun 24 14:35:10 2021 +0700 [EXAMPLES] IterateOverMbox should be easy to launch from an IDE We can default to a local resource if no argument is provided. --- .../james/mime4j/samples/mbox/IterateOverMbox.java | 20 +- examples/src/main/resources/mbox-example/mbox.rlug | 346 +++++++++++++++++++++ .../src/main/resources/mbox-example/mbox.rlug-0 | 93 ++++++ .../src/main/resources/mbox-example/mbox.rlug-1 | 69 ++++ .../src/main/resources/mbox-example/mbox.rlug-2 | 50 +++ .../src/main/resources/mbox-example/mbox.rlug-3 | 64 ++++ .../src/main/resources/mbox-example/mbox.rlug-4 | 65 ++++ 7 files changed, 699 insertions(+), 8 deletions(-) diff --git a/examples/src/main/java/org/apache/james/mime4j/samples/mbox/IterateOverMbox.java b/examples/src/main/java/org/apache/james/mime4j/samples/mbox/IterateOverMbox.java index 4f00ab5..0b54b4c 100644 --- a/examples/src/main/java/org/apache/james/mime4j/samples/mbox/IterateOverMbox.java +++ b/examples/src/main/java/org/apache/james/mime4j/samples/mbox/IterateOverMbox.java @@ -34,6 +34,7 @@ import java.nio.CharBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; import java.nio.charset.CharsetEncoder; +import java.nio.charset.StandardCharsets; /** * Simple example of how to use Apache Mime4j Mbox Iterator. We split one mbox file file into @@ -41,15 +42,13 @@ import java.nio.charset.CharsetEncoder; */ public class IterateOverMbox { - private final static CharsetEncoder ENCODER = Charset.forName("UTF-8").newEncoder(); + private final static CharsetEncoder ENCODER = StandardCharsets.UTF_8.newEncoder(); // simple example of how to split an mbox into individual files public static void main(String[] args) throws Exception { - if (args.length != 1) { - System.out.println("Please supply a path to an mbox file to parse"); - } - - final File mbox = new File(args[0]); + final String fileName = retrieveMBoxFileName(args); + System.out.println(fileName); + final File mbox = new File(fileName); long start = System.currentTimeMillis(); int count = 0; @@ -63,6 +62,13 @@ public class IterateOverMbox { System.out.println("Done in: " + (end - start) + " milis"); } + private static String retrieveMBoxFileName(String[] args) { + if (args.length < 1) { + return ClassLoader.getSystemResource("test-1/mbox.rlug").getFile(); + } + return args[0]; + } + private static void saveMessageToFile(int count, CharBuffer buf) throws IOException { FileOutputStream fout = new FileOutputStream(new File("target/messages/msg-" + count)); FileChannel fileChannel = fout.getChannel(); @@ -77,8 +83,6 @@ public class IterateOverMbox { * * @param messageBytes the message as {@link java.io.InputStream} * @return String - * @throws IOException - * @throws MimeException */ private static String messageSummary(InputStream messageBytes) throws IOException, MimeException { MessageBuilder builder = new DefaultMessageBuilder(); diff --git a/examples/src/main/resources/mbox-example/mbox.rlug b/examples/src/main/resources/mbox-example/mbox.rlug new file mode 100644 index 0000000..815477d --- /dev/null +++ b/examples/src/main/resources/mbox-example/mbox.rlug @@ -0,0 +1,346 @@ +From n...@gmane.org Tue Mar 04 03:33:20 2003 +From: "mmihai" <mmi...@netcompsj.ro> +Subject: Din windows ma pot, din LINUX NU ma pot conecta (la ZAPP) +Date: Fri, 7 Feb 2003 18:35:25 +0200 +Lines: 45 +Sender: rlug-bou...@lug.ro +Message-ID: <001401c2cec7$4eb5b460$941c10ac@ok6f6gr01ta4hv> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-2" +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hBoh-0007L5-00 + for <gourg-r...@gmane.org>; Fri, 07 Feb 2003 17:57:31 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id 70A5332D87; Fri, 7 Feb 2003 18:38:06 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Fri, 07 Feb 2003 18:38:05 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from ns.zappmobile.ro (ns.zapp.ro [80.96.151.2]) + by lug.lug.ro (Postfix) with ESMTP id 2C3BD32CC7 + for <r...@lug.ro>; Fri, 7 Feb 2003 18:38:02 +0200 (EET) +Received: from mail.zappmobile.ro (mail-server.zappmobile.ro [172.31.254.14]) + by ns.zappmobile.ro (Postfix) with ESMTP id AFDC2490D + for <r...@lug.ro>; Fri, 7 Feb 2003 18:37:48 +0200 (EET) +Received: from localhost (localhost [127.0.0.1]) + by mail.zappmobile.ro (Postfix) with ESMTP + id 994A6A0BB1; Fri, 7 Feb 2003 18:37:12 +0200 (EET) +Received: from ok6f6gr01ta4hv (unknown [172.16.28.148]) + by mail.zappmobile.ro (Postfix) with SMTP id 292599D67B + for <r...@lug.ro>; Fri, 7 Feb 2003 18:37:09 +0200 (EET) +To: <r...@lug.ro> +X-Priority: 3 +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook Express 6.00.2600.0000 +X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 +X-Virus-Scanned: by AMaViS perl-11 +X-archive-position: 23608 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: mmi...@netcompsj.ro +Precedence: bulk +X-list: rlug + +Buna Ziua tuturor, + +Am o placa de baza, cu mare probabilitate J-542B, Chipset Ali M1542/M1543, +Aladdin-V chipset. +Vreau sa ma conectez la ZAPP, din Linux, pe portul USB +Un lucru este absolut cert: portul exista si este functional intrucit ma pot +conecta din XP. +In Control Panel-ul din XP la "Sectiunea USB" scrie: +ALI PCI to USB Open Host Controller +USB Root Hub # Iar sistemul il asigneaza pe COM 4 !!??!! +L-am lasat in pace ca de mers merge........ + +Ies din Windows. Pe alta partitie este RH-8.0 +Ma duc in LINUX, RH-8.0, kernel-ul distributiei, nemodificat. +Inserez modulele: +1) modprobe usbcore # totul e OK +2) modprobe usb-ohci # Sistemul imi spune: +" usb.c: USB device 2 (vend/prod 0X678/0/2303) is not claimed by +any actine driver. +#si cele doua module sunt inserate. +3) Instalez scriptul celor de la ZAPP ( install_hy.sh, e functional, la +slujba lucreaza excelent) +4) Incerc conectarea si dau comanda "zapp" +Modific (de nervi) in /etc/ppp/peers/hyundai-zappmobile de la /dev/ttyUSB0 +pina la /dev/tty/USB4 +si nimic bun, in tail -f /var/log/messages imi zice: +"Failed to open /dev/ttyUSB0 (#sau cit o fi): No such device. +Am incercat si pe /dev/ttyS0.......3 si zice: +Can't get terminal parameters: Input output error + +Va rog indrumati-ma si spuneti-mi ce sa fac ca sa lucreze ZAPP-ul (si) in +linux, (ca in windows e clar ca e OK ) ?? + +Va multumesc + + + + +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + +From n...@gmane.org Tue Mar 04 03:33:20 2003 +From: lonely wolf <wo...@pcnet.ro> +Subject: Re: RH 8.0 boot floppy +Date: Fri, 07 Feb 2003 19:21:04 +0200 +Lines: 27 +Sender: rlug-bou...@lug.ro +Message-ID: <3e43eb00.7040...@pcnet.ro> +References: <3e43bb6d.8080...@myrealbox.com> <3e43bc3c.4050...@apsro.com> <3e43be1c.9020...@myrealbox.com> <3e43bec3.5060...@apsro.com> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain; charset=us-ascii; format=flowed +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hCBB-0001J4-00 + for <gourg-r...@gmane.org>; Fri, 07 Feb 2003 18:20:45 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id 63CDE32D58; Fri, 7 Feb 2003 19:21:17 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Fri, 07 Feb 2003 19:21:16 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from mail.nobugconsulting.ro (nobugconsulting.ro [213.157.160.38]) + by lug.lug.ro (Postfix) with ESMTP id 4F31632CC7 + for <r...@lug.ro>; Fri, 7 Feb 2003 19:21:14 +0200 (EET) +Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) + by buick.nobugconsulting.ro (Postfix) with SMTP id 146354EDCE + for <r...@lug.ro>; Fri, 7 Feb 2003 19:21:04 +0200 (EET) +Received: from pcnet.ro (unknown [192.168.1.2]) + by mail.nobugconsulting.ro (Postfix) with ESMTP id DC16D4ED96 + for <r...@lug.ro>; Fri, 7 Feb 2003 19:21:03 +0200 (EET) +User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 +X-Accept-Language: en-us, fr, ro +To: r...@lug.ro +X-archive-position: 23609 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: wo...@pcnet.ro +Precedence: bulk +X-list: rlug + +Nicu Buculei wrote: +> Daniel Pavel a scris, in 2/7/03 4:09 PM: +> +>> :) nu _am_ CD-ul de instalare... Imaginea am luat-o de pe un rh mirror. +> +> ^^^^^^^^ +> +> si ce ai facut cu imaginea ? nu ai tras-o pe cd ? +> + +ia cu incredere o discheta de 1.44 (sper ca macar floppy ai), scrie pe +ea bootnet.img copiat de pe net si apoi (multumindu-i in gind lui cioby) +zici asa: +- linux rescue (la lilo prompt) +- alegi ftp ca modalitate de lucru +- ftp.ines.ro (server) +- /pub/linux/distributions/redhat-8.0/ftpinstall (path catre distributie) + + + +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + +From n...@gmane.org Tue Mar 04 03:33:20 2003 +From: Adrian Rapa <adr...@dtedu.net> +Subject: Qmail mysql virtualusers +ssl + smtp auth +pop3 +Date: Fri, 7 Feb 2003 19:36:01 +0200 +Organization: Asociatia Studenteasca a Retelelor din Drumul Taberei +Lines: 12 +Sender: rlug-bou...@lug.ro +Message-ID: <20030207193601.2613a439.adr...@dtedu.net> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain; charset=US-ASCII +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hCPk-0002ZW-00 + for <gourg-r...@gmane.org>; Fri, 07 Feb 2003 18:35:48 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id DC08032D8E; Fri, 7 Feb 2003 19:36:21 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Fri, 07 Feb 2003 19:36:20 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from www.dtedu.net (tabara.imago.ro [193.254.242.5]) + by lug.lug.ro (Postfix) with SMTP id 3794D32CC7 + for <r...@lug.ro>; Fri, 7 Feb 2003 19:36:17 +0200 (EET) +Received: (qmail 10170 invoked from network); 7 Feb 2003 17:36:02 -0000 +Received: from games.tabara.net (HELO games) (10.39.2.5) + by tabara.imago.ro with SMTP; 7 Feb 2003 17:36:02 -0000 +To: r...@lug.ro +X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i686-pc-linux-gnu) +X-archive-position: 23610 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: adr...@dtedu.net +Precedence: bulk +X-list: rlug + +Salut, +poate cineva sa imi dea combinatia aceasta? am incercat sa pun patchurile dar dadeau erori + + +Adrian Rapa +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + +From n...@gmane.org Tue Mar 04 03:33:20 2003 +From: teo...@home.ro +Subject: Re: Din windows ma pot, din LINUX NU ma pot conecta (la ZAPP) +Date: Sat, 8 Feb 2003 01:41:31 +0200 +Lines: 25 +Sender: rlug-bou...@lug.ro +Message-ID: <20030208014131.00fd30ce.teo...@home.ro> +References: <001401c2cec7$4eb5b460$941c10ac@ok6f6gr01ta4hv> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain; charset=US-ASCII +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hI9b-0003OX-00 + for <gourg-r...@gmane.org>; Sat, 08 Feb 2003 00:43:31 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id 6064032D4F; Sat, 8 Feb 2003 01:44:08 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Sat, 08 Feb 2003 01:44:07 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from s1.home.ro (home.rdsnet.ro [193.231.236.40]) + by lug.lug.ro (Postfix) with SMTP id 0EEE832D02 + for <r...@lug.ro>; Sat, 8 Feb 2003 01:44:05 +0200 (EET) +Received: (qmail 3538 invoked from network); 7 Feb 2003 23:37:23 -0000 +Received: from unknown (HELO linbox) (213.233.108.98) + by s1.home.ro with SMTP; 7 Feb 2003 23:37:23 -0000 +To: r...@lug.ro +In-Reply-To: <001401c2cec7$4eb5b460$941c10ac@ok6f6gr01ta4hv> +X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i686-pc-linux-gnu) +X-archive-position: 23611 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: teo...@home.ro +Precedence: bulk +X-list: rlug + +On Fri, 7 Feb 2003 18:35:25 +0200 +"mmihai" <mmi...@netcompsj.ro> wrote: + +> Buna Ziua tuturor, +> +> Am o placa de baza, cu mare probabilitate J-542B, Chipset Ali +> M1542/M1543, Aladdin-V chipset. +> Vreau sa ma conectez la ZAPP, din Linux, pe portul USB +> Un lucru este absolut cert: portul exista si este functional intrucit +> ma pot conecta din XP. +> In Control Panel-ul din XP la "Sectiunea USB" scrie: +> +pl2303.o ? +ai modulul pentru cipul ala de pe cablu ? +compileaza, insereaza, bla... +apoi merge + + +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + +From n...@gmane.org Tue Mar 04 03:33:20 2003 +From: "Dragosh M." <drag...@lsd.ro> +Subject: LSTP problem - solved +Date: 08 Feb 2003 01:58:32 +0200 +Lines: 27 +Sender: rlug-bou...@lug.ro +Message-ID: <1044662313.5121.17.ca...@snow.lsd.ro> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hIID-0003pf-00 + for <gourg-r...@gmane.org>; Sat, 08 Feb 2003 00:52:25 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id 461C532D55; Sat, 8 Feb 2003 01:53:03 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Sat, 08 Feb 2003 01:53:02 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from rdsnet.ro (mail.rdsnet.ro [193.231.236.16]) + by lug.lug.ro (Postfix) with SMTP id F315032D02 + for <r...@lug.ro>; Sat, 8 Feb 2003 01:52:59 +0200 (EET) +Received: (qmail 5162 invoked from network); 7 Feb 2003 23:52:49 -0000 +Received: from unknown (HELO snow.lsd.ro) (81.196.12.127) + by mail.rdsnet.ro with SMTP; 7 Feb 2003 23:52:49 -0000 +To: r...@lug.ro +X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) +X-archive-position: 23612 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: drag...@lsd.ro +Precedence: bulk +X-list: rlug + +In sfarsit am rezolvat crapu, cu ajutorul lui James McQuillan (taticul +LTSP). E foarte simplu si foarte nedocumentat, 16 mega NU sunt +suficienti pentru o statie desi peste tot se zice ca si 8 sunt ok, motiv +pentru care e imperativ necesar sa se foloseasca swap-over-NFS care +merge super bine (stiu ca majoritatea au o reticenta in a folosi +swap/nfs, don't be shy, it rocks). Am mai adaugat 64 de ram pe NFS si +acum rupe tovarashu' terminal, am load 2 la server si totul merge f +bine. +Un 32 de MB sunt minim, 8/16 cat are sistemul + 32 e safe. +Sper ca observatia asta sa apara in viitoarea versiune a documentatiei +ce vine cu LTSP, cel putin asa mi s-a promis. + +You've got yourself a happy smilin' motherfucker. + +Good fight, good night. + +Dragosh "smilin'" M. +-- +I/O error while opening .signature file + +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + + diff --git a/examples/src/main/resources/mbox-example/mbox.rlug-0 b/examples/src/main/resources/mbox-example/mbox.rlug-0 new file mode 100644 index 0000000..af164e5 --- /dev/null +++ b/examples/src/main/resources/mbox-example/mbox.rlug-0 @@ -0,0 +1,93 @@ +From: "mmihai" <mmi...@netcompsj.ro> +Subject: Din windows ma pot, din LINUX NU ma pot conecta (la ZAPP) +Date: Fri, 7 Feb 2003 18:35:25 +0200 +Lines: 45 +Sender: rlug-bou...@lug.ro +Message-ID: <001401c2cec7$4eb5b460$941c10ac@ok6f6gr01ta4hv> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-2" +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hBoh-0007L5-00 + for <gourg-r...@gmane.org>; Fri, 07 Feb 2003 17:57:31 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id 70A5332D87; Fri, 7 Feb 2003 18:38:06 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Fri, 07 Feb 2003 18:38:05 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from ns.zappmobile.ro (ns.zapp.ro [80.96.151.2]) + by lug.lug.ro (Postfix) with ESMTP id 2C3BD32CC7 + for <r...@lug.ro>; Fri, 7 Feb 2003 18:38:02 +0200 (EET) +Received: from mail.zappmobile.ro (mail-server.zappmobile.ro [172.31.254.14]) + by ns.zappmobile.ro (Postfix) with ESMTP id AFDC2490D + for <r...@lug.ro>; Fri, 7 Feb 2003 18:37:48 +0200 (EET) +Received: from localhost (localhost [127.0.0.1]) + by mail.zappmobile.ro (Postfix) with ESMTP + id 994A6A0BB1; Fri, 7 Feb 2003 18:37:12 +0200 (EET) +Received: from ok6f6gr01ta4hv (unknown [172.16.28.148]) + by mail.zappmobile.ro (Postfix) with SMTP id 292599D67B + for <r...@lug.ro>; Fri, 7 Feb 2003 18:37:09 +0200 (EET) +To: <r...@lug.ro> +X-Priority: 3 +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook Express 6.00.2600.0000 +X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 +X-Virus-Scanned: by AMaViS perl-11 +X-archive-position: 23608 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: mmi...@netcompsj.ro +Precedence: bulk +X-list: rlug + +Buna Ziua tuturor, + +Am o placa de baza, cu mare probabilitate J-542B, Chipset Ali M1542/M1543, +Aladdin-V chipset. +Vreau sa ma conectez la ZAPP, din Linux, pe portul USB +Un lucru este absolut cert: portul exista si este functional intrucit ma pot +conecta din XP. +In Control Panel-ul din XP la "Sectiunea USB" scrie: +ALI PCI to USB Open Host Controller +USB Root Hub # Iar sistemul il asigneaza pe COM 4 !!??!! +L-am lasat in pace ca de mers merge........ + +Ies din Windows. Pe alta partitie este RH-8.0 +Ma duc in LINUX, RH-8.0, kernel-ul distributiei, nemodificat. +Inserez modulele: +1) modprobe usbcore # totul e OK +2) modprobe usb-ohci # Sistemul imi spune: +" usb.c: USB device 2 (vend/prod 0X678/0/2303) is not claimed by +any actine driver. +#si cele doua module sunt inserate. +3) Instalez scriptul celor de la ZAPP ( install_hy.sh, e functional, la +slujba lucreaza excelent) +4) Incerc conectarea si dau comanda "zapp" +Modific (de nervi) in /etc/ppp/peers/hyundai-zappmobile de la /dev/ttyUSB0 +pina la /dev/tty/USB4 +si nimic bun, in tail -f /var/log/messages imi zice: +"Failed to open /dev/ttyUSB0 (#sau cit o fi): No such device. +Am incercat si pe /dev/ttyS0.......3 si zice: +Can't get terminal parameters: Input output error + +Va rog indrumati-ma si spuneti-mi ce sa fac ca sa lucreze ZAPP-ul (si) in +linux, (ca in windows e clar ca e OK ) ?? + +Va multumesc + + + + +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + diff --git a/examples/src/main/resources/mbox-example/mbox.rlug-1 b/examples/src/main/resources/mbox-example/mbox.rlug-1 new file mode 100644 index 0000000..1aabe84 --- /dev/null +++ b/examples/src/main/resources/mbox-example/mbox.rlug-1 @@ -0,0 +1,69 @@ +From: lonely wolf <wo...@pcnet.ro> +Subject: Re: RH 8.0 boot floppy +Date: Fri, 07 Feb 2003 19:21:04 +0200 +Lines: 27 +Sender: rlug-bou...@lug.ro +Message-ID: <3e43eb00.7040...@pcnet.ro> +References: <3e43bb6d.8080...@myrealbox.com> <3e43bc3c.4050...@apsro.com> <3e43be1c.9020...@myrealbox.com> <3e43bec3.5060...@apsro.com> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain; charset=us-ascii; format=flowed +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hCBB-0001J4-00 + for <gourg-r...@gmane.org>; Fri, 07 Feb 2003 18:20:45 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id 63CDE32D58; Fri, 7 Feb 2003 19:21:17 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Fri, 07 Feb 2003 19:21:16 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from mail.nobugconsulting.ro (nobugconsulting.ro [213.157.160.38]) + by lug.lug.ro (Postfix) with ESMTP id 4F31632CC7 + for <r...@lug.ro>; Fri, 7 Feb 2003 19:21:14 +0200 (EET) +Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) + by buick.nobugconsulting.ro (Postfix) with SMTP id 146354EDCE + for <r...@lug.ro>; Fri, 7 Feb 2003 19:21:04 +0200 (EET) +Received: from pcnet.ro (unknown [192.168.1.2]) + by mail.nobugconsulting.ro (Postfix) with ESMTP id DC16D4ED96 + for <r...@lug.ro>; Fri, 7 Feb 2003 19:21:03 +0200 (EET) +User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 +X-Accept-Language: en-us, fr, ro +To: r...@lug.ro +X-archive-position: 23609 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: wo...@pcnet.ro +Precedence: bulk +X-list: rlug + +Nicu Buculei wrote: +> Daniel Pavel a scris, in 2/7/03 4:09 PM: +> +>> :) nu _am_ CD-ul de instalare... Imaginea am luat-o de pe un rh mirror. +> +> ^^^^^^^^ +> +> si ce ai facut cu imaginea ? nu ai tras-o pe cd ? +> + +ia cu incredere o discheta de 1.44 (sper ca macar floppy ai), scrie pe +ea bootnet.img copiat de pe net si apoi (multumindu-i in gind lui cioby) +zici asa: +- linux rescue (la lilo prompt) +- alegi ftp ca modalitate de lucru +- ftp.ines.ro (server) +- /pub/linux/distributions/redhat-8.0/ftpinstall (path catre distributie) + + + +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + diff --git a/examples/src/main/resources/mbox-example/mbox.rlug-2 b/examples/src/main/resources/mbox-example/mbox.rlug-2 new file mode 100644 index 0000000..26ea560 --- /dev/null +++ b/examples/src/main/resources/mbox-example/mbox.rlug-2 @@ -0,0 +1,50 @@ +From: Adrian Rapa <adr...@dtedu.net> +Subject: Qmail mysql virtualusers +ssl + smtp auth +pop3 +Date: Fri, 7 Feb 2003 19:36:01 +0200 +Organization: Asociatia Studenteasca a Retelelor din Drumul Taberei +Lines: 12 +Sender: rlug-bou...@lug.ro +Message-ID: <20030207193601.2613a439.adr...@dtedu.net> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain; charset=US-ASCII +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hCPk-0002ZW-00 + for <gourg-r...@gmane.org>; Fri, 07 Feb 2003 18:35:48 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id DC08032D8E; Fri, 7 Feb 2003 19:36:21 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Fri, 07 Feb 2003 19:36:20 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from www.dtedu.net (tabara.imago.ro [193.254.242.5]) + by lug.lug.ro (Postfix) with SMTP id 3794D32CC7 + for <r...@lug.ro>; Fri, 7 Feb 2003 19:36:17 +0200 (EET) +Received: (qmail 10170 invoked from network); 7 Feb 2003 17:36:02 -0000 +Received: from games.tabara.net (HELO games) (10.39.2.5) + by tabara.imago.ro with SMTP; 7 Feb 2003 17:36:02 -0000 +To: r...@lug.ro +X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i686-pc-linux-gnu) +X-archive-position: 23610 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: adr...@dtedu.net +Precedence: bulk +X-list: rlug + +Salut, +poate cineva sa imi dea combinatia aceasta? am incercat sa pun patchurile dar dadeau erori + + +Adrian Rapa +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + diff --git a/examples/src/main/resources/mbox-example/mbox.rlug-3 b/examples/src/main/resources/mbox-example/mbox.rlug-3 new file mode 100644 index 0000000..6cac1ce --- /dev/null +++ b/examples/src/main/resources/mbox-example/mbox.rlug-3 @@ -0,0 +1,64 @@ +From: teo...@home.ro +Subject: Re: Din windows ma pot, din LINUX NU ma pot conecta (la ZAPP) +Date: Sat, 8 Feb 2003 01:41:31 +0200 +Lines: 25 +Sender: rlug-bou...@lug.ro +Message-ID: <20030208014131.00fd30ce.teo...@home.ro> +References: <001401c2cec7$4eb5b460$941c10ac@ok6f6gr01ta4hv> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain; charset=US-ASCII +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hI9b-0003OX-00 + for <gourg-r...@gmane.org>; Sat, 08 Feb 2003 00:43:31 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id 6064032D4F; Sat, 8 Feb 2003 01:44:08 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Sat, 08 Feb 2003 01:44:07 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from s1.home.ro (home.rdsnet.ro [193.231.236.40]) + by lug.lug.ro (Postfix) with SMTP id 0EEE832D02 + for <r...@lug.ro>; Sat, 8 Feb 2003 01:44:05 +0200 (EET) +Received: (qmail 3538 invoked from network); 7 Feb 2003 23:37:23 -0000 +Received: from unknown (HELO linbox) (213.233.108.98) + by s1.home.ro with SMTP; 7 Feb 2003 23:37:23 -0000 +To: r...@lug.ro +In-Reply-To: <001401c2cec7$4eb5b460$941c10ac@ok6f6gr01ta4hv> +X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i686-pc-linux-gnu) +X-archive-position: 23611 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: teo...@home.ro +Precedence: bulk +X-list: rlug + +On Fri, 7 Feb 2003 18:35:25 +0200 +"mmihai" <mmi...@netcompsj.ro> wrote: + +> Buna Ziua tuturor, +> +> Am o placa de baza, cu mare probabilitate J-542B, Chipset Ali +> M1542/M1543, Aladdin-V chipset. +> Vreau sa ma conectez la ZAPP, din Linux, pe portul USB +> Un lucru este absolut cert: portul exista si este functional intrucit +> ma pot conecta din XP. +> In Control Panel-ul din XP la "Sectiunea USB" scrie: +> +pl2303.o ? +ai modulul pentru cipul ala de pe cablu ? +compileaza, insereaza, bla... +apoi merge + + +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + diff --git a/examples/src/main/resources/mbox-example/mbox.rlug-4 b/examples/src/main/resources/mbox-example/mbox.rlug-4 new file mode 100644 index 0000000..9e3668d --- /dev/null +++ b/examples/src/main/resources/mbox-example/mbox.rlug-4 @@ -0,0 +1,65 @@ +From: "Dragosh M." <drag...@lsd.ro> +Subject: LSTP problem - solved +Date: 08 Feb 2003 01:58:32 +0200 +Lines: 27 +Sender: rlug-bou...@lug.ro +Message-ID: <1044662313.5121.17.ca...@snow.lsd.ro> +Reply-To: r...@lug.ro +Mime-Version: 1.0 +Content-Type: text/plain +Content-Transfer-Encoding: 7bit +Return-path: <rlug-bou...@lug.ro> +Received: from lug.lug.ro ([193.226.140.220]) + by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) + id 18hIID-0003pf-00 + for <gourg-r...@gmane.org>; Sat, 08 Feb 2003 00:52:25 +0100 +Received: from lug.lug.ro (localhost.localdomain [127.0.0.1]) + by lug.lug.ro (Postfix) with ESMTP + id 461C532D55; Sat, 8 Feb 2003 01:53:03 +0200 (EET) +Received: with LISTAR (v0.129a; list rlug); Sat, 08 Feb 2003 01:53:02 +0200 (EET) +Delivered-To: r...@lug.ro +Received: from rdsnet.ro (mail.rdsnet.ro [193.231.236.16]) + by lug.lug.ro (Postfix) with SMTP id F315032D02 + for <r...@lug.ro>; Sat, 8 Feb 2003 01:52:59 +0200 (EET) +Received: (qmail 5162 invoked from network); 7 Feb 2003 23:52:49 -0000 +Received: from unknown (HELO snow.lsd.ro) (81.196.12.127) + by mail.rdsnet.ro with SMTP; 7 Feb 2003 23:52:49 -0000 +To: r...@lug.ro +X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) +X-archive-position: 23612 +X-listar-version: Listar v0.129a +Errors-To: rlug-bou...@lug.ro +X-original-sender: drag...@lsd.ro +Precedence: bulk +X-list: rlug + +In sfarsit am rezolvat crapu, cu ajutorul lui James McQuillan (taticul +LTSP). E foarte simplu si foarte nedocumentat, 16 mega NU sunt +suficienti pentru o statie desi peste tot se zice ca si 8 sunt ok, motiv +pentru care e imperativ necesar sa se foloseasca swap-over-NFS care +merge super bine (stiu ca majoritatea au o reticenta in a folosi +swap/nfs, don't be shy, it rocks). Am mai adaugat 64 de ram pe NFS si +acum rupe tovarashu' terminal, am load 2 la server si totul merge f +bine. +Un 32 de MB sunt minim, 8/16 cat are sistemul + 32 e safe. +Sper ca observatia asta sa apara in viitoarea versiune a documentatiei +ce vine cu LTSP, cel putin asa mi s-a promis. + +You've got yourself a happy smilin' motherfucker. + +Good fight, good night. + +Dragosh "smilin'" M. +-- +I/O error while opening .signature file + +--- +Pentru dezabonare, trimiteti mail la +lis...@lug.ro cu subiectul 'unsubscribe rlug'. +REGULI, arhive si alte informatii: http://www.lug.ro/mlist/ + + + + + + --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org