0

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

David MZ
  • 249
  • 1
  • 3
  • 7
  • _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 04 '12 at 11:13

1 Answers1

0

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

adaptr
  • 16,576
  • 23
  • 34