procmail
[Top] [All Lists]

simple questions

1998-12-09 13:04:14
hello other procmail users

i'm a beginner procmail user and have a couple of questions.
this is from my rc.spam file:

 # These people are to be deleted offhand
 :0:
 *^Received:.*asahi|^Received.*bitstream.com
 | ${FORMAIL} -rkf \
 -I "X-Mailer: Spam Complaint"\
 -I "From: Peter Jay Salzman"\
 -i "Subject: Your message has been deleted"\
 | $SENDMAIL -t -oi

1- this recipe will probably grow quite large.  is there a way to hold
   known spammers in a separate file?  does someone have a file like this?

2- is there a way of writing something like "an email from <FOO(_at_)BAR> was
      deleted off hand" when this recipe gets run?

3- most likely the reply will go to a bogus address.  is there a way of of
      cc'ing it to:
            1- the postmaster of the host listed in From:
            2- the postmaster of the host listed in the first Received:
                 (which is probably the right person to send it to).


 # legitimate mail, we'll leave a back door open.  Any email with a subject
 # of "spam error" will be accepted.  also, we want to keep any email that
 # originates from ucd.
 :0:
 * ^Subject.*spam error|^From.*ucdavis
 $DEFAULT


4- would the prefered way of expressing this be

   * ^(Subject.*spam error | ^From.*ucdavis)

   is there a prefered way of expressing this?


much thanks.  if anyone has some really neat spam filters, i'd love to see
what other people are doing with this wonderful program.

pete


--
Check out my homepage: http://landau.ucdavis.edu/psalzman/index.html
-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-
Do you hate spam? Join the Coalition Against Unsolicited Commercial Email
(CAUCE) at http://www.cauce.org. Actions speak louder than words. Join Today!

     I BOYCOTT ANY COMPANY THAT USES MASS ADVERTISING ON THE INTERNET

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