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?
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
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
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
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 ?
Rainer_EMC
6 Operator
•
8645 Posts
1129
0
Posted May 7th, 2008 01:00
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