Re: Issues with formal and cut?

Bart Schaefer <[email protected]> Wed, 14 May 2014 10:16:18 -0700
Newsgroups gmane.mail.procmail
Message-ID <CABkvzcvSppZwuJvawO11QAECC-4ppix508cqSOw7x-MFkzRoDQ@mail.gmail.com>
On Tue, May 13, 2014 at 10:13 PM, LuKreme <[email protected]> wrote:

>
>     :0c
>       | (formail -b -I"Subject: SMS" \
>         -I"To: ${SMS}" \
>         -I"From: ${LUSER}"; \
>         echo $SMSTEXT) | $SENDMAIL -t
>
> instead of getting the SMS text, I get the whole message. I suspect that
> flags for formail are incorrect, but it’s been so long since I used it.
>


I think you want :0ch so that formail gets only the header from procmail in
the first place.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
[email protected]
http://mailman.rwth-aachen.de/mailman/listinfo/procmail