Walter,
Yes, absolutely:
In ~cad/.procmailrc
:0fw
^ To: hit at this.filter
| /path/to/script
The f will consider the pipe as a filter. The w will wait for the
return. Have a look at the procmailrc man page for all the different
options.
Regards,
cian
Walter Faleiro wrote:
> Hi,
>> Is there a way to execute steps based on the email.
> We are trying to have some scripts executed based on the email header.
> For example, a user cad on the system host1.domain.com gets an email,
> andthe filter on mail header would either fire a new script or take
> some other
> actions.
>> Thanks,
> --Walter
>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!