procmail
[Top] [All Lists]

Re: remove text from body and change subject and author

2005-01-10 07:52:56
Am 2005-01-09 14:12:30, schrieb Fabian Braennstroem:
Hi Michelle,

This works fine, but I have no clue about 'sed' so removing
'OpenFoam: Running / Solving / CFD:' doesn't work with the
following:

    :0hw
    SUBJECT=|formail -xSubject: | sed -e 's OpenFoam: Running / Solving / 
CFD: //gi'

This:

SUBJECT=|formail -xSubject: | sed -e 's,OpenFoam:\ Running\ /\ Solving\ /\ 
CFD:\ ,,gi'

should work.

I assume to change the 'From'-header I have to do it
similar; probably query the body for the name will be a
problem with formail. 

It depends...

Is there somewhere a nice page with some 'formail'-examples?

Best Greetings!

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

____________________________________________________________
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