Changeset 1011


Ignore:
Timestamp:
Mar 10, 2009, 2:23:53 AM (16 years ago)
Author:
mitchb
Message:
It's wrong to assume that the address lockername@mit.edu is valid.
Further, for activity lockers, if it is valid, it may well be a
large or poorly-maintained list with addresses that will bounce
and cause a mail loop (since the bounces will go back to
lockername@scripts.mit.edu).  Instead, set up the default procmailrc
to direct mail for lockername@scripts.mit.edu to the user who signed
the locker up for mail_scripts, and notify them that this is the
default so they know to adjust it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/signup-mail

    r660 r1011  
    99  fs sa /mit/$lname/mail_scripts system:authuser none
    1010  fs sa /mit/$lname/mail_scripts daemon.scripts read
    11   sed /SCRIPTS_USER/s//$lname/ /mit/scripts/bin/procmailrc > /mit/$lname/mail_scripts/procmailrc
    12 #  echo -e ":0\n*\n! $USER@mit.edu" >/mit/$lname/mail_scripts/procmailrc
     11  signupuser=`echo "$principal" | sed 's/@.*$//'`
     12  sed /SCRIPTS_USER/s//$signupuser/ /mit/scripts/bin/procmailrc > /mit/$lname/mail_scripts/procmailrc
     13  echo "By default, mail sent to $lname@scripts.mit.edu will be forwarded to"
     14  echo "$signupuser@mit.edu.  You should edit /mit/$lname/mail_scripts/procmailrc"
     15  echo "to change this and customize your procmail configuration."
    1316  success "the mail script service" "The directory /mit/$lname/mail_scripts has been created."
    1417else
Note: See TracChangeset for help on using the changeset viewer.