当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > 使用 mailman 架设邮件列表
| 代码: |
| ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ Alias /pipermail/ /var/lib/mailman/archives/public/ RedirectMatch ^/*$ http://www.mydomain.com/mailman/listinfo <Directory "/var/lib/mailman/archives/public/"> AddDefaultCharset Off </Directory> <Directory "/usr/lib/cgi-bin/mailman/"> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> |
| 代码: |
| mailman_router: driver = accept domains = +mm_domains require_files = MM_LISTCHK local_part_suffix_optional local_part_suffix = -admin : \ -bounces : -bounces+* : \ -confirm : -confirm+* : \ -join : -leave : \ -owner : -request : \ -subscribe : -unsubscribe transport = mailman_transport |
| 代码: |
| mailman_transport: driver = pipe command = MM_WRAP \ '${if def:local_part_suffix \ {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \ {post}}' \ $local_part current_directory = MM_HOME home_directory = MM_HOME user = MM_UID group = MM_GID |
| 代码: |
| # exim4 -bt [email protected] [email protected] router = mailman_router, transport = mailman_transport |
评论 (0) All