Hi! On 07-Jan-2002 Abu @ Trabas Dot Com wrote: > i want apache run installsieve/sieveshell with exec command, example: > exec('installsieve -u user@domain -i file -a file server'); > > -> how to supply password if apache has no password or know password. > the password fill from prompt shell?
I think sieveshell would work, if you opened a pipe to it, and wrote the password, then the commands to it. The other way (example): 1. create a temp file, like /tmp/example1 that contains thepasswordhere list 2. use the command: cat /tmp/example1 | sieveshell -u usernamehere 127.0.0.1 And voila! The first approach might be more secure. | Noll Janos <[EMAIL PROTECTED]> | http://www.johnzero.hu | | "Expect the unexpected!" | ICQ# 4547866 | Linux rulez! |