5

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!

6 Answers 6

9

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.

2

there's ssmtp, right there in the standard repositories

1
  • I want to deliver mail locally, so I think sSMTP is out. Thanks for the suggestion, though. Mar 27, 2010 at 18:51
2

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.

0

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

2
  • 1
    IMHO Apache James is not quite what you'd call "lightweight". ;)
    – joschi
    Mar 27, 2010 at 17:12
  • Apache James does not look lightweight :) Thanks for the T-bird info, though. Mar 27, 2010 at 18:52
0

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

-1

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.

1
  • 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, 2012 at 13:23

Not the answer you're looking for? Browse other questions tagged .