Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2000 23:46:39 -0700
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Craig Critchley <craigc@fuzzer.com>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Forwarding mailbox contents
Message-ID:  <20000818234639.O28027@149.211.6.64.reflexcom.com>
In-Reply-To: <0a1801c00944$f4295730$0201010a@craigc>; from craigc@fuzzer.com on Fri, Aug 18, 2000 at 11:48:52AM -0700
References:  <0a1801c00944$f4295730$0201010a@craigc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 18, 2000 at 11:48:52AM -0700, Craig Critchley wrote:
> I have a local user who has gone away.  I'll be forwarding his mail to a new
> account (no problem there) but I also want to forward any messages currently
> sitting in his mailbox.  Is there an easy way I (as root) can do that
> without logging on to his account and manually forwarding each of his old
> messages?
> 
> This is on FreeBSD 3.2 running sendmail 8.9.3.

Do you have procmail installed? Then just,

  # formail -s sendmail -t < /var/mail/user

-- 
Crist J. Clark                           cjclark@alum.mit.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000818234639.O28027>