[imp] .forward
Tim Gorter
email@teletechnics.com
Tue, 27 Mar 2001 21:00:05 +1200
Hello Andreas,
> > Has anybody written a patch or module for IMP 2.2.4 that will place a
> > forwarding address in the home directory of a user.
>
> Yes I did! And I thing it depends on your server structure. I had to write a
> wrapper, which can change the UID to any user of the system and copy the
> .forward file from an IMPwritten file (owned by apachedaemon) to the user home
> directory. This is necessary because in home directory only the user has access
> to write (at our server). Also root and apachedaemon aren't allowed to write
> this file.
>
> > ie. a field in preferences, where when an email address is entered, it
> will
> > write a .forward file into the home user directory, which on unix (or unix
> > alike) systems will then forward all email automatically.
> If you provide to add adresses to .forward I think you also have to provide a
> funtion to remove, view and edit entries.
>
> If you want, I can give you the sourcecode of the wrapper.
> CU Andreas Rohr
Yes, I would be very interested, if you could email, or post it at a ftp site
so I can download it, it would be much appreciated.
cheers,
tim.
---------------------------------------------------
Teletechnics Afield
Tel +44 (0)7785 977 087 or +64 (0)21 660 508
Fax +44 (0)20 7 681 1178 or +64 (0)9 353 1321
email@teletechnics.com http://www.teletechnics.com
or page my phone (via email) at pager@teletechnics.com
currently in: Skopje, Macedonia