SMTP send-only server
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:
Thanks in advance
3 Replies
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).
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?
From the api docs, it looks like zendmailtransport_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.)