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.

Postfix Configuration -

Follow me

Leo G

Is a Team Leader, Linux administrator and programmer. He has over 8 years experience in administering Linux servers and loves to share his experience and knowledge via his blogs.
Follow me

Similar Posts
How to display a changing output like top
Here’s a list of stuff I user everyday and other email admins will also be using, Let me know if...
A simple way to install and configure puppet on CentOS 6
A simple way to install and configure puppet on CentOS 6
Here’s a list of stuff I user everyday and other email admins will also be using, Let me know if...
An Amateur’s guide to Bash scripting
An Amateur’s guide to Bash scripting
Here’s a list of stuff I user everyday and other email admins will also be using, Let me know if...

There are no comments yet, add one below.

Leave a Reply


Name (required)

Email (required)

Website

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>