Hello...
Dave Sill wrote:
>
> Stephen Bosch <[EMAIL PROTECTED]> wrote:
>
> >Well, my logs are filling up with garbage
>
> Garbage or log entries? Sample, please?
Sorry -- it's just that I quoted it at great length before...
okay, I'll get it.
Stephen Bosch wrote:
>
> Hello, gentlemen:
>
> I've looked in the archives for this little issue. Lots of people report
> it, but I *think* I've got my system correctly configured.
>
> A couple of problems:
>
> my /var/log/maillog fills up with stuff like this:
>
> Jun 12 14:09:12 hotcube qmail: 992376552.411296 end msg 1005715
> Jun 12 14:09:12 hotcube qmail: 992376552.507199 new msg 1005716
> Jun 12 14:09:12 hotcube qmail: 992376552.507323 info msg 1005716: bytes
> 266 from <[EMAIL PROTECTED]> qp 27390 uid 502
> Jun 12 14:09:12 hotcube qmail: 992376552.573170 end msg 1005716
> Jun 12 14:09:12 hotcube qmail: 992376552.660653 new msg 1005715
> Jun 12 14:09:12 hotcube qmail: 992376552.660776 info msg 1005715: bytes
> 266 from <[EMAIL PROTECTED]> qp 27403 uid 502
> Jun 12 14:09:12 hotcube qmail: 992376552.732709 end msg 1005715
> Jun 12 14:09:12 hotcube qmail: 992376552.815510 new msg 1005716
> Jun 12 14:09:12 hotcube qmail: 992376552.815629 info msg 1005716: bytes
> 266 from <[EMAIL PROTECTED]> qp 27416 uid 502
> Jun 12 14:09:12 hotcube qmail: 992376552.873183 end msg 1005716
> Jun 12 14:09:42 hotcube qmail: 992376582.938896 new msg 1005715
> Jun 12 14:09:42 hotcube qmail: 992376582.939013 info msg 1005715: bytes
> 266 from <[EMAIL PROTECTED]> qp 27450 uid 502
> Jun 12 14:09:42 hotcube qmail: 992376582.981100 end msg 1005715
> Jun 12 14:09:43 hotcube qmail: 992376583.097289 new msg
> 1005716
>
> and so on, and so on, and so on. It goes back months like this (I would
> never have noticed it had it not been for some other issues I was
> working on). Is this normal? My other qmail installations don't do that.
>
> The queue is empty.
>
> Then, there's this:
>
> [root@hotcube qmail]# /etc/rc.d/init.d/qmail stat
> qmail-send: up (pid 27564)
> qmail-smtpd: up (pid 27566)
> qmail-send/log: unable to open supervise/ok: file does not exist
> qmail-smtpd/log: unable to open supervise/ok: file does not exist
>
> Okay. So I checked for sticky bits on the appropriate directories:
>
> [root@hotcube supervise]# ls -ld /var/qmail/supervise/*
> 927870 drwxr-xr-t 4 root qmail 1024 Sep 1 2000
> /var/qmail/supervise/qmail-send/
> 712830 drwxr-xr-t 4 root qmail 1024 Dec 18 10:27
> /var/qmail/supervise/qmail-smtpd/
> [root@hotcube supervise]#
>
> It looks like I have all the files I need...
>
> qmail-send:
> total 3
> 1120382 drwxr-xr-t 2 root qmail 1024 Sep 1 2000 log/
> 927871 -rwxr-xr-x 1 root qmail 29 Sep 1 2000 run*
> 497666 drwx------ 2 root qmail 1024 Jun 12 14:19
> supervise/
>
> qmail-send/log:
> total 1
> 1120383 -rwxr-xr-x 1 root qmail 88 Sep 1 2000 run*
>
> qmail-send/supervise:
> total 1
> 497791 prw------- 1 root qmail 0 Jun 12 14:19 control|
> 497667 -rw------- 1 root qmail 0 Sep 1 2000 lock
> 497793 prw------- 1 root qmail 0 Sep 1 2000 ok|
> 497805 -rw-r--r-- 1 root root 18 Jun 12 14:19 status
>
> qmail-smtpd:
> total 4
> 733310 drwxr-xr-t 2 root qmail 1024 Sep 1 2000 log/
> 712915 -rwxr-xr-x 1 root qmail 246 Dec 18 10:27 run*
> 712831 -rwxr-xr-x 1 root qmail 240 Sep 1 2000 run~*
> 667722 drwx------ 2 root qmail 1024 Jun 12 14:19
> supervise/
>
> qmail-smtpd/log:
> total 1
> 733311 -rwxr-xr-x 1 root qmail 94 Sep 1 2000 run*
>
> qmail-smtpd/supervise:
> total 1
> 667729 prw------- 1 root qmail 0 Jun 12 14:19 control|
> 667728 -rw------- 1 root qmail 0 Sep 1 2000 lock
> 667731 prw------- 1 root qmail 0 Sep 1 2000 ok|
> 667723 -rw-r--r-- 1 root root 18 Jun 12 14:19 status
>
> /var/qmail/supervise/qmail-send/run contains:
>
> #!/bin/sh
> exec /var/qmail/rc
>
> and /var/qmail/supervise/qmail-smtpd/run contains:
>
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> exec /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -R -H -v -p -x /etc/tcp.smtp.cdb \
> -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
> 2>&1
There you have it, in all its ugliness.
-Stephen-