Comments (19)
my bad, the command to run is a bit more complex :p
Do you think I could access your server? You can send me a mail directly if you want ([email protected])
from modoboa-stats.
any comment on what the issue was here and its solution?
from modoboa-stats.
@BioSs54 Is there any mail traffic on your server?
from modoboa-stats.
@tonioo Yes. ~ 50 mails / days
My last 100 logs.
I didnt seen problem in this log.
tail -n 100 /var/log/mail.log Jul 12 12:19:39 ns3028925 postfix/pickup[16973]: C593344AD3: uid=1000 from=<myUser> Jul 12 12:19:39 ns3028925 postfix/cleanup[28577]: C593344AD3: message-id=<[email protected]> Jul 12 12:19:39 ns3028925 opendkim[22310]: C593344AD3: no signing table match for '[email protected]' Jul 12 12:19:39 ns3028925 opendkim[22310]: C593344AD3: no signature data Jul 12 12:19:39 ns3028925 postfix/qmgr[9076]: C593344AD3: from=<[email protected]>, size=21389, nrcpt=1 (queue active) Jul 12 12:19:40 ns3028925 postfix/smtp[28588]: 8C42844AD2: to=<[email protected]>, relay=mail.domain.com[XXX.XXX.XXX.XXX]:25, delay=0.58, delays=0.2/0.05/0.03/0.3, dsn=2.0.0, status=sent (250 OK id=1fdYiU-0006pP-Fe) Jul 12 12:19:40 ns3028925 postfix/qmgr[9076]: 8C42844AD2: removed Jul 12 12:19:40 ns3028925 postfix/smtp[28590]: Trusted TLS connection established to eur.olc.protection.outlook.com[104.47.9.33]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits) Jul 12 12:19:41 ns3028925 postfix/smtp[28590]: C593344AD3: to=<[email protected]>, relay=eur.olc.protection.outlook.com[104.47.9.33]:25, delay=1.3, delays=0.08/0.01/0.83/0.42, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=18103287182069, Hostname=VE1EUR03HT034.eop-EUR03.prod.protection.outlook.com] 27091 bytes in 0.232, 113.659 KB/sec Queued mail for delivery -> 250 2.1.5) Jul 12 12:19:41 ns3028925 postfix/qmgr[9076]: C593344AD3: removed Jul 12 13:00:05 ns3028925 postfix/pickup[16973]: 67C1344ACD: uid=0 from=<[email protected]> Jul 12 13:00:05 ns3028925 postfix/cleanup[3093]: 67C1344ACD: message-id=<1531393205.2979.1@MyDomain> Jul 12 13:00:05 ns3028925 opendkim[22310]: 67C1344ACD: no signing table match for '[email protected]' Jul 12 13:00:05 ns3028925 opendkim[22310]: 67C1344ACD: no signature data Jul 12 13:00:05 ns3028925 postfix/qmgr[9076]: 67C1344ACD: from=<[email protected]>, size=506, nrcpt=1 (queue active) Jul 12 13:00:05 ns3028925 postfix/smtp[3103]: Trusted TLS connection established to aspmx.l.google.com[108.177.15.27]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jul 12 13:00:05 ns3028925 postfix/smtp[3103]: 67C1344ACD: to=<[email protected]>, relay=aspmx.l.google.com[108.177.15.27]:25, delay=0.58, delays=0.12/0.06/0.29/0.11, dsn=2.0.0, status=sent (250 2.0.0 OK 1531393205 y6-v6si9214057wrm.282 - gsmtp) Jul 12 13:00:05 ns3028925 postfix/qmgr[9076]: 67C1344ACD: removed Jul 12 13:03:33 ns3028925 postfix/submission/smtpd[3666]: connect from MyDomain[XXX.XXX.XXX.XXX] Jul 12 13:03:33 ns3028925 postfix/submission/smtpd[3666]: disconnect from MyDomain[XXX.XXX.XXX.XXX] ehlo=1 auth=0/1 quit=1 commands=2/3 Jul 12 13:06:53 ns3028925 postfix/anvil[3668]: statistics: max connection rate 1/60s for (submission:XXX.XXX.XXX.XXX) at Jul 12 13:03:33 Jul 12 13:06:53 ns3028925 postfix/anvil[3668]: statistics: max connection count 1 for (submission:XXX.XXX.XXX.XXX) at Jul 12 13:03:33 Jul 12 13:06:53 ns3028925 postfix/anvil[3668]: statistics: max cache size 1 at Jul 12 13:03:33 Jul 12 13:08:19 ns3028925 postfix/pickup[3150]: 8B16544ACE: uid=1000 from=<myUser> Jul 12 13:08:19 ns3028925 postfix/cleanup[4402]: 8B16544ACE: message-id=<[email protected]> Jul 12 13:08:19 ns3028925 opendkim[22310]: 8B16544ACE: no signing table match for '[email protected]' Jul 12 13:08:19 ns3028925 opendkim[22310]: 8B16544ACE: no signature data Jul 12 13:08:19 ns3028925 postfix/qmgr[9076]: 8B16544ACE: from=<[email protected]>, size=11013, nrcpt=1 (queue active) Jul 12 13:13:19 ns3028925 postfix/smtp[4412]: 8B16544ACE: conversation with eur.olc.protection.outlook.com[104.47.2.33] timed out while receiving the initial server greeting Jul 12 13:13:20 ns3028925 postfix/smtp[4412]: Trusted TLS connection established to eur.olc.protection.outlook.com[104.47.0.33]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits) Jul 12 13:13:20 ns3028925 postfix/smtp[4412]: 8B16544ACE: to=<[email protected]>, relay=eur.olc.protection.outlook.com[104.47.0.33]:25, delay=301, delays=0.23/0.04/301/0.66, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=13447542626928, Hostname=HE1EUR01HT162.eop-EUR01.prod.protection.outlook.com] 16789 bytes in 0.394, 41.566 KB/sec Queued mail for delivery -> 250 2.1.5) Jul 12 13:13:20 ns3028925 postfix/qmgr[9076]: 8B16544ACE: removed Jul 12 13:13:52 ns3028925 postfix/pickup[3150]: 46C5D40C74: uid=1000 from=<myUser> Jul 12 13:13:52 ns3028925 postfix/cleanup[5293]: 46C5D40C74: message-id=<[email protected]> Jul 12 13:13:52 ns3028925 opendkim[22310]: 46C5D40C74: no signing table match for '[email protected]' Jul 12 13:13:52 ns3028925 opendkim[22310]: 46C5D40C74: no signature data Jul 12 13:13:52 ns3028925 postfix/qmgr[9076]: 46C5D40C74: from=<[email protected]>, size=618, nrcpt=1 (queue active) Jul 12 13:13:52 ns3028925 postfix/smtp[4412]: Untrusted TLS connection established to mail.domain.com[XXX.XXX.XXX.XXX]:25: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) Jul 12 13:13:52 ns3028925 postfix/smtp[4412]: 46C5D40C74: to=<[email protected]>, relay=mail.domain.com[XXX.XXX.XXX.XXX]:25, delay=0.37, delays=0.11/0.03/0.03/0.19, dsn=2.0.0, status=sent (250 OK id=1fdZYx-0000Mc-50) Jul 12 13:13:52 ns3028925 postfix/qmgr[9076]: 46C5D40C74: removed Jul 12 13:18:58 ns3028925 postfix/pickup[3150]: 3C5C640D0B: uid=1000 from=<myUser> Jul 12 13:18:58 ns3028925 postfix/cleanup[6073]: 3C5C640D0B: message-id=<[email protected]> Jul 12 13:18:58 ns3028925 opendkim[22310]: 3C5C640D0B: no signing table match for '[email protected]' Jul 12 13:18:58 ns3028925 opendkim[22310]: 3C5C640D0B: no signature data Jul 12 13:18:58 ns3028925 postfix/qmgr[9076]: 3C5C640D0B: from=<[email protected]>, size=82640, nrcpt=1 (queue active) Jul 12 13:18:58 ns3028925 postfix/pickup[3150]: 648183FDB3: uid=1000 from=<myUser> Jul 12 13:18:58 ns3028925 postfix/cleanup[6073]: 648183FDB3: message-id=<[email protected]> Jul 12 13:18:58 ns3028925 opendkim[22310]: 648183FDB3: no signing table match for '[email protected]' Jul 12 13:18:58 ns3028925 opendkim[22310]: 648183FDB3: no signature data Jul 12 13:18:58 ns3028925 postfix/smtp[6085]: Untrusted TLS connection established to mail.domain.com[XXX.XXX.XXX.XXX]:25: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) Jul 12 13:18:58 ns3028925 postfix/qmgr[9076]: 648183FDB3: from=<[email protected]>, size=17254, nrcpt=1 (queue active) Jul 12 13:18:58 ns3028925 postfix/smtp[6085]: 3C5C640D0B: to=<[email protected]>, relay=mail.domain.com[XXX.XXX.XXX.XXX]:25, delay=0.76, delays=0.23/0.06/0.03/0.43, dsn=2.0.0, status=sent (250 OK id=1fdZdt-0000WK-7N) Jul 12 13:18:58 ns3028925 postfix/qmgr[9076]: 3C5C640D0B: removed Jul 12 13:18:58 ns3028925 postfix/smtp[6086]: Trusted TLS connection established to eur.olc.protection.outlook.com[104.47.6.33]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits) Jul 12 13:18:59 ns3028925 postfix/smtp[6086]: 648183FDB3: to=<[email protected]>, relay=eur.olc.protection.outlook.com[104.47.6.33]:25, delay=1.2, delays=0.15/0.02/0.48/0.55, dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> [InternalId=13610751391253, Hostname=VE1EUR02HT175.eop-EUR02.prod.protection.outlook.com] 22972 bytes in 0.352, 63.615 KB/sec Queued mail for delivery -> 250 2.1.5) Jul 12 13:18:59 ns3028925 postfix/qmgr[9076]: 648183FDB3: removed Jul 12 13:22:05 ns3028925 postfix/submission/smtpd[6670]: connect from MyDomain[XXX.XXX.XXX.XXX] Jul 12 13:22:05 ns3028925 postfix/submission/smtpd[6670]: disconnect from MyDomain[XXX.XXX.XXX.XXX] ehlo=1 auth=0/1 quit=1 commands=2/3 Jul 12 13:25:25 ns3028925 postfix/anvil[6671]: statistics: max connection rate 1/60s for (submission:XXX.XXX.XXX.XXX) at Jul 12 13:22:05 Jul 12 13:25:25 ns3028925 postfix/anvil[6671]: statistics: max connection count 1 for (submission:XXX.XXX.XXX.XXX) at Jul 12 13:22:05 Jul 12 13:25:25 ns3028925 postfix/anvil[6671]: statistics: max cache size 1 at Jul 12 13:22:05 Jul 12 14:00:06 ns3028925 postfix/pickup[3150]: 04B9E44ACE: uid=0 from=<[email protected]> Jul 12 14:00:06 ns3028925 postfix/cleanup[12550]: 04B9E44ACE: message-id=<1531396805.12435.1@MyDomain> Jul 12 14:00:06 ns3028925 opendkim[22310]: 04B9E44ACE: no signing table match for '[email protected]' Jul 12 14:00:06 ns3028925 opendkim[22310]: 04B9E44ACE: no signature data Jul 12 14:00:06 ns3028925 postfix/qmgr[9076]: 04B9E44ACE: from=<[email protected]>, size=507, nrcpt=1 (queue active) Jul 12 14:00:06 ns3028925 postfix/smtp[12560]: Trusted TLS connection established to aspmx.l.google.com[XXX.XXX.XXX.XXX]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jul 12 14:00:06 ns3028925 postfix/smtp[12560]: 04B9E44ACE: to=<[email protected]>, relay=aspmx.l.google.com[XXX.XXX.XXX.XXX]:25, delay=0.96, delays=0.19/0.06/0.54/0.18, dsn=2.0.0, status=sent (250 2.0.0 OK 1531396806 h10-v6si2938158wme.215 - gsmtp) Jul 12 14:00:06 ns3028925 postfix/qmgr[9076]: 04B9E44ACE: removed Jul 12 14:02:42 ns3028925 postfix/pickup[3150]: 2B83C40C74: uid=1000 from=<myUser> Jul 12 14:02:42 ns3028925 postfix/cleanup[12950]: 2B83C40C74: message-id=<[email protected]> Jul 12 14:02:42 ns3028925 opendkim[22310]: 2B83C40C74: no signing table match for '[email protected]' Jul 12 14:02:42 ns3028925 opendkim[22310]: 2B83C40C74: no signature data Jul 12 14:02:42 ns3028925 postfix/qmgr[9076]: 2B83C40C74: from=<[email protected]>, size=2254, nrcpt=1 (queue active) Jul 12 14:02:42 ns3028925 postfix/smtp[12960]: Trusted TLS connection established to idmx04.idline.fr[109.239.123.246]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits) Jul 12 14:02:48 ns3028925 postfix/smtp[12960]: 2B83C40C74: to=<[email protected]>, relay=idmx04.idline.fr[109.239.123.246]:25, delay=5.9, delays=0.16/0.06/0.24/5.5, dsn=2.0.0, status=sent (250 Ok: queued as B47D214C0096) Jul 12 14:02:48 ns3028925 postfix/qmgr[9076]: 2B83C40C74: removed Jul 12 14:09:14 ns3028925 postfix/submission/smtpd[13999]: connect from ec2-54-153-121-4.us-west-1.compute.amazonaws.com[XXX.XXX.XXX.XXX] Jul 12 14:09:15 ns3028925 postfix/submission/smtpd[13999]: Anonymous TLS connection established from ec2-54-153-121-4.us-west-1.compute.amazonaws.com[XXX.XXX.XXX.XXX]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits) Jul 12 14:09:25 ns3028925 postfix/submission/smtpd[13999]: lost connection after EHLO from ec2-54-153-121-4.us-west-1.compute.amazonaws.com[XXX.XXX.XXX.XXX] Jul 12 14:09:25 ns3028925 postfix/submission/smtpd[13999]: disconnect from ec2-54-153-121-4.us-west-1.compute.amazonaws.com[XXX.XXX.XXX.XXX] ehlo=2 starttls=1 commands=3 Jul 12 14:12:46 ns3028925 postfix/anvil[14003]: statistics: max connection rate 1/60s for (submission:XXX.XXX.XXX.XXX) at Jul 12 14:09:14 Jul 12 14:12:46 ns3028925 postfix/anvil[14003]: statistics: max connection count 1 for (submission:XXX.XXX.XXX.XXX) at Jul 12 14:09:14 Jul 12 14:12:46 ns3028925 postfix/anvil[14003]: statistics: max cache size 1 at Jul 12 14:09:14 Jul 12 14:16:03 ns3028925 postfix/postscreen[15028]: CONNECT from [XXX.XXX.XXX.XXX]:58126 to [XXX.XXX.XXX.XXX]:25 Jul 12 14:16:03 ns3028925 postfix/postscreen[15028]: PREGREET 11 after 0.01 from [XXX.XXX.XXX.XXX]:58126: EHLO USER\r\n Jul 12 14:16:04 ns3028925 postfix/dnsblog[15031]: addr XXX.XXX.XXX.XXX listed by domain zen.spamhaus.org as 127.0.0.11 Jul 12 14:16:04 ns3028925 postfix/dnsblog[15031]: addr XXX.XXX.XXX.XXX listed by domain zen.spamhaus.org as 127.0.0.4 Jul 12 14:16:04 ns3028925 postfix/postscreen[15028]: DNSBL rank 3 for [XXX.XXX.XXX.XXX]:58126 Jul 12 14:16:04 ns3028925 postfix/postscreen[15028]: HANGUP after 0.01 from [XXX.XXX.XXX.XXX]:58126 in tests after SMTP handshake Jul 12 14:16:04 ns3028925 postfix/postscreen[15028]: DISCONNECT [XXX.XXX.XXX.XXX]:58126 Jul 12 14:21:57 ns3028925 postfix/postscreen[15920]: CONNECT from [XXX.XXX.XXX.XXX]:44785 to [XXX.XXX.XXX.XXX]:25 Jul 12 14:21:57 ns3028925 postfix/postscreen[15920]: PREGREET 11 after 0.01 from [XXX.XXX.XXX.XXX]:44785: EHLO User\r\n Jul 12 14:21:57 ns3028925 postfix/dnsblog[15923]: addr XXX.XXX.XXX.XXX listed by domain zen.spamhaus.org as 127.0.0.4 Jul 12 14:21:57 ns3028925 postfix/dnsblog[15923]: addr XXX.XXX.XXX.XXX listed by domain zen.spamhaus.org as 127.0.0.2 Jul 12 14:21:58 ns3028925 postfix/postscreen[15920]: DNSBL rank 3 for [XXX.XXX.XXX.XXX]:44785 Jul 12 14:21:58 ns3028925 postfix/postscreen[15920]: HANGUP after 0.01 from [XXX.XXX.XXX.XXX]:44785 in tests after SMTP handshake Jul 12 14:21:58 ns3028925 postfix/postscreen[15920]: DISCONNECT [XXX.XXX.XXX.XXX]:44785 Jul 12 14:32:46 ns3028925 postfix/submission/smtpd[17387]: connect from MyDomain[XXX.XXX.XXX.XXX] Jul 12 14:32:46 ns3028925 postfix/submission/smtpd[17387]: disconnect from MyDomain[XXX.XXX.XXX.XXX] ehlo=1 auth=0/1 quit=1 commands=2/3
from modoboa-stats.
@BioSs54 Might a cron issue... Can you try to restart your cron daemon and to run the logparser command manually?
from modoboa-stats.
Cmd:
service cron restart
cron.service - Regular background program processing daemon Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled) Active: active (running) since jeu. 2018-07-12 14:45:35 CEST; 4s ago
/srv/modoboa# env/bin/python instance/manage.py logparser
/etc/init.d/uwsgi restart
Still no curves in json response. :-/
I really dont understand. My rrd are generated, my mail log is not empty and readable
from modoboa-stats.
@BioSs54 Can you check that the rrdtool package is installed on your system?
from modoboa-stats.
@tonioo
/srv/modoboa# rrdtool -v RRDtool 1.5.5 Copyright by Tobias Oetiker <[email protected]> Compiled 2016-03-23 10:46:12
Have librrd-dev also of course.
from modoboa-stats.
Have you made any change to the online config? (Modoboa > Parameters > Graphical stats)
from modoboa-stats.
Nope 😢
Chemin d'accès vers le journal ?
/var/log/mail.log
Répertoire où stocker les fichiers RRD ?
/srv/modoboa/rrdfiles
:/srv/modoboa# ll /srv/modoboa/rrdfiles
total 444
drwxrwx--- 2 modoboa modoboa 4096 mai 28 10:35 ./
drwxr-xr-x 8 modoboa modoboa 4096 juil. 3 10:11 ../
-rw-r--r-- 1 root root 109520 juil. 12 14:05 global.rrd
-rw-r--r-- 1 root root 109520 juil. 12 14:05 mail.xxxxxx.com.rrd
-rw-r--r-- 1 root root 2448 juil. 12 15:00 new_accounts.rrd
-rw-r--r-- 1 root root 109520 juil. 12 14:05 xxxxxx.ga.rrd
-rw-r--r-- 1 root root 109520 juil. 11 14:30 xxxxx.xxxx.rrd
:/srv/modoboa# ll /var/log/mail.log
-rw-r----- 1 syslog adm 690844 juil. 12 15:00 /var/log/mail.log
from modoboa-stats.
What's your distribution? Do you think you could upgrade rrdtool version to something > 1.6?
from modoboa-stats.
@tonioo my distri is Ubuntu 16.04.4 LTS. I cant upgrade to 1.6. Do you believe my version is outdated ?
from modoboa-stats.
@BioSs54 I remember there was issues with rrdtool 1.5.x...
from modoboa-stats.
@BioSs54 Could you run the following command on one of your rrd files:
rrdtool xport <your rrd file>
and paste a sample of the output here?
from modoboa-stats.
@tonioo
rrdtool xport mail.xxxxx.com.rrd ERROR: 'mail.xxxxx.com.rrd' is not a valid function name in mail.xxxxx.com.rrd
from modoboa-stats.
Having the same problem with latest modoboa 2.0 on ubuntu 20.04
new installation with the installer
all the rrd files are with 107K
from modoboa-stats.
@lmfrazao Stats should work fine in the new UI
from modoboa-stats.
yes it is working on new UI.
is there any general view for all domains ?
and are the numbers correct like this ?
from modoboa-stats.
i have same problem, new install on ubuntu 22.04.
new UI doesn't have a stats button anywhere that i can find?
from modoboa-stats.
Related Issues (20)
- UnicodeEncodeError while parsing logs HOT 1
- german umlauts in domains breaks logparser HOT 5
- logparser fails to create RRD directory HOT 6
- journald HOT 4
- Stats graph not showing received mail HOT 1
- rrdtool.OperationalError: new_accounts.rrd: illegal attempt to update using time (minimum one second step) HOT 3
- Statstistics graph show 2 times in page HOT 3
- Statistic graph stay in French unless we switch to English
- Time entered in 12 hr should be 24 hr
- Average size graphic broken with Python3
- parser is ignoring all lines
- Remove spam/virus info from statistics graph if not used
- Whishlist: have a refresh on /stats/#graphs/?gset=mailtraffic
- Graph suddenly stopped HOT 19
- Legend block is printed on the graphics
- FutureWarning: Possible nested set at position 29 with Python 3.7
- Wrong langage error message in /stats/
- invalid date HOT 6
- export to JSON directly in graphics.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modoboa-stats.