免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1038 | 回复: 0
打印 上一主题 下一主题

[Mail] vpopmail Install Instructions [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-07 17:43 |只看该作者 |倒序浏览
vpopmail Install Instructions
Author: clark dot liu [at] howau dot org
Version: 0.40407
1.        check for disksapce
# df
or
# df –k
2.        add groups and users and home directory
# groupadd –g 89 vchkpw
# useradd –g vchkpw –u 89 vpopmail
If you want to place the vpopmail home dir in a different disk partition than the default home dir location try:
# useradd –g vchkpw –u 89 –d /path/to/where/you/want vpopmail
3.        FAST default install
$ su
# ./configure
# make
# make install-strip
If you are making vpopmail for roaming users to be able to relay through your smtp server after the authenticate with pop do:
$ su
# ./configure –enable-roaming-users=y
# make
# make install-strip
configure option recommendations for new sites
--enable-clear-passwd=y (store a clear text copy of users password)
--enable-valias=y (turn on vpopmail alias processing)
--enable-mysql-relication=y
4.        Check your ~vpopmail/etc/tcp.smtp file
5.        Setup crontab for –enable-roaming-users=y
Add a line to roots crontab
$ su
# crontab –e
add a line like the following:
40 * * * * /home-dir-of-vpopmail/bin/clearopensmtp 2>;&1 >; /dev/null
6.        Add a virtual domain
For this example, we will add a domain “infotech-consultant.com”
# cd /home-dir-of-vpopmail/bin
# ./vadddomain infotech-consultant.com
or
# ./vadddomain infotech-consultant.com password-for-postmaster
vadddomain will modify the following qmail files
/var/qmail/control/locals
/var/qmail/control/rcpthosts
/var/qmail/control/morercpthosts (if rcpthosts >; 50 lines)
/var/qmail/control/virtualdomains
/var/qmail/users/assign
/var/qmail/users/cdb
It will also create a domains directory
~vpopmail/domains/infotech-consultant.com
~vpopmail/domains/infotech-consultant.com/postmaster/Maildir
~vpopmail/domains/infotech-consultant.com/vpasswd
~vpopmail/domains/infotech-consultant.com/vpasswd.cdb
If you do not specify a password on the command line, it will prompt for a password for the postmaster.
Then it will send a kill –HUP signal to qmail-send telling it to re-read the control files.
7.        Add a new pop user
You can install qmailadmin and administer your new pop mail system via a web interface. Or you can use the command line interface.
# cd /home-dir-of-vpopmail/bin
# ./vadduser newuser@infotech-consultant.com
or
# ./vadduser newuser@infotech-consultant.com <password-for-newuser>;
In the case where the domain is specified (user@domain.com), the user is added to the ~vpopmail/domains/domain.com directory. If you don’t enter a password on the command line, it will prompt for a password.
8.        Delete a pop user
# cd /home-dir-of-vpopmail/bin
# ./vdeluser newuser@infotech-consultant.com
9.        Delete a virtual domain
# cd /home-dir-of-vpopmail/bin
# ./vdeldomain infotech-consultant.com
10.        Changing a pop users password
# cd /home-dir-of-vpopmail/bin
# ./vpasswd user@infotech-consultant.com
or
# ./vpasswd user@infotech-consultant.com password-for-user@infotech-consultant.com
11.        Information details hiding
12.        How to use vchkpw with qmail-pop3d server
env – PATH=”/var/qmail/bin:/usr/local/bin” \
tcpserver –H –R 0 pop-3 \
/var/qmail/bin/qmail-popup infotech-consultant.com \
/home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
Appendix A: vpopmail Install Instructions
Appendix B: vpopmail Online manual pages
Appendix C: Internet Mail
Appendix D: vpopmail - virtual domains for qmail
Appendix E: TLS + SMTP Auth patch
Appendix F: exim Internet Mailer
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP