[GH-ISSUE #1000] no statistics/graphs #850

Closed
opened 2026-02-27 11:13:55 +03:00 by kerem · 31 comments
Owner

Originally created by @JayBeRayBearGun on GitHub (Jan 9, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1000

Just noticed I don't seem to have the nice graphs displaying the mail statistics. How can I debug this?

Originally created by @JayBeRayBearGun on GitHub (Jan 9, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1000 Just noticed I don't seem to have the nice graphs displaying the mail statistics. How can I debug this?
kerem closed this issue 2026-02-27 11:13:55 +03:00
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 9, 2017):

on a side note,... despite following instructions I can't change the default modoboa logo on the sign-in page.

<!-- gh-comment-id:271437432 --> @JayBeRayBearGun commented on GitHub (Jan 9, 2017): on a side note,... despite following instructions I can't change the default modoboa logo on the sign-in page.
Author
Owner

@tonioo commented on GitHub (Jan 10, 2017):

First, make sure you installed the rrdtool binary please. About the logo, I suggest you open a dedicated issue if it still persists.

<!-- gh-comment-id:271513001 --> @tonioo commented on GitHub (Jan 10, 2017): First, make sure you installed the rrdtool binary please. About the logo, I suggest you open a dedicated issue if it still persists.
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

The rrdtool regular package is installed but not the python-rrdtool package if this should be installed then the automatic installer script must have missed it. Could this be the case?

<!-- gh-comment-id:271543029 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): The rrdtool regular package is installed but not the python-rrdtool package if this should be installed then the automatic installer script must have missed it. Could this be the case?
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

The logo issue is partly resolved. The filename was different as the one referenced. However correcting this did not fix it yet. I'll investigate further.

<!-- gh-comment-id:271546329 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): The logo issue is partly resolved. The filename was different as the one referenced. However correcting this did not fix it yet. I'll investigate further.
Author
Owner

@tonioo commented on GitHub (Jan 10, 2017):

Do you receive any traffic on this server. If not, the stats will remain empty.

<!-- gh-comment-id:271664232 --> @tonioo commented on GitHub (Jan 10, 2017): Do you receive any traffic on this server. If not, the stats will remain empty.
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

Oh yes, there is plenty of traffic now (this is not on the test domain anymore). There is not even en empty graph, there is just nothing.

<!-- gh-comment-id:271681853 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): Oh yes, there is plenty of traffic now (this is not on the test domain anymore). There is not even en empty graph, there is just nothing.
Author
Owner

@ghost commented on GitHub (Jan 10, 2017):

Try to run the log parser manually. See if there's some kind of error.

Just my 2 cents. Cheers!

<!-- gh-comment-id:271689354 --> @ghost commented on GitHub (Jan 10, 2017): Try to run the log parser manually. See if there's some kind of error. Just my 2 cents. Cheers!
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

You mean grep /var/log/syslog? PS: /srv/modoboa/rrdfiles is empty

<!-- gh-comment-id:271690408 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): You mean grep /var/log/syslog? PS: /srv/modoboa/rrdfiles is empty
Author
Owner

@ghost commented on GitHub (Jan 10, 2017):

No, the one in the cronjob. On my server will be like this:

sudo -u mdb /srv/modoboa/venv/bin/python /srv/modoboa/mdb/manage.py logparser

<!-- gh-comment-id:271693289 --> @ghost commented on GitHub (Jan 10, 2017): No, the one in the cronjob. On my server will be like this: > sudo -u mdb /srv/modoboa/venv/bin/python /srv/modoboa/mdb/manage.py logparser
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

Ok got it, but where does the ouput go?

<!-- gh-comment-id:271695098 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): Ok got it, but where does the ouput go?
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

Hey guess what,... all of the sudden I have a graph! Does this mean the cron script never ran i.e. failed?

<!-- gh-comment-id:271696051 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): Hey guess what,... all of the sudden I have a graph! Does this mean the cron script never ran i.e. failed?
Author
Owner

@ghost commented on GitHub (Jan 10, 2017):

Hmm.. It seems so.

<!-- gh-comment-id:271696247 --> @ghost commented on GitHub (Jan 10, 2017): Hmm.. It seems so.
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

Thanks pal! Much appreciated! Now I wonder why,....

<!-- gh-comment-id:271696366 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): Thanks pal! Much appreciated! Now I wonder why,....
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

On a side note,... do you know if modoboa (or in fact the postfix as it is installed) checks for SPF?

