Rev | Author | # | Line |
---|---|---|---|
2 | AristotlePagaltzis | 1 | !!! Converting [MBox] to another format, such as MailDir |
1 | GerwinVanDeSteeg | 2 | |
2 | AristotlePagaltzis | 3 | You need to configure procmail(1) to deliver [Email] to a MailDir box first. Then as the user or as the SuperUser, do the following: |
1 | GerwinVanDeSteeg | 4 | |
2 | AristotlePagaltzis | 5 | <verbatim> |
6 | formail -s /usr/local/bin/procmail -d <username> < mbox | ||
7 | </verbatim> | ||
1 | GerwinVanDeSteeg | 8 | |
2 | AristotlePagaltzis | 9 | !!! Respooling a mailbox to somewhere else |
1 | GerwinVanDeSteeg | 10 | |
2 | AristotlePagaltzis | 11 | <verbatim> |
12 | formail -f -s sendmail newuser@some.domain.com < /var/mail/spoolfile | ||
13 | </verbatim> | ||
14 | |||
15 | ---- | ||
16 | Part of CategoryMailNotes |