[Orca-users] warn_email

Glen Gunselman Gunselmg at emporia.edu
Mon Oct 24 07:29:08 PDT 2005


Mike,
 
    echo "test sendmail" | /usr/lib/sendmail -v gunselmg at emporia
 
Does send email to my account.
 
Also, I have received one email from Orca since changing the orcallator.cfg file.  I was addressed to me and to warn_email at hal.emporia.edu.  This email has no subject and no body (GroupWise properties for the message shows the message size as 3.).
 
I am receiving email from both Big Brother and cfengine running on the same server.
 
At this point I have one server that is powered down waiting on parts.  Orca was collecting data on this server.
 
Maybe I'm confused as to when and how often Orca would send an email.  Is there a simple test that I could do?  
 
Thanks for the help,
 
 
 
Glen Gunselman
Systems Software Specialist
TCS
Emporia State University

>>> "Normandin, Mike" <mike.normandin at csfb.com> 10/23/2005 8:23:17 pm >>>
 
sendmail is looking for the email message  from standard input.  The -oi tells sendmail not to interpret a single . as the end of message the -t tells sendmail  to get the recipient from the To: header.
 
try this 
 
echo "To: yourmailid at yourmail.com" > testmessage
echo "Subject: test sendmail: >> testmessage
echo "" >> testmessage
echo "This is a test message" >> testmessage
 
cat testmessage | /usr/lib/sendmail -oi -t
 
 
Alternatively a quick  test to see if sendmail is configured properly with ethe following command line. 
 
    echo "test sendmail" | /usr/lib/sendmail -v yourmailid at yourmail.com
 
 
 
 
 
-----Original Message-----
From: orca-users-bounces+mike.normandin=csfb.com at orcaware.com [mailto:orca-users-bounces+mike.normandin=csfb.com at orcaware.com]On Behalf Of Glen Gunselman
Sent: Friday, October 21, 2005 5:48 PM
To: Blair Zajac
Cc: ORCA users
Subject: Re: [Orca-users] warn_email

Blair,
 
I tried '/usr/lib/sendmail -oi -t'.  I don't know what it should do but all I got was a newline.  I can type on the command line.  I used cntrl-c to terminate.
 
Is '/usr/lib/sendmail -oi -t' documented by man sendmail?
 
Note: ORCA is running on Red Hat and the client (servers?) are Solaris 9.
 
Thanks for the help,
 
 
Glen Gunselman
Systems Software Specialist
TCS
Emporia State University

>>> Blair Zajac <blair at orcaware.com> 10/19/2005 11:13:08 pm >>>
Glen Gunselman wrote:
>  
> Is there something more to enabling email alerts than updating 
> orcallator.cfg?
>  
> Here are the lines from orcallator.cfg
>  
> # warn_email            root at localhost <mailto:root at localhost>
> warn_email              gunselmg at emporia.edu <mailto:gunselmg at emporia.edu>
> late_interval           interval + 30
>  
> I can send mail from the server using gunselmg at emporia.edu 
> <mailto:gunselmg at emporia.edu> but ORCA does not send mail even when data 
> collection has stopped.
>  
> Thanks,

No, that should be all that's needed.

It assumes that you can run '/usr/lib/sendmail -oi -t' on the box.  Does 
not that work?

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair at orcaware.com>
Subversion and Orca training and consulting
http://www.orcaware.com/svn/
_______________________________________________
Orca-users mailing list
Orca-users at orcaware.com
http://www.orcaware.com/mailman/listinfo/orca-users

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20051024/11c4216f/attachment.html>


More information about the Orca-users mailing list