Professional Web Applications Themes

Mail delivery to non-mbox? - Ruby

Saluton! Hi! I am presently delivering e-mails to my mbox style mailbox because for this kind of mailbox I know how to correctly do locking. I would like to be able to deliver to MH and Maildir style mailboxes as well. I am looking for a library for that purpose or at least for information how to avoid interference between my application (that fetches mails from my POP3 account) and my mail program. I did already seek for such a library but didn't find anything :-< Gis, Josef 'Jupp' Schugt -- N'attribuez jamais à la malice ce que l'incompétence explique ...

  1. #1

    Default Mail delivery to non-mbox?

    Saluton!

    Hi!

    I am presently delivering e-mails to my mbox style mailbox because
    for this kind of mailbox I know how to correctly do locking. I would
    like to be able to deliver to MH and Maildir style mailboxes as well.

    I am looking for a library for that purpose or at least for
    information how to avoid interference between my application (that
    fetches mails from my POP3 account) and my mail program.

    I did already seek for such a library but didn't find anything :-<

    Gis,

    Josef 'Jupp' Schugt
    --
    N'attribuez jamais à la malice ce que l'incompétence explique !
    -- Napoléon

    Josef 'Jupp' Schugt Guest

  2. #2

    Default Re: Mail delivery to non-mbox?


    --=-yPIHIDIzQgyh/pJy+22Q
    Content-Type: text/plain
    Content-Transfer-Encoding: quoted-printable

    On Thu, 2003-08-07 at 10:58, Josef 'Jupp' Schugt wrote:
    > Saluton!
    >=20
    > Hi!
    >=20
    > I am presently delivering e-mails to my mbox style mailbox because
    > for this kind of mailbox I know how to correctly do locking. I would
    > like to be able to deliver to MH and Maildir style mailboxes as well.
    I highly reccomend Maildir, though watch out for inode over-usage.

    [url]http://cr.yp.to/proto/maildir.html[/url]

    Delightfully simple, I think. Not pretty -- a little prettier than
    SysV-style initscripts, less pretty than Ruby in general, but overall a
    nice mailbox format.

    I know of no Ruby library to handle it, though the semantics should be
    about 7 lines of ruby code, with error handling.

    Be aware there's a Maildir++ format, which has subfolders and quotas. In
    my opinion, neither are well implemented and are vastly ugly, but they
    work much more easily than mboxes.

    Ari

    --=-yPIHIDIzQgyh/pJy+22Q
    Content-Type: application/pgp-signature; name=signature.asc
    Content-Description: This is a digitally signed message part

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQA/Moa+tP09exA3hooRAl5jAJ0dyrA/WEYD3kpAWeXnSmyXOkNGWgCfXLov
    Mw9owYgB/4Bi+WNY6LbuTfw=
    =C0xE
    -----END PGP SIGNATURE-----

    --=-yPIHIDIzQgyh/pJy+22Q--


    Aredridel Guest

  3. #3

    Default Re: Mail delivery to non-mbox?

    On Fri, Aug 08, 2003 at 02:05:17AM +0900, Aredridel wrote:
    > [url]http://cr.yp.to/proto/maildir.html[/url]
    >
    > Delightfully simple, I think. Not pretty -- a little prettier than
    > SysV-style initscripts, less pretty than Ruby in general, but overall a
    > nice mailbox format.
    >
    > I know of no Ruby library to handle it, though the semantics should be
    > about 7 lines of ruby code, with error handling.
    >
    > Be aware there's a Maildir++ format, which has subfolders and quotas. In
    > my opinion, neither are well implemented and are vastly ugly, but they
    > work much more easily than mboxes.
    Maildir++ works well for me.

    Easiest way to deliver in this format is to use 'deliverquota' from the
    courier-imap package. From Ruby you'd use IO.popen to pass it a message.

    Regards,

    Brian.

    Brian Candler Guest

  4. #4

    Default Re: Mail delivery to non-mbox?

    On Fri, Aug 08, 2003 at 02:57:01AM +0900, Brian Candler wrote:
    > Easiest way to deliver in this format is to use 'deliverquota' from the
    > courier-imap package. From Ruby you'd use IO.popen to pass it a message.
    Or safecat:

    [url]http://budney.homeunix.net:8080/users/budney/linux/software/safecat.html[/url]

    --
    Jos Backus _/ _/_/_/ Sunnyvale, CA
    _/ _/ _/
    _/ _/_/_/
    _/ _/ _/ _/
    jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer'

    Jos Backus Guest

  5. #5

    Default Re: Mail delivery to non-mbox?

    Saluton!

    * bbense+comp.lang.ruby.Aug.08.03telemark.slac.stan ford.edu; 2003-09-17, 21:24 UTC:
    > - - I'm pretty sure the rmail library can do this. Look in RAA. or
    > here
    >
    > [url]http://www.lickey.com/rubymail/[/url]
    >
    > - - Booker C. Bense
    You did notice that my message was sent on 2003-08-07 13:34:54?
    Date is beginning of message ID :->

    My web pages don't work? See my signature.

    Gis,

    Josef 'Jupp' Schugt
    --
    On 2003-09-24 the European Parliament is going to decide on a
    software patent directive. As a protest my web pages will offline
    from 2003-09-17 through 2003-09-24 (UTC, including end dates). This
    includes but is not limited to the tldlib/extmath/rcalc homepage.

    Josef 'Jupp' Schugt Guest

  6. #6

    Default Re: Mail delivery to non-mbox?

    -----BEGIN PGP SIGNED MESSAGE-----

    In article <20030917230557.GC1445jupp%gmx.de>,
    Josef 'Jupp' Schugt <juppgmx.de> wrote:
    >Saluton!
    >
    >* bbense+comp.lang.ruby.Aug.08.03telemark.slac.stan ford.edu; 2003-09-17, 21:24 UTC:
    >> - - I'm pretty sure the rmail library can do this. Look in RAA. or
    >> here
    >>
    >> [url]http://www.lickey.com/rubymail/[/url]
    >>
    >> - - Booker C. Bense
    >
    >You did notice that my message was sent on 2003-08-07 13:34:54?
    >Date is beginning of message ID :->
    - - I sent that reply back in August via the newsgroup
    comp.lang.ruby. Must be something wierd in the
    mail <-> news gateway.

    _ Booker C. Bense

    -----BEGIN PGP SIGNATURE-----
    Version: 2.6.2

    iQCVAwUBP2nqmWTWTAjn5N/lAQHetgP/Sis0y/lktqnrEM9NqJfgb8IamJSKCAai
    dm0fWgtLxvWLcBi6syLrI05LY2tfWDj8ZeBoa9J0IwlfhlPqSt ruiML4poQiq90n
    8I60QAZMSo2Q0siz4oTd3g1l3IA+gEdt5kIuPE9oT7Dcv3NcqK u/zRrXHFh/kl1e
    1TKNGvQ5bNI=
    =aE5R
    -----END PGP SIGNATURE-----
    Guest

  7. #7

    Default Re: Mail delivery to non-mbox?

    Saluton!

    * bbense+comp.lang.ruby.Sep.18.03telemark.slac.stan ford.edu; 2003-09-18, 18:13 UTC:
    > - - I sent that reply back in August via the newsgroup
    > comp.lang.ruby. Must be something wierd in the
    > mail <-> news gateway.
    Indeed something *very* wierd.

    Before replying I did take a look at the header of your message.

    Date: Wed, 17 Sep 2003 23:52:30 +0900

    I also did take a look at the message ID but it did not show
    something that reminded me of a date.

    I saw the mail address

    bbense+comp.lang.ruby.Aug.08.03telemark.slac.stan ford.edu

    but Aug.08.03 has several interpretation - date address was created,
    date it expires, whatever.

    My web pages don't work? See my signature.

    Gis,

    Josef 'Jupp' Schugt
    --
    On 2003-09-24 the European Parliament is going to decide on a
    software patent directive. As a protest my web pages will offline
    from 2003-09-17 through 2003-09-24 (UTC, including end dates). This
    includes but is not limited to the tldlib/extmath/rcalc homepage.

    Josef 'Jupp' Schugt Guest

Similar Threads

  1. Dual mail delivery from scheduled task on dual-instanceCFMX7 Enterprise system
    By imag_je in forum Coldfusion Server Administration
    Replies: 2
    Last Post: November 17th, 10:59 AM
  2. mbox mail archiving utilities
    By Troy Piggins in forum Ubuntu
    Replies: 2
    Last Post: April 11th, 04:12 AM
  3. AntiVir ALERT [your mail: "Mail Delivery (failure marcinolesno.pl)"]
    By AntiVir@coyote.olesno.pl in forum FreeBSD
    Replies: 0
    Last Post: February 26th, 10:14 PM
  4. Mail::Mbox::MessagePr 1.13 released
    By David Coppit in forum PERL Modules
    Replies: 0
    Last Post: December 30th, 04:16 AM
  5. #25195 [NEW]: Warning: mail(): Could not execute mail delivery program ...
    By mhawkins at ukeu dot com in forum PHP Development
    Replies: 0
    Last Post: August 21st, 04:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139