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 > > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail > >