procmail
[Top] [All Lists]

RE: $DEFAULT

2001-12-25 02:10:29



On Tue, 25 Dec 2001, Steve Sykes wrote:

Ok, then I will ask another question,  with this recipe:

:0:
* ? test -f ${MYEMAIL} && (${FORMAIL} -zxTo: -zxCc: | fgrep -i -f
${MYEMAIL})

Which I believe is testing for my email address ${MYEMAIL}.  If it passes
the test how do I get it to forward to user(_at_)some(_dot_)system, and if it 
fails
goes to the next recipe?

 :0:
 * ? test -f ${MYEMAIL} && (${FORMAIL} -zxTo: -zxCc: | fgrep -i -f
 ${MYEMAIL})
 ! user(_at_)some(_dot_)system


This looks like a recipe out of Catherine A. Hampton's Spam bouncer. She
comments it as:
"# Sort out mail that really is to you from mail Bcc'd to you, or mail
# which doesn't have any of your email addresses on the To: or Cc: line.
# For this to work properly, you must create a text file named .myemail
# in your home directory and enter all email addresses that belong to
# you in it, one per line, just as you do with your .nobounce file."  

I can't quite see the part about how Bcc is discerned in the above
recipe. 

Thanks,

--Paul

--


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>