php-src/ext/vpopmail
2001-01-19 13:43:41 +00:00
..
config.m4 vpopmail's bin dir is unnecessary as the library exports these functions 2001-01-14 22:21:16 +00:00
CREDITS updated 2001-01-14 16:47:56 +00:00
EXPERIMENTAL Added some missing EXPERIMENTAL files plus some missing extensions 2001-01-19 13:43:41 +00:00
Makefile.in vpopmail extension 2001-01-14 08:54:01 +00:00
php_vpopmail.c restored vadddomain/vdeldomain to use library functions rather than invoking 2001-01-15 02:14:13 +00:00
php_vpopmail.h restored vadddomain/vdeldomain to use library functions rather than invoking 2001-01-15 02:14:13 +00:00
README #added simple minimum survival readme 2001-01-14 17:38:30 +00:00

Minimum Survial Readme

1) select a uid and gid apache to run under
   or if this is already fixed take it into account

2) install vpopmail with EXACTLY the same uid gid
   in case you already have installed vpopmail
   you have two choices - to change apache's 
   uid/gid but be careful - this may break some 
   existing scripts or worse your server's security

   changing existing vpopmail uid/gid is possible
   but not easy - take these into account:

   #1 - backup your setup!

   stop qmail-send before doing any changes
   else your mail in process may get bounced or 
   deleted or delivered to a default destination or...

   stop pop3/imap remote users - while changing uids
   users cannot check their mail

   you may leave smtp - qmail-inject will take care
   no matter vpopmail setup is broken (if and only
   if you have stopped qmail-send)

   rc.d scrips tcpserver uid/gid may need to be changed

   remember to
       ./configure ....opts....
       make clean all install
   in vpopmail src tree

   after these steps change the uid/gid in
   /var/qmail/users/assign
   compile the assign file. the dummies way is to
   vadddomain mydummy.domain aaaa
   vdeldomain mydummy.domain

   suid root vadddomain, vdeldomain and vaddaliasdomain
       cd ~vpopmail/bin
       chown 0.0 vadddomain vdeldomain vaddaliasdomain
       chmod +s vadddomain vdeldomain vaddaliasdomain
   beware these programs may be exploitable and if
   neccessary chmod 700 ~vpopmail/bin

   run qmail-send (/bin/csh -cf '/var/qmail/rc &')
   run pop3 tcpserver or what you are using

   verify your setup

3) check that vpopmail support is compiled into apache
   throug a simple phpinfo. there some more info helpful
   for debugging will appear

4) happy vpopmail-ing :-)

your comments, fixes and stuff are welcome
Boian Bonev <boian@bonev.com>

$Id$