Re: Procmail

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 07/22/05


Date: Fri, 22 Jul 2005 09:36:52 +0200

In comp.os.linux.networking Jenda Mudron <jendam@ctp.co.za>:
> "Michael Heiming" <michael+USENET@www.heiming.de> wrote in message
> news:hnh6r2-kf7.ln1@news.heiming.de...
>> In comp.os.linux.networking Jenda Mudron <jendam@ctp.co.za>:
>> > "Michael Heiming" <michael+USENET@www.heiming.de> wrote in message
>> > news:3kf6r2-377.ln1@news.heiming.de...
>> >> In comp.os.linux.networking Jenda Mudron <jendam@ctp.co.za>:
>>
>> >> > How do you get Procmail to check for Forged headers before
>> >> > autoreplying the e-mail ?
[..]
>> BTW

>> Would you please, please stop top posting? I know it's not your
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

>> fault but the utter piece of crap you are using as newsreader
>> doesn't know better.
>> Why NOT "top post"? Well, here are some answers:
>>
>> http://www.i-hate-computers.demon.co.uk/
>> http://www.netmeister.org/news/learn2quote2.html
>> http://www.illuminated.co.uk/blog/archives/000409.html
>> http://www.cs.tut.fi/~jkorpela/usenet/brox.html

> Thank I will give it a try, I am new at this and I am trying to understand
> it. Is what I have done bellow correct.

> eg:

> :0
> * ^From:*[0-9]+ FORGED_[reg-ex]
> /dev/null

No you are looking at the "From:" header only, please try 'man
procmailex' on how to go about matching the body of a mail.

In addition [reg-ex] is just a placeholder for some regular
expression you want to put there matching SA "FORGED_..." key
words. You need to look them up, don't know them all off-hand and
it's not my job checking for them for you.

I'd be delighted if you could try something out, perhaps enhance
logging if there are problems and come back with success or the
remaining problems with full error messages so we can have a
look.

The above looks to me as if you hadn't put any work into it and
would be just asking for spoon feeding?

 man -k procmail
procmail (1) - autonomous mail processor
procmailex (5) - procmail rcfile examples
procmailrc (5) - procmail rcfile
procmailsc (5) - procmail weighted scoring technique

Most answers + examples are already on your box, just waiting for
you.

In addition, asked you to please stop top posting, but you seem
to insist on following dump Outcrap defaults. Chances for
help-full answers are better if you comply with the basic rules
of usenet, put your reply *below* the already posted text as
anyone else does, thx.

-- 
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 425: stop bit received