postfix 删除邮件队列

回复 收藏
mailq 查看队列邮件
postsuper -d ALL  这样就删除所有邮件啦


其他关于postfix的文章列表

postfix 下载
postfix 安装脚本
Postfix邮件队列管理
2010-03-09 11:04 举报
已邀请:
0

阿铭 管理员

赞同来自:

创建以及修改postfix to transport
1. Enable transport map for Postfix by using the Postfix configuration utility to configure Postfix:  
*postconf -e "transport_maps=hash:/etc/postfix/transport*
Another way is to edit Postfix configuration file, /etc/postfix/main.cf. Add a new line as below into this file:  
transport_maps = hash:/etc/postfix/transport

2.Create a transport map entry. Edit /etc/postfix/transport, add a new line:
abc.com :[172.16.103.203]

In this example, abc.com is the domain whose mail will be redirected and 172.16.103.203 is the destination IP. The [ ] suppresses MX lookups. Please refer to transport man page (man transport) for details.  

3.Generate transport table database:  
postmap /etc/postfix/transport

4.Restart Postfix:  
service postfix restart

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: