I see most packages are compiled in with the fsl library and this is configured to log to a local file in /<prefix>/var/<package> but I don't follow the fsl documentation well enough to make the logging just go to syslog.

I tried configuring /openpkg/etc/fsl/fsl.postfix as follows but this did not seem to work:

ident (postfix/.+)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: syslog(
                facility=mail,
                    ident=postfix,
                    remotehost="127.0.0.1",
                    remoteport="514",
                    target="remote"
        )
    }
};

What do I need to make the logging change? Stop all processes.

Syslog (FreeBSD 4.STABLE) is configured as follows:
$ grep mail /etc/syslog.conf
*.err;kern.debug;auth.notice;mail.crit          /dev/console
*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
mail.info                                       /var/log/maillog

# ps auwx | grep syslog
root        218  0,0  0,2  1008  712  ??  Ss   26sep04   2:16,22 /usr/sbin/syslogd -a 
44.133.228.0/26 -a 127.0.0.0/8

and the syslog daemon is listening for connections from the network.

Can someone point out what I'm missing or show me how to debug my mis-configuration.

BTW using

$ /openpkg/bin/openpkg rpm -qa | egrep '(postfix|openpkg)'
openpkg-tools-0.8.18-2.1.3
postfix-2.1.4-2.1.2
perl-openpkg-5.8.4-2.1.0
openpkg-2.1.2-2.1.2

Thanks,

Simon
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to