email aliases only partly working
I followed Linode's email tutorial
If I have
If I send from a different email address,
The following address(es) failed:
No Such User Here
So that seems very odd. It works, bounces or goes nowhere depending on the sending email. I can even set up an alias that goes from
Furthermore, if I change the destination to be gmail, it never goes through. So what's going on here? How to I get this to forward consistently?
Thanks.
5 Replies
I do have a separate question, though: how do you set up an alias to go to multiple recipients? If I create multiple entries for the destination, delimited by commas, the email will only go to the last address in the field.
documentation
It could be that your address syntax is incorrect.
Another possibility is that MySQL tables operate differently. I notice that the MySQL query is capable of returning multiple results. You could try putting an extra entry into the table with the same alias but a different destination. If you were starting from scratch, something like this:
INSERT INTO `mailserver`.`virtual_aliases`
(`id`, `domain_id`, `source`, `destination`)
VALUES
('1', '1', 'alias@example.com', 'email1@example.com'),
('2', '1', 'alias@example.com', 'email2@example.com');
This way, the query for '