Chris T wrote, circa 2007-03-28 8:12 AM:

> This is really pretty much OT so feel free to ignore.
> 
> I've got a group of servers I'm setting up (well a bunch of xen 
> instances on a dedicated box, to be precise). I've set up one of them as 
> a dedicated MTA (postfix). I don't need (and don't want) MTAs on the 
> other servers, but do want to be emailed cron reports and logs from 
> logrotate. Is there any good, standard solution to this? Sorry, probably 
> dead obvious, but I've google for an hour or so now and haven't come up 
> with anything, and this group has been v helpful in he past.

I've used ssmtp for that effect in the past.  It appears to be part of
the Debian project since its homepage is:

  http://packages.debian.org/stable/mail/ssmtp.html

I know it's available out of the box in Gentoo (emerge mail-mta/ssmtp),
and Ubuntu and Debian (apt-get install ssmtp).  It's also available in
Fedora Extras which means it could probably be rebuilt pretty easily for
CentOS, Red Hat Enterprise Linux, or other RHEL derivatives.

All it does is takes mail and foists it off to another host,
configurable in /etc/ssmtp/ssmtp.conf (or possibly
/usr/local/etc/ssmtp/ssmtp.conf if you've built from source).

You *can* also use Postfix to do that, with the relayhost parameter in
main.cf, but that'd probably be overkill for what you're after.  I'm
also positive that Sendmail can do it, too, provided you have high
enough a skill rating in Arcane Sendmail Configuration Black Arts.

Hope that helps,
Jeff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to