source: branches/fc15-dev/locker/bin/signup-mail @ 1938

Last change on this file since 1938 was 1938, checked in by achernya, 13 years ago
Merge r1878-r1937 from trunk to branches/fc15-dev
  • Property svn:executable set to *
File size: 893 bytes
[1087]3attach -q scripts
[127]4. /mit/scripts/bin$scriptsdev/signup-minimal
6if [ ! -d "/mit/$lname/mail_scripts/" ]; then
[660]7  mkdir -p /mit/$lname/mail_scripts
[127]8  fs sa /mit/$lname/mail_scripts system:anyuser l
[380]9  fs sa /mit/$lname/mail_scripts system:authuser none
[127]10  fs sa /mit/$lname/mail_scripts daemon.scripts read
[1938]11  signupuser=`echo "$principal" | sed 's/[/@].*$//'`
[1011]12  sed /SCRIPTS_USER/s//$signupuser/ /mit/scripts/bin/procmailrc > /mit/$lname/mail_scripts/procmailrc
13  echo "By default, mail sent to $ will be forwarded to"
14  echo "$  You should edit /mit/$lname/mail_scripts/procmailrc"
15  echo "to change this and customize your procmail configuration."
[127]16  success "the mail script service" "The directory /mit/$lname/mail_scripts has been created."
18  success "the mail script service" "The directory /mit/$lname/mail_scripts already exists."
Note: See TracBrowser for help on using the repository browser.