Can't send Email after link IP address AWS Amazon to domain name

I made install for ERPNext 13 on ubuntu on AWS Amazon, and I made configuration for Email account, and was every thing fine, and ERPNext system was send email very good, but after I link IP address ( that given by AWS amazon ) to domain name , it doesn’t send Email any more, What is the problem ? plz .