[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] maildir patch (based on 0.4)
From: |
Alain Magloire |
Subject: |
Re: [bug-mailutils] maildir patch (based on 0.4) |
Date: |
Wed, 29 Oct 2003 16:17:55 -0500 (EST) |
>
> Alain Magloire <address@hidden> wrote:
>
> > I'll let Sergey handle the patch, since I'm not that familiar with maildir
> > format.
>
> Yep, I'll handle this.
>
> > - Could it be possible to make the maildir functions accessible ?
> > In the long run I'm hoping to make this layer also accessible, for
> > example for mailutils library users that __only__ want to manipulate
> > the maildir format and not via mailbox_t functions
>
> Interesting. Any details, please?
>
Well mailbox_t, message_t etc ... are great, since you can transparently
deal with all sort of mailbox formats within your application just by
reseting the URL.
But in many cases, I found myself not needing this framework at all
and sometimes even worst I want to access some specific behaviour of the
Protocol/format and simply can not.
For example, I want to quickly write a popdownload client for some reason
and want to do this via the TOP command, mailbox_t will not let me do this.
And I'm back to square one, the library useless to me.
Now we can, there is a lower level, mailbox/pop/pop3_*.c functions
which covers the POP3 protocol. There is(will be) also an "adapter"
that converts the lower calls to mailbox_t.
I think this is a flaw in the library, where we forced every one to
be in the same mold without alternatives.