Linode Forum
https://forum.linode.com/

Alias not working
https://forum.linode.com/viewtopic.php?f=11&t=12300
Page 1 of 1

Author:  denpub [ Sun Oct 04, 2015 12:04 pm ]
Post subject:  Alias not working

Hi

In the "Email with Postfix, Dovecot and MYSQL" guide

This step which tests aliases:

postmap -q alias@example.com mysql:/etc/postfix/mysql-virtual-alias-maps.cf
This should return the email address to which the alias forwards, which is email1@example.com in this example.

When I run this test command I get "1" as the result.

When I try to email the alias address I get the following bounce:

Action: failed
Status: 5.1.1
Remote-MTA: dns; mail.domain.com
X-Supplementary-Info: <mail.domain.com #5.1.1 smtp; 550 5.1.1
<1@domain.com> User doesn't exist: 1@domain.com>

All IMAP and SMTP normal mail function fine for this domain, it's just the alias addresses I'm having issue with.

Any help would be greatly appreciated.

Author:  Vance [ Mon Oct 05, 2015 3:12 am ]
Post subject:  Re: Alias not working

Your query probably has an error. Check step 5 under the Postfix configuration section and make sure you have entered the query correctly.

If that is correct, verify that you have your database tables set up properly.

Author:  denpub [ Wed Oct 07, 2015 10:42 am ]
Post subject:  Re: Alias not working

Absolutely!! Thanks so much! There was a typo in the statement.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/