send mail from shell on 8.04 server (how to?)

Chris G cl at isbd.net
Mon Oct 12 17:29:29 UTC 2009


On Mon, Oct 12, 2009 at 04:41:04PM +0000, Nik N wrote:
> Rashkae <ubuntu at tigershaunt.com> wrote:
> 
> > You'll need to install a 'sendmail' binary.  Whether that is sendmail
> > itself, or Postfix, or one of the other lightweight alternatives.  It
> > need not run as a service, since most native unix mail applications will
> > will pipe the e-mail to the binary, rather than use smtp.
> 
> thanks, but that is actually what I'm trying to avoid. I am extremely
> careful about what I  install on the server - and that includes mail
> clients like mutt. I was hoping there would be a small, simple binary
> that would communicate directly with my isp's smtp server when invoked
> in a shell script, then terminate never to be seen or heard until
> explicitly invoked by the shell again.
> 
Does that mean you do or don't want to install mutt?  If you're happy
with mutt then recent versions can do SMTP direct and don't need a
sendmail or equivalent.

-- 
Chris Green





More information about the ubuntu-users mailing list