Changeset 3bca03c


Ignore:
Timestamp:
Aug 16, 2015, 3:03:07 PM (11 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, stable
Children:
63aea04
Parents:
798afa8
git-author:
Alex Dehnert <adehnert@…> (08/16/15 15:03:07)
git-committer:
Alex Dehnert <adehnert@…> (08/16/15 15:03:07)
Message:

Move emails off asa-db@, for easier filtering

Basically all mail to asa-db@ should be mail that really needs a human to look
at, not routine nightly emails.

Location:
asadb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/diffs.py

    r9af1bb4 r3bca03c  
    199199                tmpl='groups/diffs/list-update.txt',
    200200                context=context, subject=subject,
    201                 to=['asa-db@mit.edu'],
     201                to=['asa-db-auto@mit.edu'],
    202202            ).send()
    203203
     
    260260    return pred
    261261
    262 
    263 # Note: these aren't actually used (but might have some utility in telling what
    264 # should be diffed)
    265 update_asa_exec = 'asa-exec@mit.edu'
    266 update_funding_board = 'asa-db@mit.edu'
    267 update_constitution_archive = 'asa-db@mit.edu'
    268 
    269 diff_fields = {
    270     'name' :            [ update_asa_exec, ],
    271     'abbreviation' :    [ update_asa_exec, ],
    272     'officer_email' :   [ update_asa_exec, update_funding_board ],
    273     'constitution_url': [ update_asa_exec, update_constitution_archive ],
    274 }
    275 
    276 # This is used, OTOH
    277262def build_callbacks():
    278263    callbacks = []
  • asadb/space/diffs.py

    r27e09a9 r3bca03c  
    315315            changed_groups.append((group_info.group, systems_changes['cac-card'], group_office_changes, group_info.locker_messages, ))
    316316
    317     asa_rcpts = ['asa-space@mit.edu', 'asa-db@mit.edu', ]
     317    asa_rcpts = ['asa-space-access@mit.edu']
    318318    if cac_chars > 0 or cac_locker_msgs:
    319319        util.emails.email_from_template(
     
    323323            to=['caclocks@mit.edu'],
    324324            cc=asa_rcpts,
     325            from_email='asa-db-auto@mit.edu',
    325326        ).send()
    326327    group_email_cc = asa_rcpts + ['caclocks@mit.edu']
     
    336337            to=[group.officer_email],
    337338            cc=group_email_cc,
     339            from_email='asa-db-auto@mit.edu',
    338340        ).send()
    339341
Note: See TracChangeset for help on using the changeset viewer.