Home | History | Annotate | Download | only in conf
      1 #!/bin/sh
      2 
      3 # use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach]
      4 # Don't forget to set the variables 'from' and 'realname' in ~/.muttrc !
      5 
      6 sender="bvanassche (at] acm.org"
      7 recipients="valgrind-developers (at] lists.sourceforge.net"
      8 #recipients="bvanassche (at] acm.org"
      9 if [ $# -ge 3 ]; then
     10   gzip -9 <"$3" >"$3.gz"
     11   mutt -s "$1" -a "$3.gz" ${recipients} < "$2"
     12   rm -f "$3.gz"
     13 else
     14   mutt -s "$1" ${recipients} < "$2"
     15 fi
     16