[clue-tech] local mass emailer

Angelo Bertolli angelo at freeshell.org
Fri Jun 3 16:17:00 MDT 2005


Keith Hellman wrote:

>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)
>
>  
>
Hmmm, thanks.  Adding awk to this should allow me to use a range of 
UID's too.




More information about the clue-tech mailing list