Forum Discussion

kridsana_52318's avatar
kridsana_52318
Icon for Nimbostratus rankNimbostratus
Dec 09, 2014

Can iRule change SMTP subject?

Can iRule Do this scenario?

 

I have SMTP traffic passing through F5 and I want to change Subject of some SMTP packet.

 

example. If mail subject is "Test" or mail come from IP "1.1.1.1". then iRule write subject "alpha" append to the old subject >> subject will become "Test alpha" .

 

I know we can customize HTTP payload but Not sure if it is SMTP header or SMTP payload. Thank you very much

 

2 Replies

  • i think it could be done by stream profile/stream irule.

     

  • Please see if this is valid or not

    when CLIENT_DATA {

    STREAM::disable
    STREAM::expression {@test@testnaja@}
    STREAM::enable
    

    }