Number of messages sent per-domain

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
User avatar
maggiore81
Normal user
Normal user
Posts: 171
Joined: 2008-01-11 16:02
Location: near Ravenna (Italy)
Contact:

Number of messages sent per-domain

Post by maggiore81 » 2012-05-29 15:03

Hello
It is possibile to achieve the number of total messages sent on a domain-basis?

A monthly number, etc.

thank you
Mr. Spadoni
Network Administrator
--
Spadhausen ISP
admin (at) spadhausen . com

Bill48105
Developer
Developer
Posts: 6192
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: Number of messages sent per-domain

Post by Bill48105 » 2012-05-29 15:57

If AWSTATS logging is enabled should be pretty easy from there otherwise you'd need to script something which you'd check cuz someone else might have done something useful.
Bill
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***

User avatar
maggiore81
Normal user
Normal user
Posts: 171
Joined: 2008-01-11 16:02
Location: near Ravenna (Italy)
Contact:

Re: Number of messages sent per-domain

Post by maggiore81 » 2012-07-01 12:50

I have the logging via AWSTATS for the mail server, but I cannot see the email sents per-domain
Mr. Spadoni
Network Administrator
--
Spadhausen ISP
admin (at) spadhausen . com

User avatar
mattg
Moderator
Moderator
Posts: 20632
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Number of messages sent per-domain

Post by mattg » 2012-07-01 14:13

Have you set up AWstats?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
maggiore81
Normal user
Normal user
Posts: 171
Joined: 2008-01-11 16:02
Location: near Ravenna (Italy)
Contact:

Re: Number of messages sent per-domain

Post by maggiore81 » 2012-07-01 14:17

Of Course.
I have made a conf file and I can get some stats
Mr. Spadoni
Network Administrator
--
Spadhausen ISP
admin (at) spadhausen . com

User avatar
mattg
Moderator
Moderator
Posts: 20632
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Number of messages sent per-domain

Post by mattg » 2012-07-02 14:38

Thanks for the PM with the link to your AWStats page.

From the AWStats documentation here >> http://awstats.sourceforge.net/docs/aws ... .html#MAIL
There is a config file entry
ShowDomainsStats=

What happens if you set that to 0 rather than letters?

I'm only guessing, but I've just googled a few blogs on how to generate stats per domain with AWStats
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
maggiore81
Normal user
Normal user
Posts: 171
Joined: 2008-01-11 16:02
Location: near Ravenna (Italy)
Contact:

Re: Number of messages sent per-domain

Post by maggiore81 » 2012-07-02 18:02

I updated the awstats with your value

nothing changed.
you can browse the link and now it is with domainstats=0
Mr. Spadoni
Network Administrator
--
Spadhausen ISP
admin (at) spadhausen . com

Post Reply