As far as I am aware you can't use syslog data generated from splogger. I recommend that you change to multilog. http://cr.yp.to/daemontools/multilog.html Its argued to be more reliable and secure than syslog. It generates much nicer logs to. For help on using it with qmail, read www.lifewithqmail.org. An excellent howto. I can't really tell you how to do it exactly because everyone, ok, almost everyone starts qmail differently. Follow Life With Qmail and you shouldn't go wrong. (Just skip down the creating supervise scripts) OR (Disclaimer: I am guessing here, it might not work) Change your splogger appearances in your startup file to multilog in a similar way to this. Your line... /var/qmail/bin/splogger pop3d & New line... /usr/local/bin/multilog t n100 s1000000 /var/log/pop3 & This will now log your pop3 activity to /var/log/pop3 Similarly for smtpd Your line... /var/qmail/bin/splogger qmail-smtpd 3 & New line... /usr/local/bin/multilog t n100 s1000000 /var/log/qmail & I've never used splogger, so I don't know what it logs. Your new smtpd logs will look like this 2001-06-19 09:51:10.105169500 new msg 72335 2001-06-19 09:51:10.120506500 info msg 72335: bytes 1958 from <[EMAIL PROTECTED]> qp 13848 uid 505 2001-06-19 09:51:10.148122500 starting delivery 88: msg 72335 to local [EMAIL PROTECTED] 2001-06-19 09:51:10.148141500 status: local 1/10 remote 0/20 2001-06-19 09:51:10.307344500 delivery 88: success: POP_user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/justsol. co.uk/postmaster/did_0+0+1/ 2001-06-19 09:51:10.307376500 status: local 0/10 remote 0/20 2001-06-19 09:51:10.307385500 end msg 72335 Thats a new message coming in and being devilvered with vpopmail Your pop3 logs are a little sparser tcpserver: status: 1/30 tcpserver: pid 13912 from 213.48.100.10 tcpserver: ok 13912 -p:194.201.48.212:110 :213.48.100.10::1169 tcpserver: end 13912 status 256 tcpserver: status: 0/30 Thats someone or something checking their email Someone correct me if I've gone completly way of course here! -- Regards, Kieran Barnes Signum 1226 Ltd Visit our website at http://www.1226.net Phone: 01772 622889 || Fax: 01772 622558 > -----Original Message----- > From: Calvin Crutchfield [mailto:[EMAIL PROTECTED]] > Sent: 19 June 2001 09:50 > To: vchkpwd > Subject: RE: New software qmailmrtg7 (PLease help!) > > > > I am running qmail/vpopmail and all has been going well. I > wanted to setup > qmail-mrtg as I already run mrtg adn I like it. The only > qmail log I am > aware of is /var/log/syslog. I cant seem to get any relevant > data with > qmail-mrtg. > ----------------------------------- > Here is my start up script: > ----------------------------------- > > #!/bin/sh > > ulimit -n 1024 > > exec env - PATH="/var/qmail/bin:$PATH" \ > qmail-start ./Maildir splogger qmail & > > #exec env - PATH="/var/qmail/bin:$PATH" \ > #qmail-start ./Mailbox 2>&1 > /dev/null & > > /usr/local/bin/tcpserver -u 1007 -p -g 100 -c 120 -H -R -x > /var/qmail/control/tcp.smtp.cdb 0 smtp > /var/qmail/bin/qmail-smtpd 2>&1 | > /var/qmail/bin/splogger qmail-smtpd 3 & > > /usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup \ > sparky.domain.com /bin/vchkpw /var/qmail/bin/qmail-pop3d > Maildir 2>&1 | \ > /var/qmail/bin/splogger pop3d & > > ----------------------------------------------------------------- > and here are the errors I get when running the mrtg/qmail > -------------------------------------------------------------------- > root@sparky:/var/qmail/bin%/usr/local/mrtg-2/bin/mrtg > /etc/qmail.mrtg.cfg > > WARNING: Problem with External get '/usr/local/bin/qmailmrtg7 m > /var/log/syslog': > Expected a Number for 'in' but got 'failed to open dir > /var/log/syslog' > > WARNING: Problem with External get '/usr/local/bin/qmailmrtg7 c > /var/log/syslog': > Expected a Number for 'in' but got 'failed to open dir > /var/log/syslog' > > WARNING: Problem with External get '/usr/local/bin/qmailmrtg7 s > /var/log/syslog': > Expected a Number for 'in' but got 'failed to open dir > /var/log/syslog' > > WARNING: Problem with External get '/usr/local/bin/qmailmrtg7 b > /var/log/syslog': > Expected a Number for 'in' but got 'failed to open dir > /var/log/syslog' > > WARNING: Problem with External get '/usr/local/bin/qmailmrtg7 t > /var/log/syslog': > Expected a Number for 'in' but got 'failed to open dir > /var/log/syslog' > > WARNING: Problem with External get '/usr/local/bin/qmailmrtg7 a > /var/log/syslog': > Expected a Number for 'in' but got 'failed to open dir > /var/log/syslog' > > WARNING: Problem with External get '/usr/local/bin/qmailmrtg7 t > /var/log/syslog': > Expected a Number for 'in' but got 'failed to open dir > /var/log/syslog' > > WARNING: Problem with External get '/usr/local/bin/qmailmrtg7 a > /var/log/syslog': > Expected a Number for 'in' but got 'failed to open dir > /var/log/syslog' > > > > Much thanks in advance to those who take the time to help a newbie! > > calvin > > > > -----Original Message----- > From: Kieran Barnes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 19, 2001 1:22 AM > To: 'Thomas Foerster'; [EMAIL PROTECTED] > Subject: RE: New software qmailmrtg7 > > > Just edit the qmail-mrtg.cfg as Ken says in the INSTALL file. > > Change the lines that read > > Target[smtpad]: `/usr/local/bin/qmailmrtg7 a /var/log/smtp` > > to read > > Target[smtpad]: `/usr/local/sbin/qmailmrtg7 a > /var/log/qmail/qmail-smtpd` > or whatever your directories are > > and do so for the rest of them. > Worked fine for me. > > > -- > Regards, > > Kieran Barnes > Signum 1226 Ltd > Visit our website at http://www.1226.net > Phone: 01772 622889 || Fax: 01772 622558 > > > > -----Original Message----- > > From: Thomas Foerster [mailto:[EMAIL PROTECTED]] > > Sent: 19 June 2001 08:16 > > To: [EMAIL PROTECTED] > > Subject: RE: New software qmailmrtg7 > > > > > > >> -----Original Message----- > > >> From: Ken Jones [mailto:[EMAIL PROTECTED]] > > >> Sent: 18 June 2001 14:11 > > >> To: [EMAIL PROTECTED] > > >> Cc: [EMAIL PROTECTED] > > >> Subject: New software qmailmrtg7 > > >> > > >> > > >> Thought you folks might want to take a look at this: > > >> > > >> http://www.inter7.com/qmailmrtg7/ > > >> > > >> Supports tcpserver -v logging as well as qmail-send logs > > > > It doesn't work here. I don't have "qmail-send" logs in > > /var/log/qmail. > > > > qmail-smtp and qmail-pop3 have their logs in > /var/log/qmail/qmail-xxx > > > > Then i have a nice /var/log/maillog. So to get qmailmrtg7 to work? > > > > Can you post your qmail startscripts (with svscan i think) ? > > > > Thanks, > > Thomas > > > > >
