| Linode Forum https://forum.linode.com/ |
|
| SMTP send-only server https://forum.linode.com/viewtopic.php?f=11&t=5181 |
Page 1 of 1 |
| Author: | marioestrada [ Thu Feb 11, 2010 4:55 pm ] |
| Post subject: | SMTP send-only server |
Hi, I need to install an SMTP server so that i can send email from other servers. I'm using PHP and would like to configure it to send emails through this specific server. Is it possible to do this with exim? With something like: http://library.linode.com/email-guides/ ... an-5-lenny Thanks in advance |
|
| Author: | mjrich [ Thu Feb 11, 2010 5:26 pm ] |
| Post subject: | |
Assuming that the "other servers" are within your current linode, then that guide looks like it'll be fine (PHP will just use the sendmail-like binary provided by Exim). You may also want to set an appropriate reverse dns etc. If the other servers are actually located elsewhere, then you'll need to set up relaying for those IP addresses (though, of course you'd need some way of sending the mail on those nodes, which would largely defeat the purpose in this case unless you have a common mount point). |
|
| Author: | marioestrada [ Thu Feb 11, 2010 5:47 pm ] |
| Post subject: | |
I will be using a PHP Class that allows me to send email through a smtp transport. To be precise i will be using: http://framework.zend.com/manual/en/zen ... mails.html . So I would like to send the emails through, for example, smtp.example.com So it's possible to do this with exim? I just need to configure the DNS? |
|
| Author: | mjrich [ Thu Feb 11, 2010 6:32 pm ] |
| Post subject: | |
I haven't used that class, but from a cursory glance it seems that it should be fine. Just configure Exim to act as a smarthost for your external server IP's. From the api docs, it looks like zend_mail_transport_smtp will accept an IP address, but if not, /etc/hosts may be simpler than full DNS. (Obviously, you'll still need MX records for those domains.) |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|