<!-- gh-comment-id:271697464 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): On a side note,... do you know if modoboa (or in fact the postfix as it is installed) checks for SPF?
Author
Owner

@ghost commented on GitHub (Jan 10, 2017):

Did you use modoboa's installer? If yes, then I think Amavis was installed for you, so yeah, SPF will be checked.

<!-- gh-comment-id:271700544 --> @ghost commented on GitHub (Jan 10, 2017): Did you use modoboa's installer? If yes, then I think Amavis was installed for you, so yeah, SPF will be checked.
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

@tonioo Looking at crontab files now,... noticed that the letsencrypt one will not run due to missing EOL at EOF

<!-- gh-comment-id:271700601 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): @tonioo Looking at crontab files now,... noticed that the letsencrypt one will not run due to missing EOL at EOF
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

@csmk yes I did,... i was about to look at postfix-policyd-spf-python but no need if amavis takes care of it then.

<!-- gh-comment-id:271704068 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): @csmk yes I did,... i was about to look at postfix-policyd-spf-python but no need if amavis takes care of it then.
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

hmm,...don't see anything spf related in my recently received emails though or does amavis not write something to the mailheader?

<!-- gh-comment-id:271708218 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): hmm,...don't see anything spf related in my recently received emails though or does amavis not write something to the mailheader?
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 10, 2017):

seems like it is spamassasin not amavis doing the SPF checking

<!-- gh-comment-id:271709392 --> @JayBeRayBearGun commented on GitHub (Jan 10, 2017): seems like it is spamassasin not amavis doing the SPF checking
Author
Owner

@Arvedui commented on GitHub (Jan 11, 2017):

spamassasin does not enforce spf policies, it takes them into account for the score, but a mail with failed spf may still pass as ham.
If you want to enforce spf something like postfix-policyd-spf-python is the only sensible way to go, because you do not want postfix to accept mail with failed spf checks.

<!-- gh-comment-id:271832962 --> @Arvedui commented on GitHub (Jan 11, 2017): spamassasin does not enforce spf policies, it takes them into account for the score, but a mail with failed spf may still pass as ham. If you want to enforce spf something like postfix-policyd-spf-python is the only sensible way to go, because you do not want postfix to accept mail with failed spf checks.
Author
Owner

@tonioo commented on GitHub (Jan 11, 2017):

@JayBeRayBearGun Can we close the stats issue?

<!-- gh-comment-id:271849128 --> @tonioo commented on GitHub (Jan 11, 2017): @JayBeRayBearGun Can we close the stats issue?
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 11, 2017):

YES! by they I think I deserve a price opening (and closing) issue #1000 :)

<!-- gh-comment-id:271897017 --> @JayBeRayBearGun commented on GitHub (Jan 11, 2017): YES! by they I think I deserve a price opening (and closing) issue #1000 :)
Author
Owner

@tonioo commented on GitHub (Jan 11, 2017):

@JayBeRayBearGun ;)

<!-- gh-comment-id:271897210 --> @tonioo commented on GitHub (Jan 11, 2017): @JayBeRayBearGun ;)
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 11, 2017):

PS: I noticed a massive amount of bounced messages from about 11pm yesterday.

Jan 11 16:18:03 ns1 postfix/bounce[9813]: 00B287F66C: sender non-delivery notification: 250A37F66D
Jan 11 16:18:03 ns1 postfix/smtp[9812]: 250A37F66D: to=root@mail.rhebergen.net, relay=none, delay=0.05, delays=0.03/0.01/0.01/0, dsn=5.4.6, status=bounced (mail for mail.rhebergen.net loops back to myself)

not really a bug,... although it bugs me :)

<!-- gh-comment-id:271897465 --> @JayBeRayBearGun commented on GitHub (Jan 11, 2017): PS: I noticed a massive amount of bounced messages from about 11pm yesterday. Jan 11 16:18:03 ns1 postfix/bounce[9813]: 00B287F66C: sender non-delivery notification: 250A37F66D Jan 11 16:18:03 ns1 postfix/smtp[9812]: 250A37F66D: to=<root@mail.rhebergen.net>, relay=none, delay=0.05, delays=0.03/0.01/0.01/0, dsn=5.4.6, status=bounced (mail for mail.rhebergen.net loops back to myself) not really a bug,... although it bugs me :)
Author
Owner

@tonioo commented on GitHub (Jan 11, 2017):

