procmail
[Top] [All Lists]

Re: SMS and Trimming emails

2004-07-17 10:54:47
On Fri, 16 Jul 2004 22:35:08 -0500, David W. Tamkin 
<dattier(_at_)panix(_dot_)com> wrote:
Kreme wrote:
:0c
* ! ^FROM_DAEMON
{
      # Process only the body, wait for the filter
      :0bfw
       | grep -v "^>" |  head -c 200

       # Send the copy to the phone and my gmail account for verification
       :0
       ! $SMS, gkreme(_at_)gmail(_dot_)com
}

There's no `i' flag on your filter -- maybe it failed with a write error
because head doesn't take the full input (though grep does, so I
wouldn't expect that, but it's the only thing I can think of), and with
`w' procmail recovered the old text.  What does a verbose logfile say?


procmail: Assigning "SMS=MUNGED"
procmail: Match on [first condition]
procmail: Match on [second condition]
procmail: Match on ! [third condition]
procmail: Forking "procmail"
procmail: Assigning "VERBOSE=OFF"
procmail: [1405] Fri Jul 16 21:21:43 2004
procmail: Executing "head,-c,200"
016
procmail: [1405] Fri Jul 16 21:21:43 2004
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi
[munged],gkreme(_at_)gmail(_dot_)com"
procmail: Notified comsat: "kreme@:/usr/sbin/sendmail -oi
[munged],gkreme(_at_)gmail(_dot_)com"

I'm stuck.

By something sharp and pointy?  Don't bleed on the carpet.

too late.  Sorry about that.

-- 
gkreme at gmail or kreme at kreme or syth at mac

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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