This is a discussion on pop3d and logging within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; hi! i have a problem logging pop3d connections. i set up qmail and pop3d as described in life-with-qmail. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hi!
i have a problem logging pop3d connections. i set up qmail and pop3d as described in life-with-qmail. everything works realy fine but the pop3d logging. my setup is the following: /service/qmail-pop3d/log/run: #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \ /var/log/qmail/qmail-pop3d the logdir exists: # ls -lisa /var/log/qmail/qmail-pop3d total 1 39246 1 drwxr-xr-x 2 qmaill root 35 Jul 17 12:17 . 35462 1 drwxr-xr-x 6 qmaill root 146 Jul 10 12:09 ... ps says the pop3d and its logging daemon run. has anybody an idea? thanks, rainer |
|
|||
|
rain_c1@web.de (Rainer Collet) writes:
> i have a problem logging pop3d connections. i set up qmail and pop3d > as described in life-with-qmail. everything works realy fine but the > pop3d logging. my setup is the following: Note that if the logging isn't working, the pop3 service will eventually block. > /service/qmail-pop3d/log/run: > #!/bin/sh > exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \ > /var/log/qmail/qmail-pop3d > > the logdir exists: > # ls -lisa /var/log/qmail/qmail-pop3d > total 1 > 39246 1 drwxr-xr-x 2 qmaill root 35 Jul 17 12:17 . > 35462 1 drwxr-xr-x 6 qmaill root 146 Jul 10 12:09 > .. > > ps says the pop3d and its logging daemon run. > > has anybody an idea? What does "qmailctl stat" or "svstat /service/* /service/*/log" say? -- Dave Sill Oak Ridge National Lab, Workstation Support Author, The qmail Handbook <http://web.infoave.net/~dsill> <http://lifewithqmail.org/>: Almost everything you always wanted to know. |
|
|||
|
Dave Sill <MaxFreedom@sws5.ctd.ornl.gov> wrote in message news:<wx0isq1l2rn.fsf@sws5.ornl.gov>...
> What does "qmailctl stat" or "svstat /service/* /service/*/log" say? # qmailctl stat /service/qmail-send: up (pid 30374) 88534 seconds /service/qmail-send/log: up (pid 754) 934000 seconds /service/qmail-smtpd: up (pid 30376) 88534 seconds /service/qmail-smtpd/log: up (pid 745) 934000 seconds /service/qmail-pop3d: up (pid 30378) 88534 seconds /service/qmail-pop3d/log: up (pid 746) 934000 seconds messages in queue: 1 messages in queue but not yet preprocessed: 0 # svstat /service/* /service/*/log /service/qmail-pop3d: up (pid 30378) 88597 seconds /service/qmail-send: up (pid 30374) 88597 seconds /service/qmail-smtpd: up (pid 30376) 88597 seconds /service/qmail-pop3d/log: up (pid 746) 934063 seconds /service/qmail-send/log: up (pid 754) 934063 seconds /service/qmail-smtpd/log: up (pid 745) 934063 seconds seems all to be ok i think. i am in state of confusion. thanks for help, rainer |
|
|||
|
rain_c1@web.de (Rainer Collet) writes:
> /service/qmail-pop3d: up (pid 30378) 88597 seconds > /service/qmail-pop3d/log: up (pid 746) 934063 seconds > > seems all to be ok i think. i am in state of confusion. OK, so what's in /service/qmail-pop3d/run? What does "ps -ef|grep readproctitle" say? -- Dave Sill Oak Ridge National Lab, Workstation Support Author, The qmail Handbook <http://web.infoave.net/~dsill> <http://lifewithqmail.org/>: Almost everything you always wanted to know. |
|
|||
|
Dave Sill <MaxFreedom@sws5.ctd.ornl.gov> wrote in message news:<wx0isq0km5d.fsf@sws5.ornl.gov>...
> OK, so what's in /service/qmail-pop3d/run? What does "ps -ef|grep > readproctitle" say? # cat /service/qmail-pop3d/run: #! /bin/sh IPHOST=0 exec /usr/local/bin/softlimit -m 2000000 \ /usr/local/bin/tcpserver -H -R -l 0 $IPHOST 110 /var/qmail/bin/qmail-popup \ clnet01.complingua.net /usr/local/bin/checkcdb /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d Maildir 2>&1 # ps -ef|grep readproctitle root 739 736 0 Jul07 ? 00:00:00 readproctitle service errors: .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .......................................... ........ root 17560 5031 0 10:18 pts/0 00:00:00 grep readproctitle unfortunately readproctitle says nothing to me. what does the output of the ps-command mean? thanks for your help, rainer |
|
|||
|
rain_c1@web.de (Rainer Collet) writes:
> Dave Sill <MaxFreedom@sws5.ctd.ornl.gov> wrote in message news:<wx0isq0km5d.fsf@sws5.ornl.gov>... >> OK, so what's in /service/qmail-pop3d/run? What does "ps -ef|grep >> readproctitle" say? > > # cat /service/qmail-pop3d/run: > #! /bin/sh > IPHOST=0 > exec /usr/local/bin/softlimit -m 2000000 \ > /usr/local/bin/tcpserver -H -R -l 0 $IPHOST 110 > /var/qmail/bin/qmail-popup \ > clnet01.complingua.net /usr/local/bin/checkcdb > /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d Maildir 2>&1 You need the "-v" option to tcpserver to log connections. qmail-pop3d doesn't do any logging. > # ps -ef|grep readproctitle > root 739 736 0 Jul07 ? 00:00:00 readproctitle service > errors: .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .......................................... > ....... > root 17560 5031 0 10:18 pts/0 00:00:00 grep readproctitle > > unfortunately readproctitle says nothing to me. what does the output > of the ps-command mean? It means that supervise hasn't logged any errors from running "run" scripts. -- Dave Sill Oak Ridge National Lab, Workstation Support Author, The qmail Handbook <http://web.infoave.net/~dsill> <http://lifewithqmail.org/>: Almost everything you always wanted to know. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|