1、安装postal
[root@mail2 ~]#tar zxvf postal-0.70.tgz
[root@mail2 ~]# cd postal-0.70
[root@mail2 ~]# ./configure && make && make install 
2、配置脚本
[root@mail2 ~]#vi postal.sh
 #!/bin/bash
MAXMSGSIZE=1
PROC=25
MSGPERCONN=3
MSGPERMIN=5000
SSLPERCENT=0
SMTP_HOST=128.124.9.10
postal -m $MAXMSGSIZE -p $PROC -c $MSGPERCONN -r $MSGPERMIN -a -b netscape $SMTP_HOST test.list
[root@mail2 ~]# vi test.list
添加mail地址
tian@lata123.com
xing@lata123.com
......
 3、开始测试
[root@mail2 ~]# ./postal.sh
time,messages,data(K),errors,connections,SSL connections
22:51,54,51,0,31,0
22:52,672,618,0,339,0
22:53,769,714,0,371,0
22:54,495,451,0,238,0
22:55,895,814,0,448,0
22:56,547,492,0,279,0
22:57,670,605,0,347,0
22:58,807,733,0,427,0
22:59,611,553,0,294,0
23:00,374,339,0,195,0
23:01,876,790,0,448,0
23:02,763,697,0,387,0