| Linode Forum https://forum.linode.com/ |
|
| Cannot send mail to client's domain https://forum.linode.com/viewtopic.php?f=11&t=8829 |
Page 1 of 1 |
| Author: | codevader [ Mon May 14, 2012 3:12 am ] |
| Post subject: | Cannot send mail to client's domain |
I have configured exim for sending mail on a server according to the instructions on here - http://library.linode.com/email/exim/se ... 0.04-lucid. Mail is delivered correctly to all domains except uthandosa.org The server has the following hostname configured: Code: uthando@uth1:~$ hostname With regards DNS for the domain uthandosa.org (using Linode DNS): I have A records for uth1 and www pointing to 176.58.100.133. I have an MX record pointing to xavier.macrolan.co.za (my client's mail server) I have a TXT record with this "v=spf1 a mx ~all" Mail sent to xxx@uthandosa.org is never received though. I have no idea what else to check. Any help appreciated. |
|
| Author: | Dweeber [ Mon May 14, 2012 3:35 am ] |
| Post subject: | |
First, you need to make sure that the message is not still in the mail queue. Use mailq to see what if anything is in the queue. Also, Exim makes some very good logs. Check the mail logs and it should show when it got the message to send, what results it got when it tried to send as well. Also, you can use an Exim command to see what it will do with an address like: exim -v -bt xxx@uthandosa.org It should show you where it will try to deliver the message and the MX records if any found for the mail host that accepts email for that email. Like: Code: wk3dd@ulterius:/etc/munin# exim -v -bt xxx@uthandosa.org |
|
| Author: | codevader [ Tue May 15, 2012 5:40 am ] |
| Post subject: | |
Dweeber wrote: Also, you can use an Exim command to see what it will do with an address like:
exim -v -bt xxx@uthandosa.org It should show you where it will try to deliver the message and the MX records if any found for the mail host that accepts email for that email Thanks, that is highlighting an issue. Still not sure what to do about it though? Code: exim -v -bt xxx@uthandosa.org |
|
| Author: | codevader [ Tue May 15, 2012 5:47 am ] |
| Post subject: | |
Here's more debugging info... Code: sudo exim -v -bt -d xxx@uthandosa.org |
|
| Author: | codevader [ Tue May 15, 2012 6:40 am ] |
| Post subject: | |
Solved the issue by adding the following routing setup to the config... Code: new_router: |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|