Lightweight outgoing SMTP server
I am looking for a minimal mail solution (MTA) for a headless server which generate e-mails for local users and and fully qualified addresses from cron-jobs, etc.
Ideally all mails to local user
foo should be mapped to
foo@mydomain, with possible modifications for
uid<1024, and sent off to an external smtp server without involving
Some years ago, I used sSMTP for a similar task, and I was wondering if this is still the way ahead? Also, how much of the default debian mail system should/could I remove?
Update Ended up Googling a bit, and the obvious candidates seem to be
- sSMTP: Not actively developed
- eSMTP: Not actively developed according to home page
- mSMTP: Recommended in front of sSMTP at http://www.scottro.net/qnd/qnd-ssmtp.html
- nullmailer: Suggested by Gilles
Even though eSMTP is not developed anymore, it seems to have the nicest documentation. It doesn't quite fit my needs though, at it seems to insist on delivering mail to local user
foo via a Mail Delivery Agent (MDA) instead of pushing it out over smtp to
email@example.com. Or maybe it does do the mapping if I add
qualify_domain to the config. Might have to try it out...
nullmailer appears to be running a queue in
/var, which is not something I want.
Does anybody have experience with any of these?