Re: Issues with formal and cut?

LuKreme <[email protected]> Sat, 17 May 2014 21:50:25 -0600
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
On 15 May 2014, at 01:22 , Udi <[email protected]> wrote:
> On 14/05/14 20:16, Bart Schaefer wrote:
>> 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. 
> 
> No need for  f   flag?
> 
> And  LuKreme,  what are you doing with the copy?   Is it possible that you
> get output from another module in your rc file?

Hmm. I have not noticed duplicate emails.

However, my procmail skills have seriously atrophied over the years. I have very complicated recipes that have been running unattended for many years. Unattended means I haven’t looked at them and in some cases am not sure why I did what I did.

My recollection is that a copy that enters a pipe is considered delivered UNLESS there is a f flag.


-- 
I gotta straighten my face This mellow-thighed chick just put my spine
out of place