1 (edited by ambot777 2016-03-26 16:22:08)

Topic: Forward postmaster logs (Logwatch) to another email

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version:  Ubunutu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Hi,

There are two domains in our mail server and we are deactivating the first domain we created.

How can I forward the logs (Log Watch) sent to the default postmaster@domain1.com to postmaster@domain2.com?

I already created a postmaster account for the second domain.

Any help will be appreciated. Thanks!

----

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

2

Re: Forward postmaster logs (Logwatch) to another email

Please update /etc/postfix/aliases, replace the postmater1@domain1.com, then run:

postalias /etc/postfix/aliases

3

Re: Forward postmaster logs (Logwatch) to another email

I have it working already.

Thanks ZhangHuangbin! You're the best.