Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Simple sendmail
PostPosted: Sun Mar 09, 2008 8:17 pm 
Offline
Senior Newbie

Joined: Sun Mar 09, 2008 8:12 pm
Posts: 9
Hello everyone,

I'm looking for a very simple sendmail that only needs to support sending emails locally. It doesn't have to be a full features MTA. The only thing I'll use it for is for PHP to be able to send emails.

Anyone know if something like that exists?


Top
   
 Post subject:
PostPosted: Mon Mar 10, 2008 1:14 am 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
Sure - give ssmtp a try. It should be in your distro's package repository.

-erik


Top
   
 Post subject:
PostPosted: Mon Mar 10, 2008 1:17 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
Umm, depends on the definition of "sending emails locally". If you mean "sending local e-mails to a remote server, no local delivery", the ssmtp could work. If you mean "only local delivery of locally generated mail", then ssmtp won't work. In my brief and no doubt incomplete search a few months ago, all the "simple" MTA's were oriented towards delivering to a remote server, no local delivery.

If you're running Debian or Ubuntu, then probably the easiest solution is just to install postfix -- one of the setup options on initial install is "mailer type", with the choice "Local only" being (possibly) what you want. (It's very likely that exim has similar setup option, but postfix is what I know.)

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Tue Mar 11, 2008 10:52 am 
Offline
Senior Newbie

Joined: Sun Mar 09, 2008 8:12 pm
Posts: 9
Thanks for the suggestions. After some research I had come across esmtp. But afterward I basically noticed what SteveG explained below. Even if I used ssmtp or esmtp, I would still have to have a remote mail server or one running locally. I wanted to avoid this, but it looks like I can't.

Between Exim and Postfix, does anyone know which tends to use less memory?


Top
   
 Post subject:
PostPosted: Tue Mar 11, 2008 4:46 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
I'd guess postfix, but neither of them uses enough memory to worry about. On my linode, right now, my postfix system looks to be about 12Mb resident; at least 5 of that would go away if I was local only.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.

-- seen on the net


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group