Forwarding existing mail
Duane Attaway
dattaway at dattaway.org
Sat Jan 25 23:23:37 CST 2003
On Sat, 25 Jan 2003, Jonathan Hutchins wrote:
> A user on a system I manage doesn't have the ability to pick up their
> mail, which has accumulated for a while. The do have an address I can
> forward it to, and I've set that up for new messages, but how do I
> forward the mail that's already been received without having to go into
> each message and manually re-address it?
fetchmail should be able to do this, with something like:
fetchmail -a -i -v -f fetchmailrc
The fetchmailrc contains
poll <mail.source.com> proto pop3 smtphost <mail.targethost.com>
smtpaddress <targetuser at mail.targethost.com> user <myuser> password
<mypassword>
The smtphost, smtpaddress, smtpname in the man page may show you how to
get a working rc configuration. I haven't done this before, so I haven't
tested it.
--
Why drive a car when you can ride a bike?
http://attaway.net http://counter.li.org user #142150
More information about the Kclug
mailing list