Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: outbound smtp
PostPosted: Tue May 10, 2005 9:06 am 
Offline
Senior Newbie

Joined: Wed Mar 02, 2005 11:38 am
Posts: 16
Website: http://webmages.com/
Hi all. For performance reasons on my itty-bitty linode, I'm not running an smtp server. But I've run into a snag - I need a few apps to be able to send email, like when someone registers on my blog.

So I'm looking for something extremely lightweight, that will only send mail out.

Suggestions?


Top
   
 Post subject:
PostPosted: Tue May 10, 2005 11:01 am 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
ssmtp sounds like what you're looking for. It's a small and simple MTA that gets your mail off the system and nothing more.

You can get the source at ftp://ftp.debian.org/debian/pool/main/s ... rig.tar.gz , and there are .deb packages at http://packages.debian.org/stable/mail/ssmtp (although I guess "apt-get install ssmtp" will work too). Gentoo users can just use "emerge ssmtp".


Top
   
 Post subject:
PostPosted: Tue May 10, 2005 11:57 am 
Offline
Senior Newbie

Joined: Wed Mar 02, 2005 11:38 am
Posts: 16
Website: http://webmages.com/
It looks like ssmtp requires a mail hub. Unless linode provides one, I don't think that will work.

What I need is like sendmail light - something where I can use the command line sendmail tool to send mail to send outbound mails, but doesn't support anything else.


Top
   
 Post subject:
PostPosted: Tue May 10, 2005 4:03 pm 
Offline
Senior Member

Joined: Wed Aug 13, 2003 10:24 am
Posts: 55
Why not configure sendmail as if you're going to invoke it with inetd instead of as a daemon, and then just disable the inetd entry? Then it will only run when you invoke it via command line and at infrequent intervals with cron to processed any queued outbound mail.

Alternatively, find someone who will relay for you and use ssmtp.


Top
   
 Post subject:
PostPosted: Tue May 10, 2005 4:51 pm 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
I imagine it should be fairly easy to write a Perl script that does what you want. I'll probably give it a go myself, actually.


Top
   
 Post subject:
PostPosted: Wed May 11, 2005 7:08 am 
Offline
Senior Newbie

Joined: Wed Mar 02, 2005 11:38 am
Posts: 16
Website: http://webmages.com/
I found a solution that works - msmtp

It's kind of like ssmtp, allows you to relay mail, except I couldn't get ssmtp working with my gmail account. Actually, I couldn't get msmtp working either - my default gmail account has a "." in it, and I can't seem to authenticate, I created an alternate gmail account with no "." and it works fine.

Oh, BTW, anyone need/want a gmail invite?


Top
   
 Post subject:
PostPosted: Wed May 11, 2005 1:23 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
> Oh, BTW, anyone need/want a gmail invite?

I'm curious about it. May I have it?

James


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


Who is online

Users browsing this forum: No registered users and 3 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:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group