[ILUG] Procmail Help Needed

Cian Davis davisc at skynet.ie
Mon Feb 4 08:38:50 GMT 2008


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
>   




More information about the ILUG mailing list