On Wed, Apr 25, 2007, Andreas Widerøe Andersen wrote: > Thanks for your reply. I don't have mutt installed and I was hoping for a > way of doing this without installing additional software. Also, I didn't > mention that on one of the machines there are probably a year of emails so > the box is quite large.
Well, this one requires additional software too, but maybe you've got formail(1) (which is part of the procmail(1) distribution) installed. # formail -f -s /usr/sbin/sendmail -oiee [EMAIL PROTECTED] \ </var/mail/root As this can put reasonable pressure on the receiving server, especially when doing sort of spam scanning, etc., you might want to add an delay: # formail -f -s /bin/sh -c \ '/usr/sbin/sendmail -oiee [EMAIL PROTECTED]; sleep 1' \ </var/mail/root -cs _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"