| Linode Forum https://forum.linode.com/ |
|
| email aliases only partly working https://forum.linode.com/viewtopic.php?f=11&t=11592 |
Page 1 of 1 |
| Author: | publicradio [ Wed Feb 11, 2015 12:04 am ] |
| Post subject: | email aliases only partly working |
Hello, I followed Linode's email tutorial precisely, and my email addresses work perfectly. My aliases, however, are giving odd results. If I have alias@example.com going to myemail@example.com, and send an email from myemail@example.com to alias@, Nothing ever happens. Nothing shows up. However, If I send it from gmail, it fowards to myemail@example.com instantly. If I send from a different email address, otheremail@3rdparty.com, to alias@example.com, I get an immediate Mail delivery failed: returning message to sender: The following address(es) failed: alias@example.com 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 test@example.com to otheremail@3rdparty.com and it will forward fine --- if it comes from gmail. Otherwise it won't work. 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. |
|
| Author: | Vance [ Wed Feb 11, 2015 4:43 am ] |
| Post subject: | Re: email aliases only partly working |
What do your mail logs say when you try to send/receive these messages? |
|
| Author: | publicradio [ Thu Feb 12, 2015 1:07 am ] |
| Post subject: | Re: email aliases only partly working |
Hi, thanks for the reply. There are no errors I can see. When the emails go through, they show up in /var/log/mail.log. When they bounce or disappear, there is no record in the logs. So it seems that in these cases the emails aren't even getting to the system. |
|
| Author: | publicradio [ Thu Feb 12, 2015 10:19 pm ] |
| Post subject: | Re: email aliases only partly working |
I figured out the problem. I moved this domain from my old hosting company, and was using their mail server to send the mail. it thought the domain was still on its server and was attempting to deliver the emails locally. Mystery solved, thank you. 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. |
|
| Author: | Vance [ Sun Feb 15, 2015 12:19 am ] |
| Post subject: | Re: email aliases only partly working |
Hmm, I don't have experience using MySQL tables for aliases. For Berkeley DB hashes, having multiple addresses separated by commas works fine. The documentation indicates that this is the appropriate format no matter how the table is stored. 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: Code: INSERT INTO `mailserver`.`virtual_aliases` This way, the query for 'alias@example.com' would return two results. But this is pure speculation. |
|
| Author: | publicradio [ Mon Feb 16, 2015 12:41 pm ] |
| Post subject: | Re: email aliases only partly working |
Thanks, I think some of my destination emais have problems of their own and this is why the aliases weren't going through. I tried some different ones, and separating them with commas did actually do the trick. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|