Hello please help!
I installed virtualmin in my ubuntu server using Amazon EC2 under free tier
I tried lots of time but i’m not able to send email using virtualmin, Its fine for receiving emails to accounts but when i send email its says email was send but not receive. I checked everything bin, trash, spam, junk but email was not received
I use to send email using Gmass SMTP test email tool and this log i’m getting
I replace my IP address and domain with dummy details but this log i’m getting while sending email and check the screenshot, In screenshort you see it processing to send email and it process a long but email not send
If port 25 is blocked then I don’t use this port, why I can’t send emails using other port, is it due to prot 25 block no mail function will work?
I read an article just now that if port 25 blocked we can’t receive emails but we can send emails but in my case I’m able to receive emails but not able to send emails
Most cloud providers these days will block port 25 outbound to decrease the level of spam coming from their network. In most cases you will need to open a ticket to get it opened, maybe provide some info on how/what your spam policy is and some require you to have an active service for at least one billing cycle.
Talk to your provider and ask, they are the only ones that can help you directly with this.
The other option is to use a relay service, such as MailChannels, Sendgrid, SMTP2GO, mail.baby or similar (I’d recommend mail.baby as they’re run by good people, the same as the ones behind interserver.net, and the pricing is very fair).
I’m getting the emails but not it not sending, i check here “https://yourservergoeshere:10000/postfix/mailq.cgi?xnavigation=1” and found status all emails are in connection timeout or some of them are in Network is unreachable, This status i’m getting
Can you help me on this how to fix it?
You don’t control the rest of the world. You can’t tell every SMTP server in the world to listen on a different port. Port 25 is the SMTP port. If you don’t have port 25 (and you don’t on most major cloud providers), you don’t have a mail server.
You’ll need to use a relay service. This is documented at Amazon (and at every other major cloud provider).
But, there are benefits to letting others solve the deliverability problem. It’s probably that any IP you get at Amazon will be burned from previous abuse, and so you’ll find yourself blocked by at least a few mail servers until you jump through whatever hoops are needed to get unblocked (getting off of DNSBL/RBL lists, or contacting the server owner directly via whatever form they provide…it can be quite time-consuming, takes days or weeks to get through the Microsoft process, for instance, and you may have several to deal with).
Got it buddy so only option is left need to contact with AWS to remove this restrictions, and I don’t think the support will remove this as I want to send an bulk email. Okay let’s see thankyou @toreskev@ID10T@Joe for help me out from this situation
You’ll want to use one of the many mail relay services. Maintaining deliverability for a mail server that sends a lot of mail is a challenge, even once you get it going. People mark stuff spam even if they subscribed to it, rather than unsubscribing (even if it’s easy to unsubscribe), and so you end up in a constant battle to maintain reasonable delivery.
Anyway, that’s what we do for the forum and our website notifications. It’s not wildly expensive (about ten bucks a month for all of our outgoing mail, and we send about 15k mails every month). We’re using Mailgun, but there are many, and probably some cheaper. I think Amazon’s service would be quite a bit cheaper, actually, but it didn’t exist when I set all this up.
I believe Amazon runs an external firewall on you instance. You do have the ability to open and close both incoming and outgoing ports. Been a while so I don’t remember the specifics.
I have a low end instance just for DNS. I just looked at the interface. (I use ‘Lightsail’. It seems it is only for inbound traffic. Not what I remembered but it has been months since I set it up.
EDIT: I forgot that I had a Discourse instance running as a test bed. I just tried password reset and got an email. I don’t remember having to set up anything with Amazon to get those emails out.