Linode Forum
https://forum.linode.com/

Send-only recommendation
https://forum.linode.com/viewtopic.php?f=11&t=6980
Page 1 of 1

Author:  gregr [ Mon Apr 18, 2011 1:58 pm ]
Post subject:  Send-only recommendation

Hey guys...I'm working on building an image in Ubuntu 10.10 that I will soon recreate on Linode; I'm just trying to get all the steps together so I can test on my own network along the way.

I need to have a send-only email setup...so apps like wordpress can send email as they need to.

To do this, I installed sendmail, and it pretty much just worked; I didn't change any configuration settings, or even learn where those settings are...I just noted that it now sends mail. :-)

My question is, when I was perusing the Linode library, I didn't see any mention at all of sendmail, and I also read things on the net that say it's a huge behemoth and it's to be avoided. So...any recommendations for what I need to do? Is sendmail fine, or should I be using Exim or something else?

Thanks!

Greg

Author:  glg [ Mon Apr 18, 2011 4:37 pm ]
Post subject:  Re: Send-only recommendation

gregr wrote:
To do this, I installed sendmail, and it pretty much just worked; I didn't change any configuration settings, or even learn where those settings are...I just noted that it now sends mail. :-)

My question is, when I was perusing the Linode library, I didn't see any mention at all of sendmail, and I also read things on the net that say it's a huge behemoth and it's to be avoided. So...any recommendations for what I need to do? Is sendmail fine, or should I be using Exim or something else?


I would switch to exim. sendmail is a beast and the last thing you want right after you go live is to get shut down because you didn't configure sendmail correctly and its acting as an open relay.

Author:  gregr [ Mon Apr 18, 2011 5:17 pm ]
Post subject:  Re: Send-only recommendation

glg wrote:
I would switch to exim. sendmail is a beast and the last thing you want right after you go live is to get shut down because you didn't configure sendmail correctly and its acting as an open relay.


Ok - done.

That was painless enough...once I figured out how to remove sendmail and its dependencies, exim was an easy install and setup. I removed sendmail with:

sudo apt-get remove sendmail
sudo apt-get autoremove

then installed exim4 per the Linode library article at

http://library.linode.com/email/exim/se ... 0-maverick

Made sure email was being sent ok (which it was)...and then just to be sure the setup was as expected, I verified with netstat -an that it was only listening on port 25 for the local 127.0.0.1 interface:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.196:22 192.168.1.103:59247 ESTABLISHED
tcp6 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:68 0.0.0.0:*

Thanks again!

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/