ezmlm邮件列表简单实例
发表于:2007-05-25来源:作者:点击数:
标签:
费了好大劲,才知道个大概,英文太差 总之,希望对用得上兄弟们有点帮助 邮件列表:maillist@bsd.com 邮件列表目录:/home/vpopmail/domains/bsd.com/maillist,没有指定目录的文件都是在该目录下创建的 邮件列表的owner和moderater都是mailmaster@bd.com 一
费了好大劲,才知道个大概,英文太差
总之,希望对用得上兄弟们有点帮助
邮件列表:maillist@bsd.com
邮件列表目录:/home/vpopmail/domains/bsd.com/maillist,没有指定目录的文件都是在该目录下创建的
邮件列表的owner和moderater都是mailmaster@bd.com
一.创建邮件列表:
/usr/local/qmail/bin/ezmlm/ezmlm-make /home/vpopmail/domains/bsd.com/maillist /home/vpopmail/domains/bsd.com/.qmail-maillist maillist bsd.com
二.订阅:
/usr/local/qmail/bin/ezmlm/ezmlm-sub /home/vpopmail/domains/bsd.com/maillist abc@163.com ---------添加订阅者
三.退订:
/usr/local/qmail/bin/ezmlm/ezmlm-unsub /home/vpopmail/domains/bsd.com/maillist abc@163.com ----------删除订阅者
四.列出订阅者:
/usr/local/qmail/bin/ezmlm/ezmlm-list /home/vpopmail/domains/bsd.com/maillist
五.检查配置:
/usr/local/qmail/bin/ezmlm/ezmlm-check /home/vpopmail/domains/bsd.com/maillist -------------这个非常有用,仔细看,就知道哪里配置的正确,或者错误
六.字符集:
#vi charset
:B
七.信件头添加和移除(headeradd/headerremove):
信件头添加:
Precedence: bulk
X-No-Archive: yes
Sender: <mailmaster@bsd.com>
Reply-To: <mailmaster@bsd.com>
list-help: <mailto:mailmaster@bsd.com>
list-unsubscribe: <mailto:unsubscribe@bsd.com>
list-post: <mailto:maillist@bsd.com>
To: <maillist@bsd.com>
信件头移除:
return-path
return-receipt-to
content-length
precedence
x-confirm-reading-to
x-pmr
qc
list-help
list-unsubscribe
list-post
To
八.订阅审核和远程管理(remote admin):
#touch remote
九.信件审核(message moderation):
#touch modpost
#touch moderator
#ln -s /usr/home/vpopmail/domains/bsd.com/maillist/moderator /home/vpopmail/domains/bsd.com/.qmail-maillist-a
clearcase/" target="_blank" >ccept-default
#ln -s /usr/home/vpopmail/domains/bsd.com/maillist/moderator /home/vpopmail/domains/bsd.com/.qmail-maillist-reject-default
#vi moderator
|/usr/local/qmail/bin/ezmlm/ezmlm-moderate '/home/vpopmail/domains/bsd.com/maillist'
|/usr/local/qmail/bin/ezmlm/ezmlm-clean '/home/vpopmail/domains/bsd.com/maillist' || exit 0
#vi editor
|/usr/local/qmail/bin/ezmlm/ezmlm-reject '/home/vpopmail/domains/bsd.com/maillist'
|/usr/local/qmail/bin/ezmlm/ezmlm-warn '/home/vpopmail/domains/bsd.com/maillist'
|/usr/local/qmail/bin/ezmlm/ezmlm-store '/home/vpopmail/domains/bsd.com/maillist' || exit 0
|/usr/local/qmail/bin/ezmlm/ezmlm-clean '/home/vpopmail/domains/bsd.com/maillist' || exit 0
#/usr/local/qmail/bin/ezmlm/ezmlm-sub /home/vpopmail/domains/bsd.com/maillist/mod mailmaster@bsd.com ----添加仲裁人,可以添加多个
十.owner文件:
mailmaster@bsd.com
|/usr/local/qmail/bin/ezmlm/ezmlm-warn '/home/vpopmail/domains/bsd.com/maillist' || exit 0
十一.config文件:
F:-aBCDEFGHIJKLMNOpQRSTUVWXYZ
D:/home/vpopmail/domains/bsd.com/maillist
T:/home/vpopmail/domains/bsd.com/.qmail-maillist
L:maillist
H:bsd.com
C:
0:
3:
4:
5:mailmaster@bsd.com
6:
7:
8:
9:
十二.使用邮件列表:
使用任意账号给maillist@bsd.com发信, mailmaster@bd.com会收到一封确认信
如果允许这封信发送,直接回复,如果拒绝,点信件里的拒绝连接
信件里有拒绝和允许的连接:
允许发送:maillist-accept-1049189082.48169.acdilndmjdahikkfomhl@bsd.com
拒绝发送:maillist-reject-1049189082.48169.acdilndmjdahikkfomhl@bsd.com
ljc555 回复于:2003-04-03 12:33:26
|
Thank you!
|
npk 回复于:2003-04-04 19:59:37
|
不会直接删除文件吧? 有什么命令吗??
|
Fun-FreeBSD 回复于:2003-04-04 20:29:36
|
???
|
dracoz 回复于:2003-04-07 10:05:58
|
嘿嘿,好用!
偶就是看这个做的maillist
|
barrettyin 回复于:2003-06-27 14:17:46
|
remote modpost moderator 在哪个目创建,有什么作用啊?
|
shifeng 回复于:2003-06-27 14:22:00
|
ezmlm是专门针对Qmail还是可以用在任何邮件系统?
|
gadfly 回复于:2003-06-27 17:48:32
|
只能直接用于qmail吧。不过我估计稍微改造一下,也许能用于postfix。
你可以到ezmlm的主页上看看
|
laosechong 回复于:2003-07-01 09:08:28
|
ezmlm-0.53
好象没有ezmlm-check 这个命令啊
|
laosechong 回复于:2003-07-01 09:31:53
|
写上我的一个建立LIST的脚本:
bash-2.03# more MAKE-LIST
#!/bin/sh
EZMLMPATH=/usr/local/bin/ezmlm
MAILLISTPATH=/var/qmail/mailstore
mkdir $MAILLISTPATH/$1
chown vmail:vmail $MAILLISTPATH/$1
su - vmail -c "$EZMLMPATH/ezmlm-make $MAILLISTPATH/$1/$1 $MAILLISTPATH/$1/.qmail $1 laolong.com"
#chown -R vmail:vmail $MAILLISTPATH/$1
#chown -R vmail:vmail $MAILLISTPATH/.qmail*
执行:MAKE-LIST yourlist
|
ruancl 回复于:2003-07-29 10:17:40
|
我安装了qmailadmin可是不能够在那里控制邮件列表
|
liuwping 回复于:2003-07-29 16:38:00
|
这个到底怎么用呢!
|
原文转自:http://www.ltesting.net
|