Could someone please help me with configuring postfix to sends its logs to both a local file and to a syslog server?
I have read the online FAQ at http://www.ossp.org/pkg/lib/fsl/faq.html and I still cant seem to get it to work. The configuration file I have is shown below. I have tried many variations but none seem to want to work. ## ## fsl.postfix -- OSSP fsl configuration ## ident (postfix/.+)/.+ q{ prefix( prefix="%b %d %H:%M:%S %N <%L> [%P]: " ) -> { debug: file( path="/secomon/openpkg-2.20061018/var/postfix/log/postfix.log", perm=0644, monitor=3600 ); debug: syslog( facility = mail, ident=info, target="remote", remotehost="localhost" ) } ) Whenever I try and add any syslog based rules it seems to totally ignore the fsl.postfix file and send it to where fsl.fsl points. I suspect there is some type of syntax error in the configuration. Is there anywhere where fsl logs its own config parsing (I know it is a bit of a chicken-and-the-egg problem). Have even tried removing the 'file' channel, and that doesn't work either. Using fairly recent builds (from the 20061018 release) on Solaris 8. Everything builds fine and postfix runs fine - just cant seem to get the logging to do what I want it to do. Your help is appreciated. Can provide additional details if it helps. On a related question - does the fsl library re-read configuration on the fly - or it only on startup? Jason -- Jason Wilson <[EMAIL PROTECTED]> ICT Security Services Queensland Department of Natural Resources and Water, Australia Ph: +61 7 389 63129 ************************************************************************ The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. ************************************************************************ ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org