Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7389472
  • 博文数量: 1755
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16227
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1755)

文章存档

2024年(1)

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: LINUX

2010-08-24 15:18:25

朋友这前些天让我把AutoMiniMail升级一下,加下修改密码和自动回复功能,搞好了好几天了,终于搞定了,新版本可能过两天就发布!
 
需要的软件如下:
squirrelmail-1.4.20
vacation-1.2.6
插件如下:
change_passwd-3.1-1.2.8
compatibility-2.0.16-1.0
local_autorespond_forward-3.0-1.4.0
 
除vacation都可以从下载
rpm -ivh vacation-1.2.6-1.centos.i386.rpm
源码:
 
 
以为这里安装目录/var/www/html/mail为例
/var/www/html/mail/plugins到这个目录下载插件,解压,然后把config.php.sample修改为config.php
 
change_passwd中的chpasswd要能suid  chmod 4750 chpasswd
compatibility要修改functions.php,,把如下代码的注释去掉
/*  
 if ( strpos(getcwd(), 'plugins') )
   {
      if (file_exists($compatibility_sm_path . 'include/validate.php'))
         include_once($compatibility_sm_path . 'include/validate.php');
      else if (file_exists($compatibility_sm_path . 'src/validate.php'))
         include_once($compatibility_sm_path . 'src/validate.php');
   }

   include_once($compatibility_sm_path . 'functions/strings.php');

   if (file_exists($compatibility_sm_path . 'functions/global.php'))
      include_once($compatibility_sm_path . 'functions/global.php');
   else if (file_exists($compatibility_sm_path . 'src/global.php'))
      include_once($compatibility_sm_path . 'src/global.php');
*/
 
local_autorespond_forward中修改config.php文件,,开启suid,不要用FTP,,要不然就会出如下错误 Options - Autoresponder / Mail Forwarding
 
Error: Unable to connect to FTP server. Please try again later
虽然只有两个插件,,结果搞好我好几天,google出来的东西又太乱了,所以总结一下,希望可以用得到
 
 
阅读(2106) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-08-27 11:18:45

Download More than 1000 free IT eBooks: http://free-ebooks.appspot.com