You can remove mail.rhebergen.net from mydestination (actually you can
empty this setting) and declare this domain into modoboa with and
account or an alias to receive messages sent to root@mail.rhebergen.net.
Look at /etc/postfix/main.cf.

On 11/01/2017 16:25, Jan Rhebergen wrote:

PS: I noticed a massive amount of bounced messages from about 11pm
yesterday.

Jan 11 16:18:03 ns1 postfix/bounce[9813]: 00B287F66C: sender
non-delivery notification: 250A37F66D
Jan 11 16:18:03 ns1 postfix/smtp[9812]: 250A37F66D:
to=root@mail.rhebergen.net mailto:root@mail.rhebergen.net,
relay=none, delay=0.05, delays=0.03/0.01/0.01/0, dsn=5.4.6,
status=bounced (mail for mail.rhebergen.net loops back to myself)

not really a bug,... although it bugs me :)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/modoboa/modoboa/issues/1000#issuecomment-271897465,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgc7nJxUYI6YT33qvqN32_KGKrHJx6bks5rRPRqgaJpZM4Le12F.

<!-- gh-comment-id:271898447 --> @tonioo commented on GitHub (Jan 11, 2017): You can remove mail.rhebergen.net from mydestination (actually you can empty this setting) and declare this domain into modoboa with and account or an alias to receive messages sent to root@mail.rhebergen.net. Look at /etc/postfix/main.cf. On 11/01/2017 16:25, Jan Rhebergen wrote: > > PS: I noticed a massive amount of bounced messages from about 11pm > yesterday. > > Jan 11 16:18:03 ns1 postfix/bounce[9813]: 00B287F66C: sender > non-delivery notification: 250A37F66D > Jan 11 16:18:03 ns1 postfix/smtp[9812]: 250A37F66D: > to=root@mail.rhebergen.net <mailto:root@mail.rhebergen.net>, > relay=none, delay=0.05, delays=0.03/0.01/0.01/0, dsn=5.4.6, > status=bounced (mail for mail.rhebergen.net loops back to myself) > > not really a bug,... although it bugs me :) > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/modoboa/modoboa/issues/1000#issuecomment-271897465>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AAgc7nJxUYI6YT33qvqN32_KGKrHJx6bks5rRPRqgaJpZM4Le12F>. >
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 11, 2017):

Ah, ok,... I think I grok it,... will look at it asap. On a side note, I understand alias working on the mail reception side, but how to you use it for sending? Or does an alias not work like that and do you have to create an actuall identitiy for that other account/domain?

<!-- gh-comment-id:271899400 --> @JayBeRayBearGun commented on GitHub (Jan 11, 2017): Ah, ok,... I think I grok it,... will look at it asap. On a side note, I understand alias working on the mail reception side, but how to you use it for sending? Or does an alias not work like that and do you have to create an actuall identitiy for that other account/domain?
Author
Owner

@tonioo commented on GitHub (Jan 11, 2017):

By default with Modoboa, any alias pointing to a local address can be used as a sender address. If you want to add non local identities to an account, look at the sender address field.

<!-- gh-comment-id:271904344 --> @tonioo commented on GitHub (Jan 11, 2017): By default with Modoboa, any alias pointing to a local address can be used as a sender address. If you want to add non local identities to an account, look at the sender address field.
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 11, 2017):

Got it!

<!-- gh-comment-id:271905332 --> @JayBeRayBearGun commented on GitHub (Jan 11, 2017): Got it!
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 11, 2017):

Ok, found it but not quite. I filled out the sender field (for the address from the other domain) But how do I actually use it? Does the webmail interface support this? (perhaps I am looking in the wrong place).

<!-- gh-comment-id:271921580 --> @JayBeRayBearGun commented on GitHub (Jan 11, 2017): Ok, found it but not quite. I filled out the sender field (for the address from the other domain) But how do I actually use it? Does the webmail interface support this? (perhaps I am looking in the wrong place).
Author
Owner

@tonioo commented on GitHub (Jan 11, 2017):

The webmail does not support it atm but you can open an issue on the appropriate repository to keep track of it.

<!-- gh-comment-id:271928773 --> @tonioo commented on GitHub (Jan 11, 2017): The webmail does not support it atm but you can open an issue on the appropriate repository to keep track of it.
Author
Owner

@JayBeRayBearGun commented on GitHub (Jan 11, 2017):

OK

<!-- gh-comment-id:271943723 --> @JayBeRayBearGun commented on GitHub (Jan 11, 2017): OK
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#850
No description provided.