Aug. 12th, 2005

sev: (Default)
% cd /backup-directory/var/copy-of-mail/
% /usr/pkg/bin/archivemail -D '11 August 2005' --delete *
% for username in * ; do
for> echo "Processing for $username"
for> grep -v '^Delivered-To: $username' $username \
for> | formail -s sendmail $username
for> echo "done"
for> done


... and thus, after restoring the system from backup this morning, all the missing mail gets redelivered.

I like backups.

I like simple solutions.

I am very tired.

Profile

sev: (Default)
sev

March 2019

S M T W T F S
     12
3456789
1011 1213141516
17181920212223
24252627282930
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 26th, 2026 06:46 am
Powered by Dreamwidth Studios