[clue-tech] local mass emailer
Keith Hellman
khellman at mcprogramming.com
Fri Jun 3 16:07:51 MDT 2005
On Fri, Jun 03, 2005 at 05:33:07PM -0400, Angelo Bertolli wrote:
> Is there a command/program in Linux for emailing every user on the
> system? In particular just using cat >> to their mailboxes won't work
> since it should obey .forward too.
mail <options> $(cat /etc/passwd |cut -d : -f 1)
--
Keith Hellman #include <disclaimer.h>
khellman at mcprogramming.com from disclaimer import standard
public key @ www.mcprogramming.com
"I like long walks, especially when they are taken by people who annoy
me."
-- Noel Coward
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://cluedenver.org/pipermail/clue-tech/attachments/20050603/8e5847d7/attachment.bin
More information about the clue-tech
mailing list