1

Topic: root@host & 1st virtual

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

Hello,
CentOS - MySQL - Admin Pro current.
New build on certain date which resulted in various Amavis DB schemas. 

Initial install with postmaster@sub.domain_name.tld created.
Production system another datacenter.
Rsycn mail across.
Production systems did NOT have the sub.domain_name.tld in the system and thus not postmaster either.
Did Mysql dump of production and restore to new system.  Same versions of software BUT the repo for Amavisd DB has updated to new release, either your RPM or they released... 

Run: postqueue -p

See email for root@sub.domain_name.tld and even postmaster@sub.domain_name.tld. 
Review of email seems to be log data from backupscripts, etc. 

Remove all mail. 
Attempted to add sub.domain_name.tld to system along with a postmaster@sub.domain_name.tld. 

However, postqueue -p still shows email with ID* as if hung in processing.  Will not flush and does not deliver to said address once created in iRedAdmin-Pro. 

So, where, what to correct the issue?
What has occurred in installing such system/scenario causing failure?
What is the best practice to use for initial domain_name during install and/or use of subdomain?

Thank you.

----

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

2

Re: root@host & 1st virtual

Use a valid email address for alias address in /etc/postfix/aliases. then run command 'postalias /etc/postfix/aliases'.

3 (edited by pbf343 2015-08-14 18:19:38)

Re: root@host & 1st virtual

ZhangHuangbin wrote:

Use a valid email address for alias address in /etc/postfix/aliases. then run command 'postalias /etc/postfix/aliases'.

When you say to "Use a valid email" in the file, do you mean essentially replace the existing address? 
If correct, should the current e-mail be processed and delivered to that new address or only future emails?

Does this accurate otherwise?


gdm:            root
mailnull:       root
postgres:       root
sshd:           root
smmsp:          root
postfix:        root
netdump:        root
ldap:           root
squid:          root
ntp:            root
mysql:          root
desktop:        root
rpcuser:        root
rpc:            root
nfsnobody:      root

ingres:         root
system:         root
toor:           root
manager:        root
dumper:         root
abuse:          root

newsadm:        news
newsadmin:      news
usenet:         news
ftpadm:         ftp
ftpadmin:       ftp
ftp-adm:        ftp
ftp-admin:      ftp
www:            webmaster
webmaster:      root
noc:            root
security:       root
hostmaster:     root
info:           postmaster
marketing:      postmaster
sales:          postmaster
support:        postmaster


# trap decode to catch security attacks
decode:         root

# Person who should get root's mail
#root:          marc
nginx: root
nobody: root
vmail: root
root: valid_admin_email_account@domain_name.tld
# root: postmaster@subdomain.domain_name.tld
cluebringer: root
clam: root
sogo: root

4

Re: root@host & 1st virtual

It would appear that such edits worked and the existing email in queue did process to the new email address.

Thank you.