Opened 17 years ago
Last modified 10 years ago
#110 new enhancement
IZ640: there's no way to set a default e-mail domain
Reported by: | seb | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | sge | Version: | 5.3p5 |
Severity: | Keywords: | qmaster | |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=640]
Issue #: 640 Platform: All Reporter: seb (seb) Component: gridengine OS: All Subcomponent: qmaster Version: 5.3p5 CC: None defined Status: NEW Priority: P3 Resolution: Issue type: ENHANCEMENT Target milestone: --- Assigned to: andreas (andreas) QA Contact: ernst URL: * Summary: there's no way to set a default e-mail domain Status whiteboard: Attachments: Issue 640 blocks: Votes for issue 640: Opened: Fri Jan 16 02:57:00 -0700 2004 ------------------------ If users forget to explicitely specify an e-mail address (-M user@...) gridengine uses the local domain of the cluster nodes (which is not routable in most cases I guess). To enforce usage of a "real" domain name you would have to change each users .sge_request file or put a wrapper script around mailx(1). Best would be a global parameter that appends a default domain to unqualified e-mail addresses. ------- Additional comments from andreas Fri Jan 16 05:21:50 -0700 2004 ------- WORKAROUND: The mail domain can be changed by configuring a mailer wrapper script which checks and modifies the recipient list. The wrapper might look similar to this pseudo code: --------------------------------------------------- #!/bin/sh if [ "$4" doesnothavemydefaultdeomain ]; then reciepient=${4}@defaultdomain else recipient=$4 fi exec /usr/bin/mailx $1 "$2" $3 $4 > /dev/null 2>&1 --------------------------------------------------- ------- Additional comments from andreas Fri Jan 16 05:43:30 -0700 2004 ------- Please see also issue #452. Different approach, but the same objective. ------- Additional comments from sgrell Mon Dec 12 02:59:42 -0700 2005 ------- Changed the Subcomponent. Stephan
Note: See
TracTickets for help on using
tickets.