This one time, at band camp, John Clarke wrote:
>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

Thanks.

-- 
[EMAIL PROTECTED]                           http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to