Great Circle Associates Majordomo-Users
(October 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: list population script
From: (John Sechrest) <sechrest @ peak . org>
Date: Sun, 12 Oct 1997 06:38:28 -0700
To: Daniel Garcia <dgarcia @ hollyfeld . org>
Cc: Michael Lausin <soscc @ yampa . cmn . net>, majordomo-users @ greatcircle . com
In-reply-to: Your message of Sun, 12 Oct 1997 09:10:58 EDT. <Pine.LNX.3.95.971012091012.8003j-100000@www.hollyfeld.org>

--------

Daniel Garcia <dgarcia@hollyfeld.org> writes:

 % Not even worth putting in a script:

 %         cut -f1 -d':' /etc/passwd > /usr/public/majordomo/lists/allusers

	You might want to have a filter file that has all the 
	users that you don't want to get email, like root,bin,synch
	
	And so then this would become:
	
	
cut -f1 -d':' /etc/passwd | fgrep -v -f mail.filter  > /usr/public/majordomo/lists/allusers



-----
John Sechrest          .         Helping people use
   PEAK -               .           computers and the Internet
Public Electronic         .            more effectively
Access to Knowledge,Inc       .                      
850 SW 15th Street              .            Internet: sechrest@peak.org
Corvallis Oregon 97331               .                  (541) 754-7325
                                            . http://www.peak.org/~sechrest


References:
Indexed By Date Previous: Re: list population script
From: Daniel Garcia <dgarcia@hollyfeld.org>
Next: my_list.config file seems to be ignored !
From: JY Barrette <barrette@tcpip-consultant.com>
Indexed By Thread Previous: Re: list population script
From: Daniel Garcia <dgarcia@hollyfeld.org>
Next: my_list.config file seems to be ignored !
From: JY Barrette <barrette@tcpip-consultant.com>

Google
 
Search Internet Search www.greatcircle.com