This directory contains the script for generating the UPE mailing list (/etc/postfix/virtual
).
- get_users.py retrievs user email data from the Django database.
- parse_emails.py parses the current mailing list from
/etc/postfix/virtual
. - union.py is a utility function for merging dictionaries.
- main.py uses the above to merge (find the union of) the two sets of user-email mappings.
Before running the script for the first time (in March 2015), a backup of the existing mailing list was created in /src/upe.berkeley.edu/www/website/mailing_list.txt.bak
.
This script was created by:
- ALLEN GUO <[email protected]>
- EDWARD LOOK <[email protected]>
- VENKATA SRIKAR REDDY POREDDY <[email protected]>
- JORDON MCLAUGHLIN WING <[email protected]>
- NATHAN WONG <[email protected]>