Hi Jacques,

I've attached a patch (CVS 2002/12/11) that makes it possible to
automatically
create a mailbox that doesn't exist. You have to #define AUTO_CREATE_MAILBOX
to make it work. And if you are using PostgreSQL, you have to update it,
since my patch is only for MySQL users... sorry for that.

Have a nice day!
/Klas
[EMAIL PROTECTED]


> I'll see if Klas can update it for the current CVS version and post it
later
> on today.
>
> Also take a look at mbox2dbmail-fast.c (I posted it to the list a while
> ago). It does what formail does I guess, but I did have a few problems
with
> the unique ID numbers.  I ended up after importing simply doing an sql
> update on the entire table.  Something like:
>
>     update messages set unique_id=concat(message_idnr,'A','XXXX');
>
> Good for first import, but can screw up the UIDL entries for existing
users.
>
>
> On 11/12/02 4:12 AM, "Jacques-Beaudoin" <[EMAIL PROTECTED]>
wrote:
>
> > Thanks Mark
> >
> > Messages do go to mailbox 0.
> >
> > Your patch did not make it to the CVS(1.0)  because thats what i use to
> > install
> > dbmail.
> >
> > One of the major task in installing DBmail is converting  UW-imap users
and
> > messages to DBMAIL.
> >
> > Im almost finish writing a simple 5 sections script on how to transfert
> > a UW-imap server to DBmail (With detail instruction for everyone....)
> >
> > It would be nice if your dbmail-smtp patch make it to the CVS
> > so i could complete my script and postit on this board.
> >
>

Attachment: auto_create_mailbox.patch
Description: Binary data

Reply via email to