Sample Header Ad - 728x90

Minimal MTA that delivers mail locally (for cron)?

28 votes
2 answers
7799 views
On my laptop, I have set up a cron that performs a weekly job. If there is something to report, I would like to get an e-mail for it. Right now I am using KMail as MUA which is able to read mail from the Maildir directory at ~/.local/share/local-mail. Thus, I want local mail to be delivered to that folder (with a Maildir structure). I was hoping that a dead simple program already exist that has a sendmail interface (such that echo "$REPORT" | mail -s "$SUBJECT" "$ME" can work with it). Installing exim or forwarding mail to my remote mailserver is considered overkill. The question https://unix.stackexchange.com/q/5771/8250 seems to target remote forwarding which does not suit my needs (I need local delivery). This old Gentoo thread ended up in crafting an old script in Perl. Surely there must exist a well-thought, dead-simple program? Any recommendations? I am using Arch Linux.
Asked by Lekensteyn (21600 rep)
Jul 7, 2013, 02:50 PM
Last activity: Nov 19, 2023, 04:14 PM