[SOLVED] Dovecot, traffic problem - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: [SOLVED] Dovecot, traffic problem (/thread-10906.html) |
[SOLVED] Dovecot, traffic problem - macbishop - 06-08-2010 07:14 AM Hi to all. Recently I have installed in Debian Lenny (clean), the stable version of 1.05 and Dovecot with Quota, all run ok., send, receive and update the maildirsize... ... but it not count the mail traffic (smtp, pop, imap) in domain level. This is the mail zone of ispcp-vrl-traff.log: Code: DEBUG: push_el() sub_name: gen_log_file(), msg: Starting for logfile /var/log/mail.log In dovecot.conf: Code: syslog_facility = mail Some lines of mail.log: Code: Jun 6 19:01:40 hostname postfix/qmgr[17638]: B64288A18C67: from=<usuario@mi_dominio.tld>, size=61984, nrcpt=1 (queue active) I have changed ispcp-vrl-traff to the ispcp 1.03 version (that create .prev) and it make smtp.log and smtp_delivery.log and update the smtp count but neither make pop and imap logs. Grateful for help me. Thanks. RE: [SOLVED] Dovecot, traffic problem - macbishop - 06-10-2010 08:00 AM 1. The script not read mail.log because empty the first line. Thanks to kilburn. 2. Change: Code: $rs = sys_command("$cat $rlog|$grep 'POP3'| $grep 'Disconnected: Logged out' |" Code: $rs = sys_command("$cat $rlog|$grep 'POP3'| $grep 'Disconnected: Logged out' |" |