Postfix log grep gist

Posted by Kenneth Kalmer on October 23, 2008

Just a quickie to tell you about my (first) latest gist: http://gist.github.com/19021

Basically search through the postfix maillog for a pattern, extract the postfix message id from each matched line, and then search through the log file for each corresponding line.

This rebuilds your original search with some more context, and makes it a snap to trace a message through its lifecycle…

  • Tags

    activerecord air amqp analytics audits bash bind capistrano cheat convert couchdb daemon-kit dlz dns elsewhere gentoo gist git hoptoad linux macros mercurial messaging mysql nginx olympics plugins postfix postini powerdns presentations projects quickies rails rake review ruby ruby19 ruote security shoes sitemap ssl svn webby
  • Recent Posts

  • Archives

  • Alltop. Seriously?! I got in?