1

Topic: Split logs for multiple domains

==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
==== ==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version: 0.7.4
- Linux/BSD distribution name and version: CentOS 6.2
- Any related log? Log is helpful for troubleshooting.
====
First of all, iRedMail rulls smile

Few days ago, some clients i work for decided to move their domains/emails on my server ( less costs ) so now i`m hosting almost 15 domains. In centos all the email logs go to /var/log/maillog but now its damn hard to read them with 15 domains.
Is there any way i can separate the logs for each domain ? ... something like /var/log/maillog-domain1, /var/log/maillog-domain2 and so on ..
Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Split logs for multiple domains

I don't know how to make Postfix work like this. sorry. sad
Maybe syslog-ng can do it.

3

Re: Split logs for multiple domains

ZhangHuangbin wrote:

I don't know how to make Postfix work like this. sorry. sad
Maybe syslog-ng can do it.

Reading multiple forums I found out that postfix cant split the logs for virtual domains but I found some tool, which gives me exact what i want  ( maybe it can be added into next iredmail and the output to be view in a html page ) - Postfix Log Entry Summarizer
a ) number of emails send / day and hours
b) errors on send/recieved
c) many more futures

Thanks again for all your hard work and the support

4

Re: Split logs for multiple domains

Oh, i forgot that we have Awstats shipped in iRedMail, did you try it? You can access it with URL:
httpS://your_server/awstats/awstats.pl?config=smtp