For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

kridsana's avatar
kridsana
Icon for Cirrocumulus rankCirrocumulus
Jul 03, 2013

Email Sender

Hi

 

 

I've a problem about email sender

 

 

This is my email

 

From: m

 

To: user@abc.com

 

Date: 07/02/2013 11:16 PM

 

Subject: 01070727:5: Pool member monitor status up.

 

How can I change "root@abc-01.com" into "abc-01@abc-01.com" ?

 

 

this is my alert config

 

alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS_UP {

 

snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.11";

 

email toaddress="user@abc.com"

 

fromaddress="root"

 

body="Pool Member monitor status UP"

 

}

 

 

thank you

 

6 Replies

  • From sol3667 .. If i changed fromaddress="root" into fromaddress="gtm01"

     

     

    when email sent >> Does sender will change From: root@hostname.com into From: gtm01@hostname.com ?

     

     

    Sorry I haven't test system.

     

     

    Thank you
  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    teepan123,

     

     

    From the sol in question:

     

     

    Note: The BIG-IP system appends the local hostname to the configured fromaddress field to derive the FQDN for inclusion in the From: address.

     

     

    Hope this helps,

     

    N
  • Hi Nathan

     

     

    And How about 11.x ? (ssmtp instead postfix)

     

     

    my config is

     

     

    mailhub=smtp.gmail.com:465

     

    AuthUser=teepan123@gmail.com

     

    AuthPass=xxxxxxxxxx

     

    Hostname=

     

    FromLineOverride=YES

     

    UseTLS=YES

     

     

    When I trigger alert

     

    Email was sent but result is seem wrong >> [from: ] is still AuthUser not the one I set in alert.conf

     

     

     

    from: root (teepan123@gmail.com)

     

    to: teepan123@gmail.com

     

    date: Wed, Jul 3, 2013 at 3:54 PM

     

    subject: 01070640:5: Node /Common/test address 100.100.100.3 monitor status down. [ was unchecked for 0hr:0min:17sec ]

     

     

    This is alert.conf

     

     

     

    alert BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_STATUS {

     

    snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.12";

     

    email toaddress="teepan123@gmail.com"

     

    fromaddress="bigip03-ve"

     

    }

     

     

     

     

     

    How to fix it?

     

    Thank you

     

     

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    Try uncommenting out the "FromLineOverride=YES" line.

     

     

    HTH,

     

    N
  • After uncommenting the "FromLineOverride=YES" line.

     

    From: teepan123@gmail.com

     

     

    When commenting the "FromLineOverride=YES" line.

     

    From: root (teepan123@gmail.com)

     

     

    difference in root word appear or not ...and fromaddress in alert.conf still not shown

     

     

    teepan123

     

  • I think if we use mailhub other than gmail (which must use AuthUser) everything will work out. -_-