On Tue 15 Sep, Alexander Langer wrote:
Hi!
How can I print (and copy locally, too) incoming messaes that match
* ^To: (_dot_)*foobar(_at_)domain(_dot_)com
in the Form, that the printed messages are so:
From: Sender-Address:
Subject: Subject
To: foobar...
Body here
===
As a start you might try something like the following....it doesn't
manage to print the body (how _do_ you do that?) and it won't handle
messages that have any attachments or uuencoded stuff etc. etc.
:0
* ^TOfoobar(_at_)domain(_dot_)com
{
:0wc
*
| formail -X From: -X Subject: -X To: | lpr -PPrinterName
:0:
*
local_folder
}
I'm quite clueless :-)
As am I at procmail configuration, but I'm slowly getting the knack.
John.
--
John Beranek, Software Engineer, Information Appliances Division,
Acorn Computers Limited. Web site: http://www.acorn.com/
Homepage: http://www.acorn.com/~jberanek/
Tel: +44 1223 725211 Fax: +44 1223 725311