Unsolved
This post is more than 5 years old
2 Intern
•
121 Posts
1
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?
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?
No Events found!


Rainer_EMC
6 Operator
•
8.6K Posts
0
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
Avilt1
2 Intern
•
121 Posts
0
May 7th, 2008 05:00
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
Rainer_EMC
6 Operator
•
8.6K Posts
0
May 7th, 2008 13:00
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)
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
250 2.1.0 ... Sender ok
250 2.1.5 ... Recipient ok
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.
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
nikolayp
21 Posts
0
September 25th, 2008 11:00
nikolayp
21 Posts
0
September 25th, 2008 11:00
Use primus emc151602 and/or emc133427 for setting up SMTP on Celerra. Most of the cases and troubleshooting steps are explained there.
Regards,
Nick
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
September 25th, 2008 11:00
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
Rainer_EMC
6 Operator
•
8.6K Posts
0
September 25th, 2008 12:00
[nasadmin@ns700gcs0 etc]$ diff sendmail*
93d92
< Dj$w.emc.com
98c97
< DSmailhub.lss.emc.com
---
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
September 25th, 2008 12:00
# 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
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
September 25th, 2008 12:00
nandas
6 Operator
•
1.5K Posts
0
September 25th, 2008 12:00
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
Rainer_EMC
6 Operator
•
8.6K Posts
0
September 25th, 2008 12:00
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
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
September 25th, 2008 13:00
nandas
6 Operator
•
1.5K Posts
0
September 25th, 2008 13:00
YDroid
1 Rookie
•
61 Posts
0
September 29th, 2008 08:00