[sork] Re: [imp] Problem using vacation module
Patrick Atlas
patrick.atlas at mg-france.fr
Wed Jul 16 00:47:07 PDT 2003
Thanks Eric for these very instructive tips concerning vacation (and forward
BTW).
I think the 4) and the 5) are more interesting. I will say you if we find a
way to fix the problem.
Patrick Atlas
----- Original Message -----
From: "Eric Rostetter" <eric.rostetter at physics.utexas.edu>
To: <imp at lists.horde.org>
Cc: <sork at lists.horde.org>
Sent: Tuesday, July 15, 2003 9:52 PM
Subject: [sork] Re: [imp] Problem using vacation module
> Quoting Patrick Atlas <patrick.atlas at mg-france.fr>:
>
> > This module is using ftp to save the file .vacation.msg
>
> Correct. It can use other methods, but I'm not sure that would help.
>
> > But our ftp server is configured to chroot /home/user/www directory
because,
> > it's where we want the users to save their html files for their website.
>
> Well, that's going to be a problem then ;)
>
> > Then .vacation.msg is saved in the /home/user/www directory.
> > So vacation could not use it because it is searching it in the
/home/user
> > directory.
>
> Sounds reasonable.
>
> > Can we find a way to save the .vacation.msg file in the right
directory??
>
> Well, there are some not so desirable options:
>
> 1) Un-chroot your ftp server. Set the login to /home/user/www, but allow
them
> to cd back a level. Modify vacation to set the directory when
connecting.
> 2) Un-chroot your ftp server, make /home/user the default location,
educate the
> users...
> 3) Create a symlink from /home/user/.vacation* and /home/user/.forward to
> /home/user/www and see if (or configure) your programs to follow
symlinks.
>
> 4) Modify your vacation program to look in /home/user/www (but what about
> .forward? I think you can modify where sendmail looks also, etc).
>
> 5) Run a second ftp server on loopback on another port that isn't
chrooted,
> and only allow the web server to connect to it, and configure vacation
> module to use that address/port.
More information about the sork
mailing list