Moving mailboxes from one server to another can be a painful experience. Formail is a handy command that makes this a lot easier:
cd /var/spool/mail/;formail -Y -s sendmail -oi $user@domain < $mailbox
replace $user@domain with the real alias you want to send to eg. michele@blacknight.ie
replace $mailbox with the local mailbox name eg. michele1
The only thing to watch out for is that your sendmail doesn't try to deliver the mail locally!

Dec 10
Moving mailboxes
by Michele in Techie :: Techno ::

Recent Feedback