1

Topic: Postfix Aliase File differnent - 7.4 - 8.1

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
==== ==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):iRedmail 0.8.1and LDAP PRO
- Linux/BSD distribution name and version:Cent OS 6.2 64 Bit
- Any related log? Log is helpful for troubleshooting.
====

Hi Zhang,

I installed fresh iRedmail 0.8.1 on Cent OS 6.2 64 Bit on Test machine.But I few mails (log watch) was stuck in mailq.

When I dig out then found root@localhost mails was not redirected to any account in aliase file.Pls found below both version the aliase file for reference.

IRedmail 0.7.4 aliase file:

# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: itsupport
clamav: root
root: www@mydomain.com
policyd: www@mydomain.com
amavis: root

IRedmail 0.8.1 aliase file:

apache: root
policyd: root

When I added root:test@mydomain.com , then queue mails are flushed out else logwatch mails are not going out.

What can I now. Should I copy the 0.7.4 aliase content to newly installed server 0.8.1 ?

Note: I installed twice 0.8.1 and found same aliase file.

Pls suggest Zhang.

thanks in advance.

----

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

2

Re: Postfix Aliase File differnent - 7.4 - 8.1

iRedMail-0.8.1 doesn't create alias for root user anymore, because the first mail user created during iRedMail installation is "test@xxx.com". It means we recommend to delete this user after you make sure all mail services are working as expected.

So, what you need to do now is just creating an alias for root user, forward emails to an valid email address. For example, your email address.

root: your_email@domain.com

Then execute command 'newaliases' to generate hashed db, Postfix will detect file change and reload it automatically.