[imp] Autoreply/Forward Code
Rob Wiltbank
chade at hopi.dtcc.edu
Mon Aug 11 05:57:34 PDT 2003
Greetings folks. Below is a contribution to the project to enable email
forwarding and autoreplying for IMAP servers that do not, by default,
support these features.
Here's how we are configured:
* IMP runs on a linux machine that uses a .forward file for forward emails
and supports user procmail files.
* ftp is enabled (for localhost sessions only).
* Our authentication scheme is kinda freaky, but, in short, we allow the
user to authenticate if their IMAP passwords -or- their shell passwords
are correct. As long as the user has a shell account and their
username/pass is the same for their email, this code should work.
How it works:
Using PHP's 4.2.3 ftp functions, we check the user shell account for the
existing .forward or .procmail.webamil files to see if either are enabled.
If not, it allows users to create one or the other.
Other Notes:
Looking at the few pre-existing projects out there, the majority of the
code was no longer functional due to updates to Horde or IMP that made
several of the functions obsolete. In this respect, I tried to create the
code to be as independant as possible from Horde/IMP to allow it to
function as long as possible.
Any feedback or suggestions are gladly welcomed as this is my first
journey into attempting to integrate anything into the Horde project.
http://www.dtcc.edu/cs/pub/horde
auto.php and auto.procmail -- installation instructions included in the
php file along with heavy commentation.
Rob W.
--
*******************************************************************
* Rob Wiltbank * Delaware Technical & Community College *
* Application Specialist * Computer Services Department *
* chade at hopi.dtcc.edu * Wilmington Campus *
* * Lackey @ Large *
*******************************************************************
More information about the imp
mailing list