[GE users] email to external when job finishes

reuti reuti at staff.uni-marburg.de
Tue May 11 16:25:25 BST 2010


Hi,

Am 11.05.2010 um 16:42 schrieb enricolavezzo:

> Hi Reuti,
> I have a question similar to Miguel's one.
> I want SGE to send emails, and I have 'mail'

which one in detail: postfix, sendmail, exim, ...

> software installed. I tried -m and -M SGE options, no error logs appear but I can't receive any email. Can you help me? 
> thank you very much!

did you adjust it to me hint:


> Enrico
> 
>> First it depends on the mail software you want to use. I on my own prefer postfix. And then the appropriate documentation / mailing list should be sufficient to set it up. Main idea is, that all nodes are send-only machine and use the headnode of the cluster (sometimes this is called a null-client) to relay the email to the final destination. 
>> 
>> - So the first setup should get it working, that the emails are received on the headnode of the cluster (there any sender address will work).

(the above one) Are emails relayed to the headnode and received by the users thereon (i.e. don't use -M, as the default should work in such a setup)?

-- Reuti


>> 
>> - Implement on the nodes to change the sender (this can either be done in a mail wrapper by using -f) or in the mail software (which I prefer) using a sender_canonical entry of type regexp:
>> 
>> /^(.*@).*$/     ${1}my.fqdn.test
>> 
>> - Then users should be able to use either -M with the final address, or create a ~/.forward with the final address. This way they don't have to specify it all the times.
>> 
>> -- Reuti
>> 
>> PS: Please quote the original mail to which you reply, there is a button for it. It's not easy to keep track when you follow more than one thread.
>> 
>> 
>>> 
>>> Thanks a lot!
>>> 
>>> ------------------------------------------------------
>>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=256460
>>> 
>>> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
> 
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=256954
> 
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=256958

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list