GithubHelp home page GithubHelp logo

Comments (6)

gcleaves avatar gcleaves commented on August 15, 2024

I'd start by telnetting to the SMTP port and check whether that works: https://www.comparitech.com/net-admin/telnet-smtp-test/ .

from ad-hoc-email-server.

a18-kaushik avatar a18-kaushik commented on August 15, 2024

it says
Could not open connection to the host, on port 25: Connect failed

but there is no service running on port 25 when i checked with netstat

from ad-hoc-email-server.

a18-kaushik avatar a18-kaushik commented on August 15, 2024

@gcleaves I'm able to open 2525 port for smtp and it shows as listening in netstat

question : do i have to make any more changes to receive mail on 2525 as smtp port in application?

from ad-hoc-email-server.

a18-kaushik avatar a18-kaushik commented on August 15, 2024

i think 25 port is necessary to receive incoming requests from any other mail server like gmail and i have no control over that
it's strange that running ahem on smtp port 25 doesn't show it as listening in netstat command

from ad-hoc-email-server.

gcleaves avatar gcleaves commented on August 15, 2024

Try netstat at various points in the network. I imagine port 25 IS listening on the container. Can you access port 25 from the docker host? At what point is port 25 blocked? That's where you have a firewall/network issue.

Some low cost hosting providers might block port 25 to prevent misconfigured mail servers from acting a spam relays, but I wouldn't expect Amazon to block it.

Does this help? https://repost.aws/knowledge-center/ec2-port-25-throttle

from ad-hoc-email-server.

a18-kaushik avatar a18-kaushik commented on August 15, 2024

thanks for the reply, i tried with docker on an alternate mail server and it works for the meanwhile

also for your above reply there is no container, i'm running directly on an ec2 by ssh into it
and the provided links states there are restrictions on port 25 for outgoing but here incoming is blocked as it's not listening on port 25

from ad-hoc-email-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.