Force exsisting mail
Jeremy Fowler
JFowler at westrope.com
Fri Apr 25 14:44:31 CDT 2003
Did you ever get an answer to this? I had the same problem when moving
users to a new server. Many still had mail in their original mailboxes
on the old server. Since the new mailboxes were on a new server, just
using cat to move the boxes would be too time consuming. So I used
formail to spit up the mailbox into separate messages and then passed it
to sendmail with the user's name and new host info for delivery:
for box in /var/spool/mail/*; do
echo "Moving mailbox: $box"
formail -Y -s sendmail -oi $box at other.host.net < $box
done
Just thought this might be helpful to someone.
-----Original Message-----
From: owner-kclug at marauder.illiana.net
[mailto:owner-kclug at marauder.illiana.net]On Behalf Of admin at kclinux.net
Sent: Saturday, March 29, 2003 3:37 PM
To: kclug at kclug.org
Subject: Force exsisting mail
For some reason, I cant find an answer to this on the web. Maybe it's
not possible?
I have a user that has a server with just over 1200 emails in root's
email. (About 4 are generated per day by the system.)
The user just created an alias for root so all the email will forward to
his email address.
How can I force all of those emails that already exsist in root's
mailbox to go to that alias address?
More information about the Kclug
mailing list