Unsolved

This post is more than 5 years old

2 Intern

 • 

121 Posts

2726

May 7th, 2008 00:00

EVENT NOTIFICATIONS

I have configured Event Notification in Celerra Manager as shown below.

Under Notifications-Events-New Notification-Facility-Check All-Severity-Critical-mail-smtp address

My Celerra Console show the System Status as Critical. But I am not receiving any email notifications.
What's wrong? Is there any setting to specifiy SMTP server as well? Or does it uses DNS to get MX record?

6 Operator

 • 

8.6K Posts

May 7th, 2008 01:00

yes, you first have to configure EMail on the Controlstation Linux

try a "Mail -v your@email.com" and see what it says

Often its enough to just change the line for smart relay in /etc/sendmail.cf
# "Smart" relay host (may be null)
DS

There is a number of knowledgebase articles about configuring sendmail

2 Intern

 • 

121 Posts

May 7th, 2008 05:00

Thank You Rainer.
I have not configured any SMTP settings and its evident from the below output that it gets MX records from DNS. I am still not getting the mails. What's wrong? I am able to ping also telnet to smtp server on port 25.

[nasadmin@EMC-DR nasadmin]$ mail -v avilt@myorg.com
Subject: hi
how are you doing?
.
Cc: avilt@myorg.com
avilt@myorg.com... Connecting to MX-host-1 via esmtp...
avilt@myorg.com... Connecting to MX-host-2 via esmtp...
/home/nasadmin/dead.letter... Saved message in /home/nasadmin/dead

6 Operator

 • 

8.6K Posts

May 7th, 2008 13:00

take a look at the knowledgebase or a good sendmail website

hard to say what exactly doesnt work.

Start with the smarthost config, dont forget to do a "/etc/init.d/sendmail restart" after changing /etc/sendmail.cf
From your messages it doesnt look like sendmail is actually talking to the mail server

Here's how it should look like:

[nasadmin@ns700gcs0 nasadmin]$ Mail -v xxx@emc.com
Subject: test
test
.
Cc:
xxx@emc.com... Connecting to mailhub.lss.emc.com. via esmtp...
220 mailhub ESMTP Sendmail 8.10.1/8.10.1; Wed, 7 May 2008 13:32:50 -0400 (EDT)
EHLO ns700gcs0.emc.com

250-mailhub.lss.emc.com Hello [10.64.245.180], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 100000000
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
MAIL From: SIZE=47

250 2.1.0 ... Sender ok
RCPT To:

250 2.1.5 ... Recipient ok
DATA

354 Enter mail, end with "." on a line by itself
.

250 2.0.0 m47HWodt007431 Message accepted for delivery
xxx@emc.com... Sent (m47HWodt007431 Message accepted for delivery)
Closing connection to mailhub.lss.emc.com.
QUIT

221 2.0.0 mailhub.lss.emc.com closing connection


One of the potential issues could be if your mail server doesnt like EMail's from non-resolvable hosts - a quick fix is something like this:

Dj$w.myorg.com

unless you want to go to full-blown masquerading or messing with DNS reverse lookup config

have fun
Rainer

21 Posts

September 25th, 2008 11:00

And answering your question about "Dj$w.myorg.com" entry - this is in sendmail.conf file either in /etc (NAS 5.5) or /etc/mail (NAS 5.6) directory. Any changes to sendmail.cf file will require SMTP service to be restarted by issuing "/sbin/service sendmail restart" as root

21 Posts

September 25th, 2008 11:00

Hi Dynamox,

Use primus emc151602 and/or emc133427 for setting up SMTP on Celerra. Most of the cases and troubleshooting steps are explained there.

Regards,
Nick

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

September 25th, 2008 11:00

Rainer,

i have the same problem where my SMTP server does not want to relay nasadmin@cellera.domain.local address.

You mentioned this : Dj$w.myorg.com


what is this ..where do i enter it ?

Thanks

6 Operator

 • 

8.6K Posts

September 25th, 2008 12:00

yes, for example in my lab case the only two changes I had to make to /etc/sendmail.conf were this:

[nasadmin@ns700gcs0 etc]$ diff sendmail*
93d92
< Dj$w.emc.com
98c97
< DSmailhub.lss.emc.com
---
DS

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

September 25th, 2008 12:00

i see ..so you would simply un-comment this entry in /etc/sendmail.cf (dart 5.5)

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM


and substitute that with Dj$w.emc.com ..or whatever your domain is ?

Message was edited by:
dynamox

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

September 25th, 2008 12:00

thanks Nick ...i used emc151602 and it worked great. Is "Dj$w.myorg.com" some kind of hack that allows you to send email without going through the process outlined in emc151602 ?

6 Operator

 • 

1.5K Posts

September 25th, 2008 12:00

Very old and plain sendmail configuration stuff :) which was widely used in older days when so many fancy email software was not there ;)

Configuring the SMTP alerts on Celerra reminds me those memories :)

Anyway - Rainer and Nick had provided all the details needed here - so I should shut my mouth (to be precise keyboard) now :D

6 Operator

 • 

8.6K Posts

September 25th, 2008 12:00

thanks Nick ...i used emc151602 and it worked great.
Is "Dj$w.myorg.com" some kind of hack that allows you to send email without going through the process
outlined in emc151602 ?


no, nothing special.

Its just that often with the stock config EMail gets sent out with a Sender address on the envelope that isnt DNS resolvable, which these days is seen as an indication for Spam by mail servers

The Dj just tells sendmal to use $w (the hostname) plus the fixed myorg.com (you need to replace that with your DNS domain) on the envelope

This just is a qick hack that's often good enough to get the job done, but with sendmail there a lots of other ways to do it

setting up proper masqueading as explained in that Primus is certainly good - I was just going for the quick kill :-)

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

September 25th, 2008 13:00

are you secretly working on mapi client for control station to replace sendmail ? ;)

6 Operator

 • 

1.5K Posts

September 25th, 2008 13:00

I wish I can do that - but unfortunately I can't :( - I am only a small field person - but happily doing that :)

1 Rookie

 • 

61 Posts

September 29th, 2008 08:00

I was having the same problem and resolved by primus solution emc151602. Search for it on powerlink and follow the instructions.
No Events found!

Top