On Mon, 2009-11-16 at 10:51 +0000, Jaroslaw Grzabel wrote: > Magnus Bäck wrote: > > On Mon, November 16, 2009 10:58 am, Jaroslaw Grzabel said: > > > > > >> Is there any way to configure postfix to create separate log file for > >> every domain it keeps ? > >> > > > > No. Postfix needs to start logging before it even knows to which domain a > > log message pertains. > > > > > Thank you Magnus, > > I had a hope there is something like a built-in wrapper which may split > the logs into domains logs. >
You can write a parser and dump into a database. Give every domain a UI to access the database. That is much better. Thanks Ram PS: The parser may not be so neat because postfix unfortunately does not log in sender , recipient , sent and size on a single line