On Fri, Dec 12, 2003 at 12:53:26PM +1100, Jamie Wilkinson wrote:
> I'd probably do
>
> formail -ds "sendmail -t" <mbox
'-t' means scan "To:", "Cc:" and "Bcc:" headers for recipient addresses
and it will send the messages to all addresses which appear in these
headers. That's probably not what you want to do. You'd be better off
giving sendmail the user's address, e.g.:
cd /var/spool/mail/
for user in *
do
formail -ds sendmail [EMAIL PROTECTED] < $user
done
Cheers,
John
--
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug