maillogs problems

Started by jostreff, April 21, 2004, 01:16:23 PM

Previous topic - Next topic

jostreff

Hi,
I'm trying to implremet RRDutil on my experimental server.
But when I try to start maillogs
#maillogs smtp


WARN: the file /var/log/mail/counters/smtp_auth.txt is empty! Creating...done.
smtp_auth_connect:0:smtp_auth_success:0

I see that
ls -la /var/log/mail/counters/
total 16
drwxr-xr-x  2 qmaill  qnofiles  512 Apr 21 21:55 .
drwxr-xr-x  7 qmaill  qnofiles  512 Apr 21 21:18 ..
-rw-r--r--  1 qmaill  qnofiles  171 Apr 21 22:08 imap.txt
-rw-r--r--  1 qmaill  qnofiles  148 Apr 21 22:08 pop3.txt
-rw-r--r--  1 qmaill  qnofiles   19 Apr 21 21:22 send.txt
-rw-r--r--  1 root    qnofiles    0 Apr 21 22:13 smtp_auth.txt
-rw-r--r--  1 qmaill  qnofiles   19 Apr 21 21:22 smtp_rbl.txt
-rw-r--r--  1 qmaill  qnofiles   59 Apr 21 22:10 spam.txt
-rw-r--r--  1 qmaill  qnofiles   29 Apr 21 22:11 virus.txt
-rw-r--r--  1 qmaill  qnofiles    0 Apr 21 22:09 webmail.txt

In toaster-watcher.conf qmaill is set as user for logging.

If I chown qmaill  smtp_auth.txt - still dosn't work.

Supervice scripts
cat /service/smtp/run
#!/bin/sh

#    NOTICE: This file is generated automatically by toaster-watcher.pl. Do NOT hand
#      edit this file. Edit toaster-watcher.conf instead and then run toaster-watcher.pl
#      to make your settings active. See perldoc toaster-watcher.conf

PATH=/var/qmail/bin:/usr/local/vpopmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH

QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
export QMAILQUEUE

if [ ! -f /var/qmail/control/rcpthosts ]; then
       echo "No /var/qmail/control/rcpthosts!"
       echo "Refusing to start SMTP listener because it'll create an open relay"
       exit 1
fi

exec softlimit -m 35840000 tcpserver -S -H -R -c10 -x /usr/local/vpopmail/etc/tcp.smtp.cdb -u 89 -g 89 0 smtp rblsmtpd -c -r sbl-xbl.spamhaus.org -r relays.ordb.org -r dnsbl.sorbs.net -r dialups.visi.com -r relays.visi.com -r cn.rbl.cluecentral.net -r kr.rbl.cluecentral.net qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true


cat /service/smtp/log/run
#!/bin/sh


PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin

export PATH


exec setuidgid qmaill multilog !./smtplog s100000 /var/log/mail/smtp

maillogs send works as I understand
maillogs send
created:1082571763:delivery:1:delivery_success:1:message_bytes:113141:message_end:1:message_info:1:message_new:1:start_delivery:1:start_delivery_local:1:status:2:status_localp:0.1:status_remotep:0
Year: 2004 Month: 4
outputdir:/usr/local/www/data/isoqlog
htmldir:/usr/local/share/isoqlog/htmltemp
logtype:qmail-multilog
logstore:/var/log/mail/send
langfile:/usr/local/share/isoqlog/lang/english
maxsender:100
maxreceiver:100
maxtotal:100
maxbyte:100
hostname: classic.classic-bg.net
Domains localhost
Domains classic-bg.net
Domains .classic-bg.net
Domains ufo-bg.com
Domains .ufo-bg.com
Domains jsp.homeunix.net
Current 2004-4-21
today file: @400000004086c58101ff296c.s   date 79399 :
today file: @400000004086c6932409ede4.s   date 79673 :
today file: @400000004086c78735ff99cc.s   date 79917 :
today file: @400000004086c7d907d48e04.s   date 79999 :
today file: @400000004086c8dd0a895594.s   date 80259 :
today file: @400000004086c0a11f4d4864.s   date 78151 :
today file: @400000004086c1f802a91954.s   date 78494 :
today file: @400000004086c32a2a1df1bc.s   date 78800 :
today file: @400000004086c33c16e3d724.s   date 78818 :

In this situation net-snmp-5 stops responding.

Any suggestions are welcome Smile!

jostreff

Dear all - see output from maillog command
maillogs send
created:1082571763:message_other:1
Year: 2004 Month: 4
outputdir:/usr/local/www/data/isoqlog
htmldir:/usr/local/share/isoqlog/htmltemp
logtype:qmail-multilog
logstore:/var/log/mail/send
langfile:/usr/local/share/isoqlog/lang/english
maxsender:100
maxreceiver:100
maxtotal:100
maxbyte:100
hostname: classic.classic-bg.net
Domains localhost
Domains classic-bg.net
Domains .classic-bg.net
Domains ufo-bg.com
Domains .ufo-bg.com
Domains jsp.homeunix.net
Current 2004-4-22
today file: @400000004087a393096013ec.s   date 49849 :
today file: @400000004087a69507f38f84.s   date 50619 :
today file: @400000004087b8c62bd0165c.s   date 55276 :
today file: @4000000040877f242970834c.s   date 40522 :
today file: @40000000408781811f32cf0c.s   date 41127 :
today file: @4000000040878dff138b26a4.u   date 44325 :
today file: @40000000408795ea1f3572d4.s   date 46352 :
today file: @400000004087986725ebc18c.s   date 46989 :
today file: @40000000408799ee0ab23e3c.s   date 47380 :


maillogs smtp
smtp_auth_connect:0:smtp_auth_success:0


maillogs rbl
created:1082571749

maillogs webmail    
connect:0:success:0

On http://www.tnpi.biz/internet/mail/maillogs/FAQ.html" target="_blank">http://www.tnpi.biz/internet/mail/maillogs/FAQ.html I see other results Sad

Comments are welcome