Koozali.org: home of the SME Server

Tree For All outgoing and incomming mails

Offline Mar

  • ***
  • 73
  • +0/-0
Tree For All outgoing and incomming mails
« on: January 05, 2017, 11:10:57 AM »
Dears,
I am looking for add on or easy way  to my mail server which runs under SME 8 that enable me to get statistics in details about:
1- All incoming and out going mail for all users.
2- Number of failed message to send.
3- Failure reason.

Thank a lot 

Offline Jean-Philippe Pialasse

  • *
  • 2,743
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Tree For All outgoing and incomming mails
« Reply #1 on: January 05, 2017, 06:23:07 PM »
Dears,

HI M_aboush,

I am looking for add on or easy way  to my mail server which runs under SME 8 that enable me to get statistics in details about:
first I must give you a warning, before starting to work on this you should migrate to SME9. SME8 is end of life ( meaning no more updates, including security ones) at the end of March 2017.

1- All incoming and out going mail for all users.
So basically you want information about :
incoming : qpsmtpd/ sqpsmtpd
outgoing: qmail

you have a few contribs that does a different things :
- https://wiki.koozali.org/Mailstats will give some information about incomming email daily
- https://wiki.koozali.org/Sme9admin is now enhanced to give chart of incoming and outgoing email with reason of failure for incoming, and only failure, deferral and success for outgoing
- https://wiki.koozali.org/Isoqlog will give you daily, monthly, yearly stats about top recipients and from by domain
- few scripts also worth trying to read the following to find some : https://wiki.contribs.org/Email

2- Number of failed message to send.
- you can get this with sme9admin as written just before. (need to upgrade to SME9)

3- Failure reason.
you get them with mailstats and sme9admin for incoming.
For outgoing you need to do your own script, and this will be some work as there are plenty of error code depending of providers.

Offline Mar

  • ***
  • 73
  • +0/-0
Re: Tree For All outgoing and incomming mails
« Reply #2 on: January 06, 2017, 08:33:13 AM »
Thanks a Lot for you.

Offline Mar

  • ***
  • 73
  • +0/-0
Re: Tree For All outgoing and incomming mails
« Reply #3 on: January 06, 2017, 09:10:45 AM »
What is the safest way to migrate SME9 with 8

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Tree For All outgoing and incomming mails
« Reply #4 on: January 06, 2017, 02:36:24 PM »
What is the safest way to migrate SME9 with 8

Please check the wiki:

https://wiki.contribs.org/SME_Server:9.1

Backup, install, restore.

You cannot 'upgrade' (this is due to Redhat, not Koozali SME)

There are other ways e.g. affa, using extra harddisks etc. Please check the wiki for details. However, the above is the simplest.

Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation