[imp] Writing to user's .forward file from IMP

Alexander Pankov asp@mailmeasap.com
Fri, 20 Jul 2001 00:45:37 +0300


Quoting Christopher Crowley <ccrowley@tulane.edu>:

> I have a user request to write an interface  for IMP that would allow users
> to write to their .forward and .vacation.msg files, and instantiate the
> vacation mail program.

I solve this problem very simply :)
Write small program (in c) which will go to the user's homedir, write this
files (accouding to the std input). Then make this program suid. Then you
can run it from php using popen(progra, "w"); :)

PS: does anyone need my solution 

-- 
Best regards, Alexander Pankov.
 mailto:asp_@mail.ru

--8<--
  This message was sent using Mail Me ASAP service: http://www.mailmeasap.com