procmail
[Top] [All Lists]

Re: [SOLVED] Re: Filter does not work

2004-10-04 10:00:54
On Mon, Oct 04, 2004 at 02:54:53PM +0200, Michelle Konzack wrote:

Am 2004-10-04 11:39:08, schrieb Dallman Ross:

On Mon, Oct 04, 2004 at 03:33:05AM +0200, Michelle Konzack wrote:
CLEANFROM=`formail -xFrom: |sed -e "s/^.*[ a-zäöüß0-9A-ZÄÖÜ()._-]<//" -e 
"s/>\ .*[ a-zäöüß0-9A-ZÄÖÜ()._-]$//" -e "s/>$//"`

Good.  Now maybe you can tell us what the point of that is?

I like only the sending E-Mail address...

I understood that.

Hint: I would suggest perhaps

  CLEANFROM = `formail -IReply-To: -fzrx To:`

And this give me only the E-Mail ?  :-/

I will try it... Hmmm

Your version does not catch a singel Blacklisted Message of the 11.000

My "version" does exactly what your sed crud does, I believe.  My point
was that you had a bunch of complicated sed stuff that is pointless. 
Catching blacklisted messages is the job of the part of your syntax
that is not quoted.  If nothing was caught, I dought it has to do
with the difference between your CLEANFROM and mine, which I take
to be none.

(Personally, I don't even use formail to get the same information, but
have a procmail-only solution that's been in place for two years now in
my rc.)

-- 
dman

____________________________________________________________
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>