procmail
[Top] [All Lists]

user list

1999-07-11 22:09:41
Sorry, I combined the wrong recipes that I was playing with

Should be :


# Mail to mytest if from staff
:0 i
# Line below prevents loops
* !^From.*mytest
* !^FROM_DAEMON
* ^TO.*mytest
* ^FROM.*staff
| formail -I"To: IHS2000 Users:;" \
                -I"Bcc: mylist(_at_)ihs2000(_dot_)com" \
                | $SENDMAIL $SENDMAILFLAGS -t

# No mail to mytest not from staff
:0 i
# Line below prevents loops
* !^From.*mytest
* !^FROM_DAEMON
* ^TO.*mytest
| (formail -r -t ; cat /usr/home/mailbot/nopass.message) | $SENDMAIL -oi -t

http://www.ihs2000.com
mailto:hensj(_at_)ihs2000(_dot_)com

Henry Smith


System Administrator




<Prev in Thread] Current Thread [Next in Thread>
  • user list, Henry Smith, Jr <=