Hi,
I want to start a ppp connection on a remote machine when
a mail arrives. So this is what I've figured out:
:0
* ^TOtest
{
:0 w
| /usr/freeware/bin/ssh -T root(_at_)[remote machine] /usr/sbin/ppp
-foreground alarm
:0
!jappe(_at_)${DOMAIN}
}
The machine running procmail is a IRIX 6.5 machine and the remote
machine is a OpenBSD 2.8.
The users which runs procmail has an empty passphrase and when
I execute the above command on the command line the connection is
made. But when I let procmail execute the command the ssh connection
is made but it seems that there isn't enought time to execute ppp
corectly because the modem blinks and the connection ends. I thought
the 'w' option ensured that the exernal program is finished before
continuing?
Does anybody know what I'm doing wrong?
Thanks in advance,
Jappe
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail