Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to monitor postfix with a tool I wrote my self, I need to do it live right after sending, my optimal solution will be somehow make postfix send it's events to a logging system other then rsyslog I am running now, and have this system post to an http url that is local/ or not to the machine, this way I can get the logs realtime on my system

Is there a way to force postfix to this kind of scenario

I am on Ubuntu 12.04

share|improve this question
rsyslog can use a named pipe (fifo) as a destination. If your tool is creates the fifo and listens on it, and you configure rsyslog to send postfix entries to that destination, this will probably be your easiest and cleanest solution. Note that the fifo must be created before rsyslog starts. – Pedro Romano Nov 4 '12 at 11:13
up vote 0 down vote accepted

Postfix uses the system's syslog facility. Whatever that allows you to do, you can use.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.