Re: [Exim] exim robots

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Vadim Vygonets
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] exim robots
Quoth andrew on Mon, Nov 29, 1999:
> I'm new to exim & would appreciate some asist in how to set up a robot
> function.


Why do you call it that?

> For example say i would like any mail sent to
> john@???
> put into a file and have a program /usr/local/bin/do-stuff run against that
> file.


Usually, it's done by making a program to receive mail from stdin
and setting up a pipe transport.  A shell script can do it:
    #!/bin/sh
    cat > /var/mail/john
    /usr/local/bin/do-stuff


Other solutions are possible, but not advised.

Vadik.

-- 
Time is an illusion.  Lunchtime doubly so.
    -- Ford Prefect