email - amazon ec2, postfix, SES set up? -
i'm trying set ses(simple email service) aws.
(followed instruction on http://pandali.com/cgi-bin/pforum/pforum.pl?num=1297885604/2)
in nutshell,
seems i've sent request email amazon.(no error msgs)
amazon supposed send email abc@example.com.
check /var/mail, nothing there.
i suspect it's because domain name (example.com) not set correctly? or postfix not set correctly
my postfix's main.cf
:
smtpd_banner = $myhostname esmtp $mail_name (ubuntu) biff = no append_dot_mydomain = no readme_directory = no smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache myhostname = a.example.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = example.com mydestination = example.com, ip-10-212-82-**.ec2.internal, localhost.ec2.internal, localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = inet_protocols = ipv4
both of a.example.com , example.com mapped ec2 instance. (i can ssh example.com)
'hostname' shows ip-10-212--.
you need open smtp(25)/smtps(465) ports send emails , pop3(110)/pop3s(995) or imap(143)/imaps(993) ports receive emails on ec2 instance.
Comments
Post a Comment