Brocade Fibre Channel Networking Community

Expand all | Collapse all

How to change from address in MAPS Emails

  • 1.  How to change from address in MAPS Emails

    Posted 12-21-2015 08:23 AM

    I've been trying to set up MAPS e-mails on a test switch running v7.4.0a.  I've worked through getting firewall ports opened, and the switch registered on the relay server, and the relay server is receiving e-mails from the switch.  However the relay server is blocking them, as the From address is 'root@switchname.domain.com'.  It's internal policy that all e-mails MUST be sent from a registered generic e-mail address, and obviously I don't want to register an e-mail address for all 100+ of our switches. Does anyone know how to change the From address for these e-mails to something more generic?  Our switches don't use LDAP. 

     

    Thanks!


    #san
    #fibrechannel
    #BrocadeFibreChannelNetworkingCommunity
    #storagenetworking


  • 2.  Re: How to change from address in MAPS Emails

    Posted 07-13-2016 06:17 AM

    Hi Johnny

     

    Did you ever get anywhere with this? I am having the exact same problem since upgrading to v7.0.2a and MAPS and also need to strip out the switch name from the MAIL from field as it's being rejected. I was thinking about messing around in the sendmail.cf file but wondered if you'd found an easier way?

     

    Thanks


    #storagenetworking
    #BrocadeFibreChannelNetworkingCommunity
    #san
    #fibrechannel


  • 3.  Re: How to change from address in MAPS Emails

    Posted 07-13-2016 06:20 AM

    We gave up using the e-mail feature in the end.  Instead we have a script that captures snmp on a server and if the maps e-mail action is set (you can do a bitmap on the action field of the snmp message) we send an e-mail from that server instead.


    #BrocadeFibreChannelNetworkingCommunity


  • 4.  Re: How to change from address in MAPS Emails

    Posted 07-13-2016 06:24 AM

    ok thanks - seems like it's impossible to change the mail from field in the MAPS config (dumb) so I'll try something else too.

     

    The problem I am having is that some switches append the switch name with underscores which are rejected by mimecast. The ones with switch names without underscores go through ok. 


    #BrocadeFibreChannelNetworkingCommunity


  • 5.  Re: How to change from address in MAPS Emails

    Posted 07-13-2016 01:35 PM

    I notice you referenced going TO FOS v7.0.2a and a question regarding the config of the MAPS email facility. Since the MAPS feature in FOS was not implemented until v7.2.0, you will not have any way to configure a feature which does not exist in your version.

     

    However, if you ever do upgrade to a v7.2.x or later version, the configuration of the email recipient is quite simple:

     

    From the command line, logged in with admin or greater priveledge,  type in the command:

     

    mapsconfig --emailcfg -address

     

    Best of luck.

     

    doc


    #BrocadeFibreChannelNetworkingCommunity


  • 6.  Re: How to change from address in MAPS Emails

    Posted 07-14-2016 01:14 AM

    Hello,

     

    Neither of us have problems setting the recipient of the email alert.  The problem is that you can't set the 'from address' - which in our two environments make the e-mail action unusuable.

     

    Johnny


    #BrocadeFibreChannelNetworkingCommunity


  • 7.  Re: How to change from address in MAPS Emails

    Posted 07-14-2016 07:10 AM

    The send address of the chassis is not configurable in FOS. However, you may want to setup an SMTP forwarding relay host. To do this you would configure the relay host on the switch using: relayconfig --config -rla_ip relay_ip -rla_dname domain_name. From there, of course you would need to specify the incoming mail sender (root@switchname.domain.com) to associate with the outgoing(forwarding) mail sender address you would specify. This is beyond the scope of the FOS configuration standards.


    #BrocadeFibreChannelNetworkingCommunity