procmail
[Top] [All Lists]

Re: Changing subject before delivery..

2000-07-26 11:29:10

Well here I have been trying to figure this out and when I finally break
down and send a message to the mailing list, I find the answer :)

| formail -I "Subject: Custom Subject $somevariable"\
$homedir/.mail

Thanks,

On Wed, 26 Jul 2000, Matt Glaves wrote:


I want to change the subject of certain incoming messages before they are
delivered.  I think formail is the way to go, but it produces messages
which are unreadable by my mail programs (invalid mailspool error).

I was using something along these lines of:

: formail -rt -I "Subject: Custom Subject $SOMEVARIABLE"\
$homedir/.mail

This appears to be how I would do it if I were to be sending the message
out again :)  

Any help would be great!


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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