majordomo邮件列表快速安装指南
来源:互联网 发布:C tensorflow 编辑:程序博客网 时间:2024/05/22 06:52
Step 1:
rpm -i majordomo-1.94.4-6.i386.rpm
(注意RedHat5.2内附的perl5.004m4版有问题,要更新至5.005版)执行完后/usr/lib/majordomo/为主程序所在目录.
/var/lib/majordomo/为mailing list 资料所在目录.
并且会产生majordomo这user及group
Step 2.
修改 /etc/majordomo.cf
$homedir = /usr/lib/majordomo/
$whereami = your FQDN
Step 3.
/etc/majordomo.aliases 档内容大致如下:
majordomo: "|/usr/lib/majordomo/wrapper majordomo"
owner-majordomo: majordomo-owner
majordomo-owner: root
test-list-approval: test-list-owner
owner-test-list: test-list-owner
test-list-owner: root
owner-test-list-archive: test-list-owner
test-list: "|/usr/lib/majordomo/wrapper resend
-A -a /var/lib/majordomo/lists/test-list.passwd
-l test-list
-h linpus test-list-announce"
test-list-announce: :include:/var/lib/majordomo/lists/test-list,
"| /usr/lib/majordomo/wrapper archive2.pl -a -m -f
/var/lib/majordomo/archives/test-list"
(resend是用来分析那些寄过来的文章,并作处理.
-A 表示此list为moderated list ,即任何寄到此list的文章都必须经过test-list-owner的approve才会流到各订阅此list的信箱中.
-a filename 该文件记录moderator approve此信件password
-h hostname 为此mailing list server的hostname
-l listname 此list的名字
archive2.pl是把所有收到的信件存在/var/lib/majordomo/archives/listname里
Step 4:
加入 "OA/etc/majordomo.aliases" 于 /etc/sendmail.cf
Step 5:
执行newaliases
(若sendmail.cf设为O AutoRebuildAliases则不必做此步骤)
Step 6:
将 "majordomo" 加入sendmail.cf的 Trusted users list,如下:
#####################
# Trusted users #
#####################
# this is equivalent to setting class "t"
#Ft/etc/sendmail.ct
Troot
Tdaemon
Tuucp
Tmajordomo
Tnobody
Step 7:
Create a test-list (假设要建立的新mailing list 为test-list)
touch /var/lib/majordomo/lists/test-list
chown majordomo.majordomo /var/lib/majordomo/lists/test-list
Step 8:
在/var/lib/majordomo/lists/test-list.info档里写些关于此mailing list的一些说明
其它:/var/lib/majordomo/lists/test-list文件是记录哪些email addr订阅此list.test-list.config为此list的configuration files,会自动产生.若要关于此list,只须产生对于的listname.close于lists目录下即可.若要自动使欲订阅者成功订阅而不必回复身份确认信,则只须产生listname.auto即可
Step 9:
Any article post to this mailing list must be approved by the owner of the list. The owner of the list can approve the article by resend it to the list, and add "Approved: password-of-approval" at the beginning of the message body.
Step 10:
为了测试majordomo是否成功运转,输入
echo /'lists/'|mail majordomo
若寄回来的是majordomo发出的信则成功,若是mail daemon return
的信则是错误。
Step 11:
可能的错误,"sh: wrapper not available for sendmail programs"
你的系统使用了 smrsh (sendmail restricted shell). 你必须要使smrsh让你使用这个wrapper,可能的解法是ln -s /the/path/of/your/wrapper
/var/adm/sm.bin
相关链接:
Quota限制磁盘空间基本技术 http://club.sob8.com/read-htm-tid-40450.html
rpm -i majordomo-1.94.4-6.i386.rpm
(注意RedHat5.2内附的perl5.004m4版有问题,要更新至5.005版)执行完后/usr/lib/majordomo/为主程序所在目录.
/var/lib/majordomo/为mailing list 资料所在目录.
并且会产生majordomo这user及group
Step 2.
修改 /etc/majordomo.cf
$homedir = /usr/lib/majordomo/
$whereami = your FQDN
Step 3.
/etc/majordomo.aliases 档内容大致如下:
majordomo: "|/usr/lib/majordomo/wrapper majordomo"
owner-majordomo: majordomo-owner
majordomo-owner: root
test-list-approval: test-list-owner
owner-test-list: test-list-owner
test-list-owner: root
owner-test-list-archive: test-list-owner
test-list: "|/usr/lib/majordomo/wrapper resend
-A -a /var/lib/majordomo/lists/test-list.passwd
-l test-list
-h linpus test-list-announce"
test-list-announce: :include:/var/lib/majordomo/lists/test-list,
"| /usr/lib/majordomo/wrapper archive2.pl -a -m -f
/var/lib/majordomo/archives/test-list"
(resend是用来分析那些寄过来的文章,并作处理.
-A 表示此list为moderated list ,即任何寄到此list的文章都必须经过test-list-owner的approve才会流到各订阅此list的信箱中.
-a filename 该文件记录moderator approve此信件password
-h hostname 为此mailing list server的hostname
-l listname 此list的名字
archive2.pl是把所有收到的信件存在/var/lib/majordomo/archives/listname里
Step 4:
加入 "OA/etc/majordomo.aliases" 于 /etc/sendmail.cf
Step 5:
执行newaliases
(若sendmail.cf设为O AutoRebuildAliases则不必做此步骤)
Step 6:
将 "majordomo" 加入sendmail.cf的 Trusted users list,如下:
#####################
# Trusted users #
#####################
# this is equivalent to setting class "t"
#Ft/etc/sendmail.ct
Troot
Tdaemon
Tuucp
Tmajordomo
Tnobody
Step 7:
Create a test-list (假设要建立的新mailing list 为test-list)
touch /var/lib/majordomo/lists/test-list
chown majordomo.majordomo /var/lib/majordomo/lists/test-list
Step 8:
在/var/lib/majordomo/lists/test-list.info档里写些关于此mailing list的一些说明
其它:/var/lib/majordomo/lists/test-list文件是记录哪些email addr订阅此list.test-list.config为此list的configuration files,会自动产生.若要关于此list,只须产生对于的listname.close于lists目录下即可.若要自动使欲订阅者成功订阅而不必回复身份确认信,则只须产生listname.auto即可
Step 9:
Any article post to this mailing list must be approved by the owner of the list. The owner of the list can approve the article by resend it to the list, and add "Approved: password-of-approval" at the beginning of the message body.
Step 10:
为了测试majordomo是否成功运转,输入
echo /'lists/'|mail majordomo
若寄回来的是majordomo发出的信则成功,若是mail daemon return
的信则是错误。
Step 11:
可能的错误,"sh: wrapper not available for sendmail programs"
你的系统使用了 smrsh (sendmail restricted shell). 你必须要使smrsh让你使用这个wrapper,可能的解法是ln -s /the/path/of/your/wrapper
/var/adm/sm.bin
相关链接:
Quota限制磁盘空间基本技术 http://club.sob8.com/read-htm-tid-40450.html
- majordomo邮件列表快速安装指南
- Sendmail邮件服务器快速指南
- 快速安装Openstack指南
- Hust快速安装指南
- oVirt快速安装指南
- [ZT]postfix邮件服务器快速指南(4)
- [ZT]postfix邮件服务器快速指南(3)
- Nigix搭建安装快速指南
- Redis安装的快速指南
- MongoDB安装配置快速指南
- TP-LINK快速安装指南
- 邮件列表
- 邮件列表
- [记]Majordomo V1.4
- Gentoo Linux x86快速安装指南
- Gentoo Linux x86快速安装指南
- Ubuntu12.04安装Django1.5快速指南
- OpenStack Folsom 双网卡快速安装指南
- Linux下面光盘刻录
- TOAD中文文档
- Linux环境下无盘工作站的架设和实现
- Ubuntu6.10的界面美化
- Quota限制磁盘空间基本技术
- majordomo邮件列表快速安装指南
- 根据用户输入的大小来输出一个空心菱形
- 在Linux上建立PostgreSQL数据库服务器
- Linux下IP巧设置
- RedHat环境下使用日志式文件系统ReiserFS
- 如何安装Cyrus IMAP服务器
- C/C++代码整理源代码
- 照片:Majoy是什么东西?
- 木马克星――Trojan Ender正式国际版 2.0.0