procmail
[Top] [All Lists]

Re: Piping Mail to a PERL Script

1997-08-21 01:25:25
On Thu, 21 Aug 1997 00:19:12 +0100,
Ian Chilton <mailinglist(_at_)chiltons(_dot_)u-net(_dot_)com> wrote:
normally put a line like this in the /etc/aliases file:
info:                root, "|/usr/local/bin/mailbot.pl /mailbot/info.txt"
However, I am using Procmail for mail filtering, so is it possible to do a 
similar sort of thing in a Procmail recipe, i.e. pipe the message through 
the perl script mailbot.pl using /mailbot/info.txt as an argument.

:0
* conditions, if any
| /usr/local/bin/mailbot.pl /mailbot/info.txt

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

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