Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm writing a Perl script to run as a cron job, and I want to email results & errors to a local account on the laptop. I'd like something that can talk SMTP (do any MTAs not adhere to SMTP?). I use Thunderbird 3, so I'll also need a POP/IMAP server (unless T-Bird can read straight from an mbox file; I'll have to check into that). No need for spam controls as I'll lock it down real tight, only accepting mail originating from the laptop itself. Thanks!

share|improve this question

6 Answers 6

up vote 9 down vote accepted

Install Postfix, configure it for the local network and make it listen only to the loopback-interface.

If you have an external mailbox ready and only want to send emails to it, you could probably just install ssmtp and be happy.

share|improve this answer

there's ssmtp, right there in the standard repositories

share|improve this answer
    
I want to deliver mail locally, so I think sSMTP is out. Thanks for the suggestion, though. –  Joe Casadonte Mar 27 '10 at 18:51

Check out Nullmailer. I think it is the best lightweight mail transfer agent for ubuntu and other Linux. Hopefully that is what you are looking for.

share|improve this answer

Thunderbird's standard mail format is mbox, you could try Apache James for an MTA.

share|improve this answer
1  
IMHO Apache James is not quite what you'd call "lightweight". ;) –  joschi Mar 27 '10 at 17:12
    
Apache James does not look lightweight :) Thanks for the T-bird info, though. –  Joe Casadonte Mar 27 '10 at 18:52

You can also consider courier, which provides a complete email suite (SMTP, IMAP, and much more)

share|improve this answer

consider qmail with courier-imap will turn it into a full scale smtp but can easily be locked down to local network if required. While most people think it complex it is actually fairly simple and lightweight in terms of resource utilization .... while there is no install I know of for ubuntu there is a scripted install for debian available here http://itsjustit.co.uk/chalfontcomputers/qmailscript/netqmail-djb.tar.gz The script installs with Maildir format so simply using the courier-imap with qmail will allow the laptop to connect as easily as to any pop or imap server ... you will have a full blown smtp that is very robust.

share|improve this answer
    
The OP was pretty clear that he needs this to be simple, and he's right. It's for accepting mail on localhost; a "full blown" system is too complex for these requirements. –  blueben Sep 2 '12 at 13:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.