-1

I have client that email is ######@example.com

I tried to send email, but it does not work

I ran dig against example.com

example.com.                        IN      MX

;; ANSWER SECTION:
example.com.         14399   IN      MX      0 example.com.

and found a valid MX record for it.

However I scanned example.com, but port 25 was not open

How can I send mail to example.com in that case?

closed as off-topic by Ramhound, DavidPostill Aug 1 at 17:36

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about computer hardware or software, within the scope defined in the help center." – Ramhound, DavidPostill
If this question can be reworded to fit the rules in the help center, please edit the question.

  • @ivanivan: Other protocols can use DNS SRV records, which do send a port number, although it's true that MX records used by email don't. – grawity Aug 1 at 16:28
2

You really cannot send mail to this domain if none of their MX hosts is listening on port 25.

However, what probably happened here is that your ISP blocks your outbound access to port 25 outside of their own network. This is basically the case everywhere; if you need outbound port 25, you need to be in a dedicated netblock, and probably pay more than you do for consumer broadband.

Your ISP's mail server will obviously have outbound access to port 25, and you should be able to use it as the relay host for your own outgoing mail.

Some services allow individual (usually authenticated) users to submit email on port 587 or 465, but to run an MX server, you need for it to listen on port 25.

  • 1
    Practically - if its not his server, and its the client's server - the client needs to sort it out ;p. – Journeyman Geek Aug 2 at 0:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.