[EMAIL PROTECTED] writes:
> Hello, and thanks for your time
> 
> I was wondering if perl can modify from a web page (Form) a
> .vacation message for user or modify ./forward files

If the file permissions allow it, yes.  But that's probably a bad
idea.  Generally the web server, and thus Perl CGI scripts or mod_perl
code, would be running as "nobody" or "www-data" or some other special
user.  This user should not have very good access to modify files, for
security reasions - anyone with an account could then write a CGI
script that would then be able to modify other people's files - bad!

If your web server is running as the user who owns the .vacation or
.forward file in question, then it would not be a problem, of course.
I think there may be ways to configure web servers so that CGI scripts
are run as the user who owns them, which might make this possible.
But that's not a Perl issue, it's a web server config issue.

> Or to just create autoresponders
> my raq 3 has vacation messaging, but it's not that useful
> unix systems have had autoresponders for years
> I thought maybe perl could create autoresponder accounts
> so if I create the account "test" for username 'jblow'
> I can modify a specific file to tell it
> "Add this alies to the domain and let THAT be an autoresponder with x message"
> 
> Or is this beyond perl's capabilities? It's odd how in 2001, a raq 3 only has 
> vacation message but I can only use it for one email per domain. Bleh

I don't know what a raq 3 is, so I can't comment on that.

Again, this isn't really a Perl problem, so much as a problem with
permissions and configurations.  Either your mail server (sendmail,
exim, qmail, or whatever) would need to have a mechanism where
non-privileged users can update mail aliases, or there would need to
be a mechanism like "sudo" which enables normally-non-privileged users
to do privileged things like setting up mail aliases.

--Bill.

-- 
William R Ward            [EMAIL PROTECTED]          http://www.wards.net/~bill/
-----------------------------------------------------------------------------
     If you're not part of the solution, you're part of the precipitate.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to