On Tue, Jun 04, 2002 at 12:57:50AM -0700, AE Roy wrote: > I know that this is kind of off-topic, but I'm asking you folks anyway > because I'm sure you've experienced the same as me. > > I keep getting mail, spam-mail about 40 each day, and I don't know how to > get procmail to handle them. They all have a To:-filed containing some > other address than mine, e.g > To: "`" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > To: <[EMAIL PROTECTED]> > > Especially I get alot of those with a mail address inside <>, how do I get > procmail to handle this.
A mail address inside angle brackets is a standard e-mail address format. The procmail filter at http://spastic.sourceforge.net handles the problem of getting e-mail not addressed to you through an "allowed" file. You just list valid addresses (or regexps) that can be in the To: or Cc: header in a file. All others are marked as spam and dumped into a spam file that you can review later. It has many other filters you can use for other headers, the body, valid domains, etc. Best Regards, Keith -- LPIC-2, MCSE, N+ Got spam? Get spastic http://spastic.sourceforge.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]