procmail
[Top] [All Lists]

RE: FW: Truncate an email modify the subject line and then forward the truncated email

2003-06-13 12:00:58
Dallman Ross wrote:

      :0
      * > 4000
      | formail -I "Subject: $PREFIX $SUBJ" | head -110 | \
        $SENDMAIL $SENDMAILFLAGS your(_at_)recipient

I forgot that you wanted to dispense with the Content-Length: header.

Okay,
        | formail -I Content-Length: \
                  -I "Subject: $PREFIX $SUBJ" \
      | head -110 | $SENDMAIL $SENDMAILFLAGS your(_at_)recipient

-- 
dman


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