Postfix命令行说明

2018/07/20 14:24
阅读数 131

Postfix tips and Troubleshooting Commands

 

Here's a list of stuff I user everyday and other email admins will also be using, Let me know if I missed anything

List/Print current mail queue

 

# postqueue –p
# mailq


If it's a huge que, you can pipe it with tail

 

# mailq | tail


Flush the queue

# postqueue -f


Schedule immediate delivery of all mail that is queued for the named as domain.come.

# postqueue -s domain.com


TO delete all queue

 

# postsuper -d ALL


To delete a particular message

# postsuper -d messageid


Reque the mail or resend particular mail

#postfix -r msgid


To find mail version

#postconf -d mail_version
mail_version = 2.6.6


You can also follow the steps in the link below which is the most simple and well explained documentation available with regards to Configuring postfix.

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部