mail from linux prompt

Naresh Kumar nksharma74 at gmail.com
Fri Dec 11 10:36:53 CET 2009


Hi Gunnar,

Earlier I was using /usr/bin/mail which didn't work but /kolab/sbin/sendmail
works fine but doesn't allow me to add "Subject" ! and how do I attach files
to with it ?

Regards, Naresh

From: Gunnar Wrobel <wrobel at pardus.de>
To: kolab-users at kolab.org
Date: Fri, 11 Dec 2009 09:55:01 +0100
Subject: Re: mail from linux prompt

Quoting Naresh Kumar <nksharma74 at gmail.com>:



> I have another query now. How
> can I send an email from prompt using postfix. I have written a
> script to monitor system health and kolab usage. I want to send the
> output of this script to myself via email. I could do it easily with
> sendmail using mail/mailx but with postfix I am missing something !
>

The postfix of the Kolab server provides a sendmail wrapper at
/kolab/sbin/sendmail. That one should usually works. Does it fail somehow?
Something specific in the logs if you try to use it?

Cheers,

Gunnar

-- 
Regards,

Naresh Kumar

Live simply.Love generously.Care deeply.Speak kindly.LEAVE THE REST TO GOD

To know that we know what we know, and that we do not know what we do not
know, is the first step on the road to success.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20091211/c0fc8e19/attachment.html>


More information about the users mailing list