Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14150

Recipient address rejected, not in virtual mailbox table, for alias

$
0
0

==== Required information ====
- iRedMail version: .0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): postgres
- Web server (Apache or Nginx): apache
- Linux/BSD distribution name and version: Ubuntu
====

I added an alias to my iredmail postgres DB.  I've done this many times before with no problems.  I confirmed that the alias exists and is pointing to the right address in the alias table.

command I use:

INSERT INTO alias (address, goto, domain) VALUES (‘alias.email-ABCD@alias.domain.com’, ‘main.account@primary.domain.com’, ‘alias.domain.com’);

checking that the alias exists and is spelled correctly:

SELECT * FROM alias WHERE goto=‘main.account@primary.domain.com’;

reverse-lookup double-check:

SELECT * FROM alias WHERE address=‘alias.email-ABCD@alias.domain.com’;

When I send to the main account, mail is received.  When I send to the alias account, mail is immediately rejected.  The only thing I can guess right now is that it takes time for the "Virtual Mailbox Table" to update or refresh?  How can I directly view the "Virtual Mailbox Table"?  And/or how can I force a refresh from the DB?

The only other random thing I can guess is that this is the only alias I have created so far using a hyphen.  I have no clue why else this wouldn't be working.

Relevant /var/log/mail.log entry:

<alias.email-ABCD@alias.domain.com>: Recipient address rejected: User unknown in virtual mailbox table; from <someone@external.domain.com> to <alias.email-ABCD@alias.domain.com> proto=ESMTP helo=<LMNOP.another.domain.com>

Viewing all articles
Browse latest Browse all 14150

Trending Articles