procmail
[Top] [All Lists]

Re: Changing subject

2000-10-06 14:09:25
Grzegorz Jaskiewicz wrote:
How to send mail to another box, change the subject ansend only mails below 
lets say 140 bytes?
is this one is corect?

Not quite.

:0 c *<140 SUBJECT= | echo "newsubject"  | 
!new(_at_)email(_dot_)somewhere(_dot_)in(_dot_)galaxy(_dot_)wrl

How about:

  :0c
  * < 140
  {
     :0 fhw
     | formail "-iSubject: newsubject"

     :0
     ! new(_at_)email(_dot_)somewhere(_dot_)in(_dot_)galaxy(_dot_)wrl
  }

-- 
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.  Sorry.
Collin Park                         Not a statement of my employer.

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