also sprach Petre Daniel <[EMAIL PROTECTED]> [2001.12.26.1255 +0100]: > I need a script that if run,checks all /home accounts and put them like > [EMAIL PROTECTED] in the .forward of my email-broadcast-account.
are they all in /home/ ?
grep \/home\/ /etc/passwd | cut -d: -f1 | while read i; do
echo "[EMAIL PROTECTED]"
done
will give you a giant list that you can use.
> Or is there another simple way?
.forward isn't really the way to do this. you either use
/etc/aliases.db with a file as destination, the file containing one
address per line, or you get a mailing list? even installing your own
mailinlist manager isn't hard - i'd suggest mailman...
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" [EMAIL PROTECTED]
breakfast.com halted - cereal port not responding.
pgpnJI9567l1D.pgp
Description: PGP signature

