我的一亩三分地 我就喜欢!
13fen  设为主页
 收藏本站
 
当前位置: > 一亩三分地:首页 > 操作系统 > Linux > 安装设置 > majordomo邮件列表快速安装指南
热门文章排行
热门文章排行 一步一步的制作arm-linux交叉编译环(12-05)
深入理解硬盘的Linux分区(12-22)
深入浅出定制Linux系统环境变量(12-05)
Linux常用基本命令(二)(10-13)
红旗Linux5.0桌面正式版光盘安装{图(11-15)
精采文章排行
精采文章排行 vi基本技巧(11-16)
Linux历史篇(11-16)
Linux不是Windows(11-16)
第一次进入红旗后,应该做的几件事(11-15)
详解linux与win分区格式(11-15)
技术专题推荐
网管论坛交流
 

majordomo邮件列表快速安装指南 

作者:   来源:Linux 宝库   点击:   日期:2006-11-21


-->

  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
  






文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【论坛讨论

   相关文章:
·轻松安装RedHat9.0 ·怎样安装Oracle9iforHP-UX双机
·安装过windows后如何安装linux ·深入理解硬盘的Linux分区
·在虚拟pc上安装linux操作系统 ·在Linux下安装BT服务器的捷径

   文章评论:(条)
  
 请留名: 匿名评论   点击查看所有评论 网管论坛
 

  责任编辑:一分  声明:刊登此文章是为了传递更多信息,文章内容仅供参考,转载请注明出处。