php - Postfix and Amazon EC2 - trouble -
php - Postfix and Amazon EC2 - trouble -
i have installed postfix via -yum install postfix on ec2 server. have shutdown default sendmail programme :
/etc/init.d/sendmail stop chkconfig --levels 2345 sendmail offin main.cf files postfix have set hostname www.mydomain.com.
now confused "relay" server- need this? have set mail.mydomain.com currently.
i have added port 25 amazon firewall, requested elastic ip unblocked(reverse dns set up).
i start postfix , not send email. have tried both through php mail() function , through command line : sendmail , nil gets sent. doing wrong?
i have mx record in place not have spf record because not know set to.
php email amazon-ec2 amazon-web-services
Comments
Post a Comment