AWS restricts traffic on port 25 of all EC2 instances by default, you should open a request to remove the restriction. More details here