5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How do I append the o...
FromSent OnAttachments
Doc WalkerFeb 16, 2005 7:58 pm 
Thorsten HaudeFeb 16, 2005 10:52 pm 
Ron JohnsonFeb 17, 2005 5:40 am 
Doc WalkerFeb 17, 2005 7:34 am 
Doc WalkerFeb 17, 2005 7:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] How do I append the output from a shell command to the end of a messageActions...
From:Ron Johnson (ron.@cox.net)
Date:Feb 17, 2005 5:40:38 am
List:net.sourceforge.lists.courier-maildrop

On Wed, 2005-02-16 at 21:58 -0600, Doc Walker wrote:

What would be the sequence of commands in a .mailfilter to append output from a shell command to a particular message?

This replaces my message with the result of uptime:

if ( /^Subject: uptime/ ) { xfilter '/usr/bin/uptime' to "$DEFAULT" }

How do I append the result?

You want to append *your* uptime to *incoming* email?

"World peace, like community peace, does not require that each man love his neighbor -- it requires only that they live together with mutual tolerance, submitting their disputes to a just and peaceful settlement." John F Kennedy