[Mailman-Users] no dupes across lists?

Gabriel Millerd gmillerd at gmail.com
Thu Dec 27 15:02:31 CET 2007


On Dec 27, 2007 4:45 AM, Vinita Aggarwal <vinita.aggarwal at un.org.in> wrote:
> I have Three lists list1 at domain.com (1000 members) and list2 at domain.com
> (1500 members) and list3 at domain.com . Now, In list3 at domain.com I have only
> two members i.e. list1 at domain.com and list2 at domain.com.
>
  write cron script that does something similar to this (typed free
hand, mileage may vary), or perhaps runs opportunistically, so that
your creating the actual list membership nearly on the fly

LIST=/tmp/list3.lst
./remove_members list3
(./list_members list1; ./list_members list2) | tr -t '[:upper:]'
'[:lower:]' |sort -u > ${LIST}
./add_members -w=n -a=n -r=/tmp/list3.lst list3
rm ${LIST}


More information about the Mailman-Users mailing list