No subject


Wed Jan 12 20:38:46 GMT 2011


mailer
     mailer is the  absolute  pathname  to  the  electronic  mail
     delivery  agent on your system. It must accept the following
     syntax:

          mailer -s <subject-of-mail-message> <recipient>

     Each sge_execd(8) may use a  private  mail  agent.  Changing
     mailer will take immediate effect.

     The default for mailer depends on the  operating  system  of
     the host on which the N1 Grid Engine master installation was
     run. Common values are /bin/mail or /usr/bin/Mail.

     The  global  configuration  entry  for  this  value  may  be
     overwritten by the execution host local configuration.

(what's missing from this man page is the fact that the body of the mail
messages is provided as STDIN to the mailer)

It's common to write a custom 'mailer' script that will parse the
specified arguments plus the STDIN and then create a custom
notification, whether it's a custom-created email, or something else.
Keep in mind, though, that this mailer script is run by the sge_execd on
the compute host where the job ran.

Regards,
	Charu


Raymond Chan wrote On 01/13/06 14:45,:
> Hi all,
> 
>  
> 
> I?m not sure if this is an SGE related question or more of a system
> config of mail, but I wanted to know if anyone knew how to change the
> FROM emailer when using the ?M option in scripts you submit to email the
> user when a job is done or aborted.  Currently, it defaults the sender
> as ?root? and a generic subject line along the lines of ?Job ###
> (name_of_job) Complete?.  Is it possible for me to personalize both the
> sender and the subject?
> 
>  
> 
> Thanks,
> 
> Ray C
> 

-- 
####################################################################
# Charu V. Chaubal              # Phone: (650) 786-7672 (x87672)   #
# Grid Computing Technologist   # Fax:   (650) 786-4591            #
# Sun Microsystems, Inc.        # Email: charu.chaubal at sun.com     #
####################################################################

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list