- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE EVA Storage
- >
- How does Email from Brocade switches work?
HPE EVA Storage
1820269
Members
3297
Online
109622
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 05:17 AM
тАО04-21-2008 05:17 AM
How does Email from Brocade switches work?
If anyone understands how SMTP mail from the switch works, please explain. It's not at all obvious how just identifying the DNS servers and domain name specifies an SMTP server. I can think of two possibilities:
1. The switch tries to get all the MX records from the DNS server for the zone that contains the domain and uses them to find an SMTP server.
2. SMTP server functionality is included in the switch firmware and it sends mail directly with the domain name suffix appended.
I tried placing an hp support call and posting this on the Brocade connect forum, but so far I haven't found anyone who knows how it works. I think Brocade has made some undocumented assumption about how DNS is setup that our site isn't meeting (such as no DNS zone dump access restrictions or all reverse address lookups are populated or that the switch domain name and email domain names are the same). If you understand which method switch email uses and what the assumptions are for it to actually work, please reply.
1. The switch tries to get all the MX records from the DNS server for the zone that contains the domain and uses them to find an SMTP server.
2. SMTP server functionality is included in the switch firmware and it sends mail directly with the domain name suffix appended.
I tried placing an hp support call and posting this on the Brocade connect forum, but so far I haven't found anyone who knows how it works. I think Brocade has made some undocumented assumption about how DNS is setup that our site isn't meeting (such as no DNS zone dump access restrictions or all reverse address lookups are populated or that the switch domain name and email domain names are the same). If you understand which method switch email uses and what the assumptions are for it to actually work, please reply.
"Never attribute to malice what can be adequately explained by ignorance or stupidity." - Isaac Asimov
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 07:16 AM
тАО04-21-2008 07:16 AM
Re: How does Email from Brocade switches work?
Hi Tom,
I've never actually used SMTP on a SAN switch but as FabricOS is based around Unix I would guess that option 1 is about right.
You could try using a network sniffer to see what DNS requests the switch is sending out on its ethernet port...
Cheers,
Rob
I've never actually used SMTP on a SAN switch but as FabricOS is based around Unix I would guess that option 1 is about right.
You could try using a network sniffer to see what DNS requests the switch is sending out on its ethernet port...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2008 07:56 AM
тАО04-28-2008 07:56 AM
Re: How does Email from Brocade switches work?
I now understand how switch SMTP mail works so here's the answer to my own question:
From the switch root account use the following command to debug email.
echo "test" | sendmail -v your.email@yourdomain
the switch uses the DNS servers supplied to get the MX records for the smtp server for the domain in the email address.
The problem I had was that the server for our published email is outside our DMZ and can not be reached by the switch. (The domain you set on the switch is used to create the from address root@switchname.domain) Here's how to set a SMTP server (from Oliver at the Brocade Connect forum)
login to the switch as root and execute the following commands:
cd /etc/mail
ftp
(open and login to an ftp server)
put sendmail.cf
on the ftp server that you sent the file to, edit the sendmail.cf file.
find the line that says
# "Smart" relay host (may be null)
and replace the next line with the following:
DSyour_smtp_server's_FQN
go back to ftp on the switch:
get sendmail.cf
quit ftp
Re-execute the
echo "test" | sendmail -v
command to test the change.
Hope this helps someone else.
Tom
From the switch root account use the following command to debug email.
echo "test" | sendmail -v your.email@yourdomain
the switch uses the DNS servers supplied to get the MX records for the smtp server for the domain in the email address.
The problem I had was that the server for our published email is outside our DMZ and can not be reached by the switch. (The domain you set on the switch is used to create the from address root@switchname.domain) Here's how to set a SMTP server (from Oliver at the Brocade Connect forum)
login to the switch as root and execute the following commands:
cd /etc/mail
ftp
(open and login to an ftp server)
put sendmail.cf
on the ftp server that you sent the file to, edit the sendmail.cf file.
find the line that says
# "Smart" relay host (may be null)
and replace the next line with the following:
DSyour_smtp_server's_FQN
go back to ftp on the switch:
get sendmail.cf
quit ftp
Re-execute the
echo "test" | sendmail -v
command to test the change.
Hope this helps someone else.
Tom
"Never attribute to malice what can be adequately explained by ignorance or stupidity." - Isaac Asimov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2008 11:47 AM
тАО04-28-2008 11:47 AM
Re: How does Email from Brocade switches work?
For those of us whose company doesn't allow FTP you can use this method.
login to the switch as root and execute the following commands:
cd /etc/mail
sed 's/^DS/DS/g' sendmail.cf > sm
mv sm sendmail.cf
login to the switch as root and execute the following commands:
cd /etc/mail
sed 's/^DS/DS
mv sm sendmail.cf
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP