Does /bin/mail exist? On a lot of systems it may actually be /usr/bin/mail
Regards, Chris /* Sent via phone - apologies for typos & terseness */ > On Mar 20, 2018, at 11:31 AM, Peter Sigl <[email protected]> wrote: > > Hi All, > > I am trying to receive email notification for job start and job completion > with SGE. > > I added the lines to the runjob.sh file > > #$ -M [email protected] > #$ -m beas > > However, I did not receive an email. > > Also, I get an email from qdel about canceling the job from root: > Job 31 (ps-ser1-out) was killed by [email protected] > > On the command line with mail-s I get emails. > > In SGE 8.1.9 under clusterconfiguration /bin/mail is configured. > > #global: > execd_spool_dir /opt/gridengine/default/spool > mailer /bin/mail > xterm /usr/bin/xterm > load_sensor none > prolog none > epilog none > shell_start_mode posix_compliant > login_shells sh,bash,ksh,csh,tcsh > min_uid 0 > min_gid 0 > user_lists none > xuser_lists none > projects none > xprojects none > enforce_project false > enforce_user auto > load_report_time 00:00:40 > max_unheard 00:05:00 > reschedule_unknown 01:00:00 > loglevel log_warning > administrator_mail none > set_token_cmd none > pag_cmd none > token_extend_time none > shepherd_cmd none > qmaster_params none > execd_params none > reporting_params accounting=true reporting=true \ > flush_time=00:00:15 joblog=true sharelog=00:00:00 > finished_jobs 100 > gid_range 20000-20100 > qlogin_command builtin > qlogin_daemon builtin > rlogin_command /usr/bin/ssh > rlogin_daemon builtin > rsh_command /usr/bin/ssh > rsh_daemon builtin > max_aj_instances 2000 > max_aj_tasks 75000 > max_u_jobs 0 > max_jobs 0 > max_advance_reservations 0 > auto_user_oticket 0 > auto_user_fshare 0 > auto_user_default_project none > auto_user_delete_time 86400 > delegated_file_staging false > reprioritize false > jsv_url none > jsv_allowed_mod ac,h,i,e,o,j,M,N,p,w > > There is a link in Centos 7 set to mailx. > I think under SGE 6.2 postfix was used. > Is not that the case in Rocks 7 / SGE? > > I configured the relayhost under /etc/postfix/main.cf. > > > Is it necessary to configure something else before attempting to receive > these emails? > > > > > Peter Sigl > > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
