Re: Postfix logs disordered

2016-03-14 Thread Viktor Dukhovni
On Mon, Mar 14, 2016 at 01:57:35PM +0100, Milan Popovic wrote: > I am facing an "issue" with logs. I want to process the logs on the fly. > > Postfix ID1 -> Sophos -> Postfix ID2 > > I think postfix for performance reason writes logs after processing > messages. I can see this kind of situation

Re: Postfix logs disordered

2016-03-14 Thread Milan Popovic
Hi and thank you Wietse for your quick reply. Correct me if i am wrong but you said that : before-filter smtp logs that mail is delivered before-filter qmgr logs that the file is deleted after-filter qmgr logs sender and number of recipients and in my case it's not : Jan 9 08:03:25 smtp1 postf

Re: Postfix logs disordered

2016-03-14 Thread Wietse Venema
Milan Popovic: > Hi, > > I am developing a parser for postfix which interact with logstash and > elasticsearch. The architecture use Sophos puremessage for > antispam/antivirus. > I am facing an "issue" with logs. I want to process the logs on the fly. > When a message come into the system, postfi

Postfix logs disordered

2016-03-14 Thread Milan Popovic
Hi, I am developing a parser for postfix which interact with logstash and elasticsearch. The architecture use Sophos puremessage for antispam/antivirus. I am facing an "issue" with logs. I want to process the logs on the fly. When a message come into the system, postfix process it, send it to the