Hi Michelle,
* Michelle schrieb am 09 Jan 2005:
Am 2005-01-08 10:43:57, schrieb Fabian Braennstroem:
Hi
Thanks! I will use it for the TOFU stuff; but does anybody
know anything about changing the From-Header and Subject?
formail ?
Thanks! I just found a nice example to change the subject
which looks like this:
:0hw
SUBJECT=|formail -xSubject: | sed -e 's/\[[a-zA-Z0-9:_\. -]*\] //gi'
:0 fhw
| formail -i "Subject:$SUBJECT"
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'
:0 fhw
| formail -i "Subject:$SUBJECT"
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.
Is there somewhere a nice page with some 'formail'-examples?
Best Greetings!
--
Fabian Braennstroem
Duesseldorf/Berlin
____________________________________________________________
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