Personal tools
You are here: Home Documentations Howtos Howto analyse Postfix
Document Actions

Howto analyse Postfix

This howto describes how to do senseful things with your postfix logs.

Introduction

This howto is in a very early stage. Its aim is to provide mail server admin some help on how to analyse their postfix logs. More information will follow soon. If you have a comment, just drop me an email.

Howto...

Detect delivery problems

Simply use

tail -F /var/log/mail.log | grep "status=deferred"

Trigger delivering of mails in the queue

Use either
  • mailq
  • sendmail -q
  • postqueue -f
The latter also allows to add additional debugging information  using -v. The hint to postqueue was reported by Moritz Augsburger.

Display message in the queue

  • sendmail -bp
  • postqueue -p
  • showq

Display warnings

tail -F /var/log/mail.log | grep warning

Easy, isn't it?

Display blocked incoming mails


tail -F /var/log/mail.log | grep NOQUEUE



« November 2008 »
Su Mo Tu We Th Fr Sa
1
2345678
9101112131415
16171819202122
23242526272829
30
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: