How do you send mail out from the Isilon cluster?

1,913 views
Skip to first unread message

Trinh Tran

unread,
Sep 12, 2013, 6:08:54 PM9/12/13
to isilon-u...@googlegroups.com
I try to run mail and mailx and nothing.

Jason Davis

unread,
Sep 12, 2013, 7:04:20 PM9/12/13
to isilon-u...@googlegroups.com

Take a look at this thread: https://community.emc.com/thread/178790?start=0&tstart=0

I try to run mail and mailx and nothing.

--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Trinh Tran

unread,
Sep 12, 2013, 7:41:15 PM9/12/13
to isilon-u...@googlegroups.com
Thanks. I'll take a look.
Thanks,
Trinh Tran
Enterprise Storage Services

Richard Kunert

unread,
Sep 12, 2013, 10:51:58 PM9/12/13
to isilon-u...@googlegroups.com
You need to configure sendmail. Tech support told me to directly edit the relay setting in submit.cf but that seemed to apply to an older version of sendmail.

Anyway, this works on 6.5.x. I only made the changes on node 1, which in my case calls itself Isilon-1. I have various scripts that send mail on a daily basis (one just sends the output of isi stat every morning). This didn't have any effect on the normal email sent from the cluster, I think that actually uses a different mechanism.

Back up the files in /etc/mail first, of course.

--

cd /etc/mail

make (generates hostname.mc and hostname.submit.mc - in my case node 1 calls itself Isilon-1 so I get Isilon-1.submit.mc)

Edit [hostname].submit.mc and add everything from ADDED LINES to END ADDED LINES below (the masquerade and SMART_HOST lines), then "make all install restart". It should be good to go (assuming your relay host is set up to accept mail from your cluster).

divert(-1)
#
# Copyright (c) 2001-2003 Sendmail, Inc. and its suppliers.
#       All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#

#
#  This is the FreeBSD configuration for a set-group-ID sm-msp sendmail
#  that acts as a initial mail submission program.
#

divert(0)dnl
VERSIONID(`$FreeBSD$')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
dnl
dnl ADDED LINES
define(`SMART_HOST',`mail.yourdomain.com')
dnl
MASQUERADE_AS(yourdomain.com)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(yourdomain.com)dnl
dnl END ADDED LINES
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl


--
Richard Kunert



I try to run mail and mailx and nothing.

Daniel Cornel

unread,
Sep 17, 2013, 5:36:31 PM9/17/13
to isilon-u...@googlegroups.com
Richard,
Do you know whether or not the scripting you are running is isolated to the node it was created on, node 1? I believe this will be the case.
Reply all
Reply to author
Forward
0 new messages