procmail
[Top] [All Lists]

Re: Suppressing processing of UU/BASE64 encoded attachments

1998-07-21 18:07:24
On Tue, 21 Jul 1998, era eriksson wrote:

Whoops, that was a tangled explanation. How about this example
instead: 

    # Subsequent scans will operate on a copy with attachments removed
    :0Fwb
    | remove-all-attachments

    # Calculate scores on copy without attacments
    :0B
    * -5^0
    *  1^1 \!!!
    output
    # Actually writes out the message the way it was before 
    #  the F recipe

Comments?

That would certainly be more flexible then simply ignoring the encoded
portions of the body.

I think you'd want to be more explicit about the context switching,
though.

So there would be four possible modes:

1) match original message, process/deliver original message

2) match forked message, process/deliver original message

3) match original message, process/deliver forked message

4) match forked message, process/deliver forked message

Plus "fork original message", "replace original message with forked
message", and "discard forked message" commands/options.

Yet more comments?

--
 John Hardin KA7OHZ                               
jhardin(_at_)wolfenet(_dot_)com
 pgpk -a finger://gonzo.wolfenet.com/jhardin    PGP key ID: 0x41EA94F5
 PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
-----------------------------------------------------------------------
  Your mouse has moved. Windows NT must be restarted for the change
  to take effect. Reboot now?  [ OK ]
-----------------------------------------------------------------------
   96 days until Daylight Savings Time ends