1

Topic: How to replicate the iRedMail Security Status Mails without iRedmail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version ---
- Deployed with iRedMail ---
- Debian 11
- Store mail accounts ---
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? -- no
====

Hi there,

I tried iRedMail some months ago and really fell in love with the security status mails. It was awesome to see root logins, with ip address, login attempts, fail2ban, virus scans and all the other logs.

How can I apply such status mails on a server that isn't iRedMail. It should be possible, since iRedMail is opensource smile

----

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

2

Re: How to replicate the iRedMail Security Status Mails without iRedmail

thats simply watchlog

3

Re: How to replicate the iRedMail Security Status Mails without iRedmail

I don't like being spoonfeeded, but I can't find any guide on how to do something even similar to what iRedMail does. Can you please point me in the right direction? Also thanks for the quick response

4 (edited by Cthulhu 2022-11-17 00:23:21)

Re: How to replicate the iRedMail Security Status Mails without iRedmail

debian 11:

apt-get install watchlog

thats's all, it is not iredmail related

if you want to automate it, create a daily cron with:

logwatch --detail high --range yesterday --format html --mailto root

5

Re: How to replicate the iRedMail Security Status Mails without iRedmail

root@vGateway:~# apt-get install whatchlog
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package whatchlog
root@vGateway:~#

6

Re: How to replicate the iRedMail Security Status Mails without iRedmail

tinfoil-hat wrote:

root@vGateway:~# apt-get install whatchlog

It's watchlog, not whatchlog smile

7

Re: How to replicate the iRedMail Security Status Mails without iRedmail

RikuS wrote:
tinfoil-hat wrote:

root@vGateway:~# apt-get install whatchlog

It's watchlog, not whatchlog smile

Well, not exactly. In Debian Bullseye it is logwatch. Thank you very much for pointing me in the right direction smile

8

Re: How to replicate the iRedMail Security Status Mails without iRedmail

tinfoil-hat wrote:

Well, not exactly. In Debian Bullseye it is logwatch. Thank you very much for pointing me in the right direction smile

Oh yes, you're absolutely right and well spotted! Glad we got all the typos fixed and hope it's working for you smile