Let's say we change the SMTP source from local to Anonymous SMTP, save the page the config reverts back to Local :
Avi Version: 22.1.3
This is a UI bug where the SMTP_TYPE configuration does not update from 'Local' to 'Anonymous
Workaround:
To resolve this issue, configure the SMTP settings using the CLI.
Login to the Shell on CLI and run the below commands :
>configure systemconfiguration
>systemconfiguration> email_configuration
>systemconfiguration:email_configuration> smtp_type smtp_anonymous_server
>systemconfiguration:email_configuration> mail_server_name test.avi.com
>save
>save
Permanent Fix:
Upgrade to the latest patch of version 22.1.7 or 30.2.3, where this issue has been fixed.