Topic: local deliver - root
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: CentOS 6.7on LXC/Proxmox 4.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Email to root is winding up in ~/dead.letter rather than being delivered to the local mail box. I've checked my domain name, origin and setup mynetworks in /etc/postfix/main.cf and /opt/iredapd/settings.py still local delivery fails.
Example:
============================================================================
echo "This is a test" | mail -s testing123 root@<MYDOMAIN>
Results in:
May 9 10:35:56 webmail postfix/smtpd[10883]: connect from unknown[192.168.XXX.252]
May 9 10:35:56 webmail postfix/smtpd[10883]: NOQUEUE: reject: RCPT from unknown[192.168.XXX.252]: 550 5.1.1 <root@<MYDOMAIN>>: Recipient address rejected: User unknown in virtual mailbox table; from=<root@webmail.<MYDOMAIN>> to=<root@<MYDOMAIN>> proto=SMTP helo=<webmail.<MYDOMAIN>>
May 9 10:35:56 webmail sSMTP[10882]: RCPT TO:<root@<MYDOMAIN>> (550 5.1.1 <root@<MYDOMAIN>>: Recipient address rejected: User unknown in virtual mailbox table)
============================================================================
The machine is not yet in production so the domain is NOT in DNS - this may be part of the issue - I do have everything setup in /etc/hosts properly.
Do I need to add root or is there a setting I'm missing to allow local delivery?
Thank you
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.