Michael Meltzer wrote:

> A user should change or create his vacation message text via perl cgi.
> Does someone know about such a script ?
> How can the user edit/change text ?
> Where should I search/start ?
> 
> We use apache, sendmail, procmail.

If you have procmail set up to do your vacation msg, you could just
modify ${HOME}/.vacation.msg by a simple open, write and close in the
CGI script.  You would need to have write access of course.  In some
cases, it would be in ${HOME}/.forward file instead - depending on how
it's set up.  File locking could also be a consideration.

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to