hi here is my configs:
#more /var/qmail/supervise/qmail-send/log/run
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
!/bin/logappend.sh /var/log/qmail
#more /bin/logappend.sh
#!/bin/sh
PATH=/bin:/usr/local/bin:/usr/bin
export PATH
cat >> /var/log/qmail/spamguard.log
#ls -l /bin/logappend.sh
rwxr-xr-x 1 root wheel 93 Mar 15 16:02 /bin/logappend.sh
# more /var/qmail/rc
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/
finally my current file size become 100K spamguard.log file is created
#ls -l /var/log/qmail/spamguard.log
-rw-r--r-- 1 qmaill wheel 98042 Mar 15 16:06 /var/log/qmail/spamguard.log
please compare your configuration with above
is logappend.sh is executable ?
Regards;
en Fri, Mar 15, 2002 at 05:21:02AM -0800, Rilindo Foster wrote:
> Okay, I changed the owner to qmail1. No update to the
> file. :(
>
> How did you setup the run file on your box?
>
> --- Ismail YENIGUL <
ismail@...> wrote:
> > who is the owner of spamguard.log file
> > it's owner must be qmaill
> > also be sure that your are not running splogger
> > ps: i tested following script on FreeBSD 4.5 STABLE
> > it works
> >
> >
> > On Fri, Mar 15, 2002 at 04:55:27AM -0800, Rilindo
> > Foster wrote:
> > > Hmmm. . . .that is what I have already. It is not
> > > working. . . .:(
> > >
> > > --- Ismail YENIGUL <
ismail@...> wrote:
> > > >
> > > > hi
> > > > please change your logappend.sh
> > > > new logappend.sh should look like following
> > > > #######################################
> > > > #!/bin/sh
> > > > PATH=/bin:/usr/local/bin:/usr/bin
> > > > export PATH
> > > > cat >> /var/log/qmail/spamguard.log
> > > > ####################################3
> > > > i tested this and it works.
> > > > we changed this in spamguard 1.5
> > > >
> > > > ps: you do not need to restart qmail-send
> > > >
> > > > Regards
> > > >
> > > > On Thu, Mar 14, 2002 at 11:24:36PM -0800,
> > Rilindo
> > > > Foster wrote:
> > > > > Maybe I am not understanding the instructions,
> > but
> > > > how
> > > > > do you "append" the log? Last time, with the
> > > > previous
> > > > > release, I modified
> > > > > /var/qmail/supervise/qmail-send/log/run as
> > > > follows:
> > > > >
> > > > > exec /usr/local/bin/setuidgid qmaill
> > > > > /usr/local/bin/multilog t
> > > > > !/usr/local/bin/logappend.sh /var/log/qmail
> > > > >
> > > > > But it doesn't appear to do anything - the
> > current
> > > > > file stops running, but the spamguard.log
> > doesn't
> > > > get
> > > > > created.
> > > > >
> > > > > I am running qmail on Freebsd 4.x, BTW.
> > Standard
> > > > install.
> > > > >
> > > > > =====
> > > > > Rilindo Foster
> > > > > mailto:
ibmjones@...
> > > > >
http://monzell.com
> > > > > AIM: rilindo | ICQ:4900339
> > > > >
> > > > > "God, root, what's the difference?"
> > > > > - Pirtr, "User
> > > > Friendly"
> > > > >
> > > > >
> > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Yahoo! Sports - live college hoops coverage
> > > > >
http://sports.yahoo.com/
> > > > >
> > > > >
> > > > > To unsubscribe from this group, send an email
> > to:
> > > > >
spamguard-unsubscribe@yahoogroups.com
> > > > >
> > > > >
> > > > >
> > > > > Your use of Yahoo! Groups is subject to
> > > >
http://docs.yahoo.com/info/terms/
> > > > >
> > > > >
> > > >
> > > > --
> > > >
> > > > Earth is a beta site
> > > >
> > > > Ismail YENIGUL
> > > >
ismail@...
> > > > www.EnderUNIX.ORG
> > > >
> > >
> > >
> > > =====
> > > Rilindo Foster
> > > mailto:
ibmjones@...
> > >
http://monzell.com
> > > AIM: rilindo | ICQ:4900339
> > >
> > > "God, root, what's the difference?"
> > > - Pirtr, "User
> > Friendly"
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Sports - live college hoops coverage
> > >
http://sports.yahoo.com/
> > >
> > >
> > > To unsubscribe from this group, send an email to:
> > >
spamguard-unsubscribe@yahoogroups.com
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> >
http://docs.yahoo.com/info/terms/
> > >
> > >
> >
> > --
> >
> > Earth is a beta site
> >
> > Ismail YENIGUL
> >
ismail@...
> > www.EnderUNIX.ORG
> >
>
>
> =====
> Rilindo Foster
> mailto:
ibmjones@...
>
http://monzell.com
> AIM: rilindo | ICQ:4900339
>
> "God, root, what's the difference?"
> - Pirtr, "User Friendly"
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
>
http://sports.yahoo.com/
>
>
> To unsubscribe from this group, send an email to:
>
spamguard-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>
--
Earth is a beta site
Ismail YENIGUL
ismail@...
www.EnderUNIX.ORG