On Apr 23, 2013, at 19:23, Abhijeet Rastogi <abhijeet.1...@gmail.com> wrote:
> So, what exactly is the solution now? My sole requirement is getting > "queueid", "from" and "to" in the same log line. Getting other headers > is just a secondary thing. Parse the logs, or write/use an external program that integrates with Postfix as a policy daemon, and writes to the logs what you need. For details, see; http://www.postfix.org/SMTPD_POLICY_README.html Note that this will get you the data from the envelope, which may not be the same as the actual headers. If you need the headers, you'll need to turn to content inspection; http://www.postfix.org/CONTENT_INSPECTION_README.html Or possibly a combination of both. HTH, Jona