Hrm.  What about the "default"?   (I.E. currently things fall through
procmail to /var/mail/ler, and with this setup I'd like them to fall through to INBOX.

So? Add a catch-all rule for INBOX to your procmailrc. Won't that do it for you?

Also, is there a convienient way to rename a whole bunch of folders and create
new ones?

Use raw SQL to rename your current folderset:

something along the lines of:

update mailboxes mb, users u set mb.name = concat("archive/",date_format(now(),"%Y%m%d"),"/",mb.name) where mb.owner_idnr = u.user_idnr and u.userid = 'someuser';

which is probably a mysql-ism.

I.E.  I archive my entire set of folders every month by year/month/name
and start fresh.

Having moved your folders out of the way, dbmail2 will happily recreate folders as required.


--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to