DBMAIL-EXPORT(8) | DBMAIL-EXPORT(8) |
NAME
dbmail-export - export a mailbox from the DBMail mailsystem to mbox format.
SYNOPSIS
dbmail-export [-dr] [-u user] [-m mailbox] [-s imap search] [-o outfile|-b basedir] [-f configFile]
DESCRIPTION
The dbmail-export program allows you to export a DBMail mailbox to an mbox formatted mailbox.
OPTIONS
-u user
-m mailbox
-o outfile
-b basedir
-s search
-d
-r
COMMON OPTIONS
-f configfile
-q
-v
-V
-h
EXAMPLES
To export and delete all messages belonging to user Joe in mailbox Inbox more than 30 days old, try this command:
dbmail-export -u joe -m inbox -o joesinbox.mbox -d -s "1:* BEFORE `date '+%e-%b-%Y' -d '30 days ago'`"
Note the careful bash quoting and backticks calling the GNU date(1) command. GNU date(1) has excellent features for retrieving relative dates. If you are using a different shell, you may need different quotes. Descriptions of relative dates are not supported by BSD date(1).
To export all mailboxes named Spam for all users into individual directories following the pattern SpamDump/<username>/Spam, try this command:
dbmail-export -u \* -m Spam -b SpamDump
Note the backslash to prevent the shell from expanding the *, as we want that * to be passed into DBMail for expansion based on the internal user list.
BUGS
If you experience inexplicable problems with DBMail, please report the issue to the DBMail Bug Tracker[1].
LICENSE
DBMail and its components are distributed under the terms of the GNU General Public License. Copyrights are held variously by the authors listed below.
AUTHOR(S)
DBMail is a collaborative effort among the core developers listed below and the tremendous help of the testers, patchers and bug hunters listed in the AUTHORS and THANKS files found in the DBMail source distribution.
Alan Hicks Persistent Objects Ltd https://p-o.co.uk Eelco van Beek Aaron Stone Paul J Stevens Roel Rozendaal Open Source Engineer NFG Net Facilities Group BV Ilja Booij Palo Alto, CA USA http://www.nfg.nl IC&S http://hydricacid.com http://www.ic-s.nl
NOTES
- 1.
- DBMail Bug Tracker
08/04/2024 |