I just added my WordPress website to AWS Lightsail and wanted to set up my mail accounts as well.
Receiving mails from my Google Mail account works, BUT
sending mails to my Google Mail account does not work.
I receive emails that I send from hi#mydomain.com to bye#mydomain.com.
I opened all recommended ports by Plesk and can only receive emails.
Enabling SMTP service on port 587 on all IP addresses in the server-wide settings does not solve my problem.
What should I do now?
AWS closed port 25 by default (Still open for tools that check ports). Nevertheless, the support finally replied and told me that they remove it manually to prevent spam.
You can remove the limit of your Lightsail instance with the following form: https://aws.amazon.com/forms/ec2-email-limit-rdns-request
Related
I have installed zimbra on GCP VM. Im able to received mail from outer and inner network but unable to send mail in outer network. I have change smtp port to 2525 and define firewall but still not able to send mail.
br//
madhur
For security reasons Google blocks SMTP traffic and that is why you can't send email:
By default, Compute Engine allows outbound connections on all ports
but port 25, which is blocked because of the risk of abuse. All other
ports are open, including ports 587 and 465.
See also the documentation what kind of traffic gets always blocked by default in GCP (and you can't change it).
The only way to semd emails from you GCP instances is to use trusted 3rd party tools such as: SendGrid, Mailgun, or Mailjet.
Have a look at the documentation on how to send emails from GCP VM's, which provider is best suited for you and how to configure specific service.
I tried with php mail function and the email is not sent. I activated the port 25 in the aws instance network setting but no uses.
Checked the mail settings option in the plesk Controlpanel, I got the following message
You cannot send emails from Plesk because outbound connections on TCP port 25 is blocked. Check the firewall settings or contact your hosting provider.
Please give the suggestion, how to resolve it.
You need to request to amazon to open that port, by default it is blocked..After request they open it.
Here is the link to request
https://aws-portal.amazon.com/gp/aws/html-forms-controller/contactus/ec2-email-limit-rdns-request
I am trying to set up my own Email server on EC2 instance, but facing issue related reverse DNS and SMTP port 25:
Incoming Mail (SMTP/postfix) is running but is not publicly accessible at X.X.X.X:25.
Outbound mail (SMTP port 25) seems to be blocked by your network. You will not be able to send any mail. Many residential networks block port 25 to prevent hijacked machines from being able to send spam. A quick connection test to Google's mail server on port 25 failed.
Your box's reverse DNS is currently ec2-x-x-x-x.ap-south-1.compute.amazonaws.com, but it should be mail.xyz.com. Your ISP or cloud provider will have instructions on setting up reverse DNS for your box.
By googling I found Request to remove email sending limitations link, I requested by this form to AWS, but didn't getting any solution.
Please guide me on this.
I like to configure my own mail server for sending bulk e-mails in amazon ec2 services.But i don't know where to start and what are the softwares needed to configure the linux instance of ec2?
I know already how to set up simple web server in ec2.
These set up is only for sending bulk emails because i spent more money for amazon ses and mandrillapp so i jumped into setup my own email server.
Your suggestions very helpful for setup my server.
Im trying to setup a postfix SMTP mail server on my amazon ec2 instance. i followed this guide http://cybart.com/how-to-install-and-configure-postfix-on-amazon-ec2/ and many other ones on configuring the main.cf
everytime i try to telnet my mail server mail.domain.com smtp it trys to connect to address XXX.XXX.XXX.XX but then operation is timed out and im unable to connect to remote host.
If you're still looking for guidance on how to setup an email server using Amazon EC2, I've written a guide for it. Even though some find using ec2 for email to be a hassle it doesn't have to be for you.
https://avix.co/blog/server-hosting
Here are some details about what the configuration will give you;
The system uses:
-Postfix as the smtp agent
-Dovecot as the client-side connect and mailbox manager
-Postgresql database to handle mail users, mail transports and the Spamassassin database
-Amavis (w/ Clamav & Spamassassin) for protection against viruses sent through email, and to facilitate an adaptive spam detection system that learns and corrects its behavior for each individual user
-Spamassassin as the spam filter and bayes to learn spam from ham and ham from spam
-Apache as the web setup, enables http & https connections to your site
-Squirrelmail as the default webmail. After the server is setup you will be able to check your email on yourdomain.com/mail from any browser on any device
The system supports:
-Multiple transports for different domain
Good luck, and let me know if I can clarify anything.