Koozali.org: home of the SME Server

Mailstats report

Offline Nestore

  • 15
  • +0/-0
Mailstats report
« on: July 06, 2022, 04:49:50 PM »
Ho abilitato Mailstats con report giornaliero, da tempo mi aiuta a capire tante cose sulle statistiche di utilizzo.

Solo non comprendo bene alcuni punti esempio:

Statistics by Hour:
-------------------------------------------------------------------------------------------------------------
           Hour|WebMail|Local|Relay|Virus|RBL/DNS|Execut.|Non.Conf.|Del.Spam|Qued.Spam?|  Ham|TOTALS|PERCENT|
--------------- ------- ----- ----- ----- ------- ------- --------- -------- ---------- ----- ------ -------
2022-07-05, 00       0     0     0     0       0       0         0        0          0     0      0    0.0%
2022-07-05, 01       0     0     0     0       0       0         0        0          0     0      0    0.0%
2022-07-05, 02       0     0     0     0       0       0         0        0          0     0      0    0.0%
2022-07-05, 03       0     0     0     0       0       0         0        0          0     1      1    0.3%
2022-07-05, 04       0     0     0     0       0       0         4        0          0     0      4    1.2%
2022-07-05, 05       0     0     0     0       0       0         2        1          0     0      3    0.9%
2022-07-05, 06       0     0     0     0       0       0         0        0          0     1      1    0.3%
2022-07-05, 07       0     0     0     0       0       0         0        1          2     9     12    3.6%
2022-07-05, 08       0     0     1     0       1       0         0        0          1     9     11    3.3%
2022-07-05, 09       0     0     2     0       0       0         0        0          2    23     25    7.6%
2022-07-05, 10       0     0     0     0       0       0         0        1          0    17     18    5.5%
2022-07-05, 11       0     0     0     0       2       1         0        2          2    27     34   10.3%
2022-07-05, 12       0     2     0     0       0       0         0        1          2    27     30    9.1%
2022-07-05, 13       0     8     0     0       0       1        12        0          2    22     37   11.2%
2022-07-05, 14       0     6     0     0       0       0         0        0          2    25     27    8.2%
2022-07-05, 15       0     4     0     0       0       0         0        0          1    10     11    3.3%
2022-07-05, 16       0     0     1     0       0       0         0        0          1    27     28    8.5%
2022-07-05, 17       0     4     2     0       0       0         0        0          1    32     33   10.0%
2022-07-05, 18       0     6     0     0       0       0         0        0          0    12     12    3.6%
2022-07-05, 19       0     8     0     0       0       0         0        0          0    10     10    3.0%
2022-07-05, 20       0     6     0     0       0       0         0        0          0     9      9    2.7%
2022-07-05, 21       0     8     0     0       0       0         0        0          0     9      9    2.7%
2022-07-05, 22       0     6     0     0       0       0         0        0          0     7      7    2.1%
2022-07-05, 23       0     8     0     0       0       0         0        0          0     8      8    2.4%
--------------- ------- ----- ----- ----- ------- ------- --------- -------- ---------- ----- ------ -------
TOTALS               0    66     6     0       3       2        18        6         16   285    330   100.0%
PERCENTAGES        0.0% 20.0%  1.8%  0.0%    0.9%    0.6%      5.5%     1.8%       4.8% 86.4% 100.0%  100.0%
-------------------------------------------------------------------------------------------------------------
*Local* means connections from workstations on local LAN.

*Non.Conf.* means sending mailserver did not conform to correct protocol  or email was to non existant address.

Incoming mails by recipient domains usage
-----------------------------------------
Domains                      Type       Total  Denied XferErr Accept %accept
---------------------------- ---------- ------ ------ ------- ------ -------
Internal                     other          70      0       0     70 100.00%
Others                       other          62     21       0     41  66.13%
Outgoing                     other           2      0       0      2 100.00%
miodominio.org            local          47      0       0     47 100.00%
miodominio2.net           local         149      8       0    141  94.63%
---------------------------- ---------- ------ ------- ------ ------ -------
Total                                      330     29       0    301  91.21%

Vorrei capire cosa si intende per INTERNAL, OTHERS, OUTGOING, che si vanno ad aggiungere a miodominio.org e miodominio2.net che sono effettivamente i domini configurati da cui invio e ricevo mail.

Inoltre non capisco come posso avere mail sulla colonna RELAY. Quando avviene questo tipo di connessione?

Grazie a tutti!


Offline Jean-Philippe Pialasse

  • *
  • 2,745
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Mailstats report
« Reply #1 on: July 06, 2022, 05:25:46 PM »
internal are from the server itself : either from a daemon or from a user.

outgoing are generated by daemon and delivered to outside of the server. 

others are for not known domain to your server. 

Offline Nestore

  • 15
  • +0/-0
Re: Mailstats report
« Reply #2 on: July 07, 2022, 04:06:40 PM »
internal are from the server itself : either from a daemon or from a user.

outgoing are generated by daemon and delivered to outside of the server. 

others are for not known domain to your server.

ok Thanks a lot, but I still don't understand:

Internal, if they are generated by the SME daemon or by a configured user, they should be present in "mydomain.org" or "mydomain2.net", but from what I see the entry internal is not part of mydomainXXX ... so since we talk about "Incoming mails by recipient domains usage" who is the recipient if not mydomainXXX?

Outgoing: How is it possible for the daemon to deliver mail to the outside? I have configured that I send mail only to admin alias postmaster @ mydomainXXX ... How can I see debugging of these transactions?

Others: Does this mean that my server has received an email from a domain that does not yet appear in the history of the domains from which I receive emails?

Offline Jean-Philippe Pialasse

  • *
  • 2,745
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Mailstats report
« Reply #3 on: July 07, 2022, 09:45:04 PM »
internal not necessarily. most daemons will use localhost or the hostname.
php could use any domain you configured in you php app even if not one of the server.
those are only two examples among all possibilities.

outgoing see qmail log.

others: no history there. just domains not configured on your server as far as i remember.
« Last Edit: July 07, 2022, 09:46:49 PM by Jean-Philippe Pialasse »