At 14:54 2001-07-23 +0200, Jappe Reuling wrote:
I want to start a ppp connection on a remote machine when
a mail arrives.
FIRST, what does your VERBOSE logfile say about the recipe?
!jappe(_at_)${DOMAIN}
I think you mean:
!jappe(_at_)$DOMAIN
(you're not expanding inside a shell script)
The users which runs procmail has an empty passphrase
Ooh, that's disturbing.
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.
Your order of events cannot be correct - the ssh connection can't be
established if the ppp connection wasn't complete.
I thought the 'w' option ensured that the exernal program is finished before
continuing?
It should. What do you figure ssh is doing with the input it's receiving
on stdin? perhaps it starts to process it, and says WTF?! and terminates.
You probably want an i flag on the recipe too.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail