[GE users] customize email notification

Olesen, Mark Mark.Olesen at emcontechnologies.com
Tue Oct 14 12:32:27 BST 2008

> I am successfully able to receive the mails, but I want to customize
> the report that it sands. Do I have to change any file for this? 

In the global configuration, you can define your own mailer.

Attached is a small Perl script that we use. You might find it a useful
basis. From the comments in the script:

# ------------------------------------------------------------------
SGE calls the "mailer" program of the global/local cluster config to
send mail. The way how the mailer is called is (more or less):

    <cat> mail_body | <mailer> -s "subjectline" recipient_list

where "<cat>" means that the body of the mail is sent to stdin of the
mailer by the execd.


This e-mail message and any attachments may contain 
legally privileged, confidential or proprietary Information, 
or information otherwise protected by law of EMCON 
Technologies, its affiliates, or third parties. This notice 
serves as marking of its "Confidential" status as defined 
in any confidentiality agreements concerning the sender 
and recipient. If you are not the intended recipient(s), 
or the employee or agent responsible for delivery of this 
message to the intended recipient(s), you are hereby 
notified that any dissemination, distribution or copying 
of this e-mail message is strictly prohibited. 
If you have received this message in error, please 
immediately notify the sender and delete this e-mail 
message from your computer.

    [ Part 2: "Attached Text" ]

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

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