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. Mark Mackay a écrit : > Check to see if the folder exists first. I had a similar problem (but as I > recall they all went to mailbox 0, not the inbox. Check the syslog). > > I wrote a patch at one point (not sure whether it made it into the CVS) that > auto-created the mailbox if not present. I didn't know for sure if it would > make it, so for my imports I wrote a wrapper in perl that looked up the > user_idnr, then added a mailbox named '$FOLDER' for that user_idnr, then ran > dbmail-smtp. > > /Mark > > > On 10/12/02 12:20 PM, "Jacques-Beaudoin" <[EMAIL PROTECTED]> > wrote: > > > I migrated all my inbox from uw-imap to dbmail with a script > > and a line like > > > > cat $USER | /usr/bin/formail -s dbmail-smtp -m "INBOX" -u $USER > > > > Now i want to transfert all my imap folders with a line like > > > > cat $FOLDER | /usr/bin/formail -s dbmail-smtp -m "$FOLDER" -u $USER > > > > I figure that $FOLDER would be created by dbmail-smtp and all mail > > would be sent into that $FOLDER. > > > > But mail are being sent to the INBOX. > > > > Is that normal > > > > Thanks > > > /Jacques
