Comments (9)
Does anyone have any advice on this issue?
from modoboa.
@pappastech Do you have a lot of traffic on this server?
from modoboa.
@pappastech Do you have a lot of traffic on this server?
Not sure on your definition of "a lot of traffic". The average is usually 20-100 e-mails per hour.
from modoboa.
@pappastech The log parser is not very efficient since it analyses the complete file every time it runs (so every 5 mins by default).
You should check how much time is required for it to complete and then adjust the frequency.
from modoboa.
@pappastech The log parser is not very efficient since it analyses the complete file every time it runs (so every 5 mins by default). You should check how much time is required for it to complete and then adjust the frequency.
I've run the log parser manually and it doesn't take more than 15-20 seconds. The problem is that it's not generating the rrd file at all. My guess is that it's running into an error somewhere in the processing, but doesn't log any errors itself, so I'm not sure where it's going sideways.
As a separate issue, none of the MX, DKIM, DMARC, etc. checks are working correctly at the moment either. In other words, I have all those records created in DNS, but the process to check them somehow doesn't see those records. There's a general lack of things working and it's difficult for me to troubleshoot since the cron tasks aren't logging output anywhere.
from modoboa.
I did figure out the MX, DKIM record checks. SEPM running on the Hyper-V host was causing that problem. I'm still not seeing log parsing working though; any ideas?
from modoboa.
I have something similar happening on a fresh install of 2.2.4 on top of fresh install of Debian 12. This is something I happened to notice, I don't think the graphs are something I would look at frequently.
root@mail:/home/matto# /srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py logparser
/srv/modoboa/env/lib/python3.11/site-packages/modoboa/maillog/management/commands/logparser.py:97: FutureWarning: Possible nested set at position 29
self._regex = {k: re.compile(v) for k, v in self._regex.items()}
drwxrwx--- 2 modoboa modoboa 4096 Mar 17 08:00 .
drwxr-xr-x 7 modoboa modoboa 4096 Mar 17 07:06 ..
-rw-r--r-- 1 root root 2448 Mar 20 18:00 new_accounts.rrd
My rrdfiles directory is owned by modoboa:modoboa but the present new_accounts.rrd is owned by root where as pappastech's new_accounts.rrd is owned by modoboa. The new accounts graph is working on my setup.
Does python version play any relevance?
root@mail:/home/matto# /srv/modoboa/env/bin/python -V
Python 3.11.2
from modoboa.
@layer3-fl And you confirm there is mail traffic on your server?
from modoboa.
@tonioo That is correct. I can also confirm my log file is /var/log/mail.log and I have not made any changes to the statistics parameters in the GUI.
from modoboa.
Related Issues (20)
- bootstrap-datetimepicker requires jQuery to be loaded first
- DJango and deprecated functions HOT 3
- TypeError at /contacts/ string indices must be integers
- I can't send E-Mails
- latest installer didnt install v env for auto mx HOT 3
- After 30 domains I can't access domains at the bottom of the page HOT 4
- AuthenticationError at / HOT 1
- Upgrade from 2.0.3 to 2.0.4 error HOT 1
- Easy Install Fails to configure nginx HOT 1
- 'Calendars' tab from webmail fails with "Error reading /srv/modoboa/...../modoboa_radicale/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?" HOT 3
- password_scheme [ '"sha512crypt" is not a valid choice.' ] HOT 4
- dkim_keys_storage_dir [ "Directory non-writable" ] HOT 1
- Problems after upgrade 2.0.4 to 2.1.0 HOT 11
- Alias of mainbox is not represents in UI HOT 5
- Documentation lacks using unix socket HOT 4
- Mail traffic suddenly is empty, no refreshed statistics HOT 2
- IMAPsync configfile configuration and generation HOT 5
- Logging: ERROR modoboa.admin No AAAA record for mail.<domain> but server is smtp.<domain> HOT 3
- v1 and v2 interfaces are not in sync HOT 1
- Add a new quota handler
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.