# # sllusub # # This is a sample batch file to call your mail program. You will # need to modify this to work properly with your mail system, or the # unsubscribe feature of sll will not work. # # The following parameters are expected: # $1 is the address to which the subscription cancelation is to be sent # $2 is the official name of the list # # The idea is to send mail to the subscription address with the # subject line reading "SIGNOFF list-name" and the same thing in the body # of the message. In most cases, the subscription cancelation will # work if either the subject line or the body contains the subscription # cancelation request, but we put it in both places in this example. echo To: $1 >~/.slltemp echo Subject: SIGNOFF $2 >>~/.slltemp echo >>~/.slltemp echo SIGNOFF $2 >>~/.slltemp cat ~/.slltemp | /usr/lib/sendmail -t rm ~/.slltemp