[CentOS] When no MTA is installed, How to send an email with a cronjob?

Sun Jul 21 21:28:04 UTC 2013
Fred Smith <fredex at fcshome.stoneham.ma.us>

On Sun, Jul 21, 2013 at 02:16:50PM +0200, Reindl Harald wrote:
> 
> 
> Am 21.07.2013 14:07, schrieb Fred Smith:
> > There is a tool named SendEmail, which is a perl script that performs the
> > sending side (not receiving) of SMTP email handling. It's straightforward
> > to use via commandline, which is exactly what you would want to use from
> > a cron job:
> > 
> > http://caspian.dotconf.net/menu/Software/SendEmail/
> 
> and it has a queue or is it so simple-minded only to work if
> all is perfect and if the smtp server it uses is not reachable
> messages are silently lost?
> 
> hence for such things virtually everybody installs postfix with
> a minimal configuration and edits /etc/aliases with whatever
> full qualified target for root

I doubt it queues up mail, it's very simple and lightweight. It CAN be
a useful tool for those who don't want a large and complicated program
lurking there all the time. i've no clue how other mail handlers are
configured, never having done it, but it for sure beats sendmail all
hollow if all you want to do is send an occasional mail and can't wrap
your mind around its configuration.

Of course, no one is requiring you to use it.


-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------
                    Do you not know? Have you not heard? 
    The LORD is the everlasting God, the Creator of the ends of the earth. 
  He will not grow tired or weary, and his understanding no one can fathom.
----------------------------- Isaiah 40:28 (niv) -----------------------------