…assuming you”ve installed formail (from the procmail package?), it’s easy as:
#!/bin/bash for file in `find /path/to/your/Maildir/cur -type f` do cat $file | formail -A Date: >> /tmp/mbox done
…assuming you”ve installed formail (from the procmail package?), it’s easy as:
#!/bin/bash for file in `find /path/to/your/Maildir/cur -type f` do cat $file | formail -A Date: >> /tmp/mbox done
Benjamin Wiedmann is an IT Professional, Software Developer, Photograph and Musician. Read more...
0 Comments