Re: Not logging postfix logs in mail.info mail.warn (SysAdmin EM)

"Szilard Parrag (sparrag)" <[email protected]> Tue, 17 May 2022 06:29:31 +0000
Newsgroups gmane.comp.syslog-ng
Message-ID <MW5PR19MB55051AD27F70208E3415E2BB85CE9@MW5PR19MB5505.namprd19.prod.outlook.com>
Hi emawata,

Checking your configuration snippet it seems that `d_mailwarn` and `d_mailinfo` are not connected to a logpath, which is why syslog-ng doesn't write into them. If you wish to use them create a `log{};` block, which fetches data from source and writes it into `destination(d_mailwarn);` or `destination(d_mailinfo);`


Hope it helped,
Szilard

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq