[Orca-users] warn_email

Normandin, Mike mike.normandin at csfb.com
Sun Oct 23 18:23:17 PDT 2005


 
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 <mailto: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 <mailto: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/78cecaa1/attachment.html>


More information about the Orca-users mailing list