| Linode Forum https://forum.linode.com/ |
|
| [SOLVED] Exim: All e-mail failing to leave server. https://forum.linode.com/viewtopic.php?f=11&t=10974 |
Page 1 of 1 |
| Author: | jimdanger [ Mon Apr 21, 2014 3:32 am ] |
| Post subject: | [SOLVED] Exim: All e-mail failing to leave server. |
I installed Exim on Ubuntu 12.04, with the following settings dpkg-reconfigure settings: 1. Internet site; mail is sent and received directly using SMTP. 2. System mail name: web.example.com 3. List of IPs: 127.0.0.1 ; ::1 4. Domains: web.example.com; web; localhost.localdomain; localhost 5. Default 6. Default 7. DNS queries: No 8. Delivery format: Maildir/ 9. Split configuration: No Something to note, I changed the hostname to "web" and created an DNS "A" record with web.example.com leading to the server's IP address. When I try sending a message using: Code: echo "This is a test." | mail -s Testing email_address@gmx.com The e-mail never delivers and ends up in Maildir/new, with the following error: Code: jim@web:~/Maildir/new$ more 139806* Googling the error made it appear to be an issue with the domain not existing. However, I can ping it and it resolves to the IP address of the server itself. |
|
| Author: | jimdanger [ Tue Apr 22, 2014 6:06 am ] |
| Post subject: | Re: Exim: All e-mail failing to leave server. Going to Maild |
Well, I figured it out. When I set the hostname, I only set it to "web". When I ran Code: hostname -fit only showed web, when it should have shown the FQDN. I ran Code: sudo hostname web.example.comand it fixed the problem. Such a simple solution. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|