Thomas, Thanks for your response.
> you accidentally became our guniea pig (*) for the new OSSP fsl (fake > syslog library, see http://www.ossp.org/pkg/lib/fsl/) now used in OpenPKG. I'm happy to run around on the wheel if it helps the project, as either a guinea pig or a guniea pig. > The use of fsl is no longer conditional, see > http://cvs.openpkg.org/chngview?cn=4714. However, we forgot to remove > the obsolete option from the description. Gotcha#1 - fixed and thanks Ok. I will presume therefore that I am using fsl with postfix. > The good news for you is that fsl has an output channel which can write > to a remote syslog. The underlying OSSP l2 can write to local syslog as > well but because fsl is a syslog(3) redirector this would cause a > infinite loop. Gotcha#2 - needs to be documented and has made it to my > push down list. I think I understand, though I may be mistaken. > So you have three options now: First, continue using fsl and create a > l2spec to forward to a remote syslog (remote means by UDP, destination > can be localhost). Second, remove fsl from each distribution as you did > with fakesyslog in the past. Third, use the powerful functions of l2 and > get rid of your "real syslog" requirement. The rays from OpenPKG mind control satellite have found a chink in my foil hat and have convinced me to go for number three. I have read TFMs, perused the web pages and am convinced that fsl is a logger's wet dream. This leads me to wonder why I am not already logging stuff. # rpm -q fsl fsl-1.0.3-20020907 # rpm -q postfix postfix-1.1.11-20020911 # rpm -ql postfix | egrep fsl /cw/etc/fsl/fsl.postfix [Unchanged from default] # egrep log /cw/etc/fsl/fsl.postfix path="/cw/var/postfix/log/postfix.log", # ls -l /cw/var/postfix/log/postfix.log -rw-rw-rw- 1 root cw 0 Sep 25 17:13 /cw/var/postfix/log/postfix.log [Changed from default to 666 for testing] So given all that, why am I not already logging to that log file? The next question would be how do I use a different log file - /var/log/maillog - which is used by syslog without worrying about conflicts, locking or other shenanigans? OT: If you've got your magic answering hat on, then please go ahead and tell me why only some users can get their mail after I substituted Postfix's default MDA with procmail. It doesn't seem to depend on .procmailrc (presence or content). The mail server always accepts the message, it's not in the queue (/cw/sbin/mailq), but it may or may not by delivered to the user's spool - $MAIL (/var/mail/$LOGNAME). I would check the mail server's log file, but.. um.. -Andrew- -- _________________________________________________________ | -Andrew J. Caines- 703-886-2689 Unix Systems Engineer | | <[EMAIL PROTECTED]> WorldCom Web Hosting | ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
