Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Sohin Vyacheslav
24.01.2018 15:34, Stephen Satchell пишет: > My colleague found that there is a rate-limit parameter in the > implementation of syslog we were using, and he was exceeding that limit. >  It's a knob you can turn. > > http://www.rsyslog.com/changing-the-settings/ Thank you, Stephen I hope it will

Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Stephen Satchell
On 01/24/2018 02:54 AM, Bastian Blank wrote: On Wed, Jan 24, 2018 at 12:19:39PM +0200, Sohin Vyacheslav wrote: Sometimes when server is busy Postfix does not write all the data to maillog. Postfix does never write directly to the maillog. This is delegated to your syslog server. If this one d

Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Sohin Vyacheslav
24.01.2018 14:06, Wietse Venema пишет: >> i.e. need to adjust systemd logging settings? > Unfortunately, systemd is not part of Postfix. Fortunately, there > are excellent web search engines that can help you find the answer. it's seems that rsyslogd writes a postfix log: $ sudo lsof /var/log/ma

Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Wietse Venema
Wietse: > As others have pointed out, Postfix does not write syslog files. > Depending on your OS, logging is handled by system-effing-d, which > by default unhelpfully rate-limits logging. Sohin Vyacheslav: > i.e. need to adjust systemd logging settings? Unfortunately, systemd is not part of Pos

Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Sohin Vyacheslav
24.01.2018 13:56, Wietse Venema пишет: > As others have pointed out, Postfix does not write syslog files. > Depending on your OS, logging is handled by system-effing-d, which > by default unhelpfully rate-limits logging. i.e. need to adjust systemd logging settings? -- Vyacheslav

Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Wietse Venema
Sohin Vyacheslav: > Hi, > > Sometimes when server is busy Postfix does not write all the data to > maillog. I see difference between data from maillog and content of file > with data in format: Date --From email --To email > > It's seems that drops some info before writing to maillog i.e. maillog

Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Sohin Vyacheslav
24.01.2018 12:54, Bastian Blank пишет: >> I see difference between data from maillog and content of file >> with data in format: Date --From email --To email > I have no idea what you are telling me. Postfix does not log the > contents ot the From or To headers. > in master.cf exists

Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Sohin Vyacheslav
24.01.2018 12:54, Bastian Blank пишет: > On Wed, Jan 24, 2018 at 12:19:39PM +0200, Sohin Vyacheslav wrote: >> Sometimes when server is busy Postfix does not write all the data to >> maillog. > > Postfix does never write directly to the maillog. This is delegated to > your syslog server. If thi

Re: Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Bastian Blank
On Wed, Jan 24, 2018 at 12:19:39PM +0200, Sohin Vyacheslav wrote: > Sometimes when server is busy Postfix does not write all the data to > maillog. Postfix does never write directly to the maillog. This is delegated to your syslog server. If this one drops messages you have to fix it. >

Postfix sometimes does not write all the data to maillog

2018-01-24 Thread Sohin Vyacheslav
Hi, Sometimes when server is busy Postfix does not write all the data to maillog. I see difference between data from maillog and content of file with data in format: Date --From email --To email It's seems that drops some info before writing to maillog i.e. maillog does not contain every activity