> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of List Receiver > Sent: Monday, March 31, 2008 5:48 PM > To: DBMail mailinglist > Subject: RE: [Dbmail] Dbmail-export all mailboxes > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf Of Aaron Stone > > Sent: Monday, March 31, 2008 5:29 PM > > To: DBMail mailinglist > > Subject: Re: [Dbmail] Dbmail-export all mailboxes > > > > By default, all mailboxes are exported. If you want to export a > > specific tree, you can do one of two things: > > > > dbmail-export -m "Mail/Box/Tree" -r > > > > it will then export Mail/Box/Tree and everything below it, e.g. Mail/ > > Box/Tree/Something/Else. This should be clearly documented already in > > the man page and dbmail-export -h. > > > > Or: > > > > dbmail-export -m "Mail/*/Tree*" > > > > it will then export all mailboxes beginning with Tree or in > > subdirectories below Tree, two levels below Mail, regardless of the > > name of the folder in between. For example. This is actually not > > documented, however it does work nicely. > > > > I see that the default is to export all mailboxes, but when I specify > the search string, I'm not allowed to do anything other than specify a > mailbox: > > archfe1:~ # dbmail-export -u joes -s "1:* FROM joes@" -o > "/root/mail/test3" > Mailbox required if search is specified. > > As well, how can I concoct a search string to match one of two > different queries? For example, I'm trying: > > dbmail-export -u joes -m "mail" -r -s "1:* FROM joes@ OR TO joes@" -o > "/root/mail/test3" > dbmail-export -u joes -m "mail" -r -s "1:* FROM OR TO joes@" -o > "/root/mail/test3" > ...but neither produces a non-zero size file >
Nevermind the logical combination...I figured it out by looking in the archives at the last time I asked this. :^/ I still haven't figured out how to get dbmail-export to recurse through all folders, though. _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
