Code Monkey home page Code Monkey logo

Comments (8)

adamcooke avatar adamcooke commented on June 6, 2024

When you say "Is there a way to set a custom port for the web interface?" what do you mean? What e-mails are you talking about?

from postal.

goldmont avatar goldmont commented on June 6, 2024

When you say "Is there a way to set a custom port for the web interface?" what do you mean? What e-mails are you talking about?

I mean that Postal keeps sending emails to port 25 but my SMTP is running on port 2525. When I send an email via the Send message form (see the screenshot), Postal fails to deliver the message because it's trying to send it to port 25.

Screenshot from 2024-03-16 10-29-33

from postal.

goldmont avatar goldmont commented on June 6, 2024

Of course example.com is not my real domain.

from postal.

adamcooke avatar adamcooke commented on June 6, 2024

I see now.

No, that's not possible. If you want to receive incoming email to your Postal install from other mail servers (and Postal itself) you will need to listen on port 25.

Postal does not treat outgoing mail any differently whether it's going to itself or any other external server.

from postal.

goldmont avatar goldmont commented on June 6, 2024

I see now.

No, that's not possible. If you want to receive incoming email to your Postal install from other mail servers (and Postal itself) you will need to listen on port 25.

Postal does not treat outgoing mail any differently whether it's going to itself or any other external server.

So could you please explain me what is the purpose of letting the user to set a custom port while creating a new SMTP endpoint? There's something I don't understand or missing in the documentation.

from postal.

adamcooke avatar adamcooke commented on June 6, 2024

SMTP endpoints are used to route incoming mail to other servers. For example, you can setup specific addresses to go to other servers.

from postal.

goldmont avatar goldmont commented on June 6, 2024

To anyone else having the same issue, you can open port 25 on your firewall and redirect all the traffic to another port on the same host. For example, I had to redirect all the traffic from port 25 to 2525.

Message sent successfully:
Screenshot from 2024-03-16 10-55-55

from postal.

willpower232 avatar willpower232 commented on June 6, 2024

For future people coming here, I just wanted to add that there is a massive difference between using Postal to send emails via SMTP or API and using the incoming routing.

If you wanted to use the incoming routing, you would have to have a domain with its MX records pointing at Postal and then probably use something else to send the message to that domain (I'm not sure if Postal would be able to SMTP to itself).

Using Postal directly to send messages via SMTP or API will always use the standard port.

from postal.

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.