procmail
[Top] [All Lists]

Re: detecting missing "From:", spam

2005-07-25 14:47:26
Lloyd Standish:

Isn't it true that any command line invocation of
procmail to deliver mail will automatically insert a "From:" header?

There is a From_ line and there is a From: header field. The From_ line,
holding part of the envelope-data, is prepended to the message, as is a
Received: header field, when it is put in the mail spool. The From_ is
turned into a Return-Path: header field on delivery. (Maybe that is not
an accurate description.)

A command line invocation of procmail does not change the message. The
only temporary change that occurs is the unfolding of header fields, but
that is just a practical and virtual change.


To fight spam I have to
rely on what I an do with procmail and other tools like perl.

I use procmail + formail + sed + gzip. Just that, so no echo or grep or
anything else.
I let gzip archive the message before I let procmail be clever.


There is also a
special whitelist that uses egrep to match on domain names, so I can
whitelist an entire domain.

I do that with sed.


My system sends out a "challenge" email in response to every rejected
email, and rejected mails are sent to /dev/null.

How do you know where to send it to? Many messages have faked addresses,
sending messages to those would make one part of the problem.

-- 
Grtz, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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