[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [msmtp-users] "mail" command wrapper for msmtp or sendmail?
On Thu, 21. Jun 2007, 14:36:53 -0700, Bill Johnstone wrote:
> Many scripts and system monitoring tools expect to use the "mail"
> command/MUA and its syntax rather than directly invoking the "sendmail"
> command. I'm wondering if there is a program, following the same type
> of philosophy as msmtp, which provides a "mail" executable that just
> wraps msmtp or the "sendmail" command?
>
> I find solutions like mailx/nail to be far more heavyweight than what
> I'm looking for. I absolutely don't need a full-fledged MTA/MUA, just
> a frontend to msmtp that takes input from programs that expect to call
> "mail" and in turn calls msmtp/"sendmail".
The mailx package provided by Debian is very small. The /usr/bin/mail
executable is just 84K on i386 systems and only depends on liblockfile.
It normally calls sendmail, but it can be configured to call msmtp
instead (http://msmtp.sourceforge.net/doc/msmtp.html#Using-msmtp-with-mail).
OK, it has a simple interface to read mails that you do not need, but
that's all. I don't think that mailx+msmtp is heavyweight.
Regards,
Martin