1

I configured Postfix, after a time I discovered I am blocked from sending emails because my network is on a blacklist (it's a dynamic IP). So, sometimes Outlook does not connect to send (still gets the mails). Then I changed the SMTP on the master file and I set port 587 on this way:

587      inet  n       -       -       -       -       smtpd

The problem is now I can't receive, I get these errors:

The recipient server did not accept our requests to connect

On my domain manager I set the A register to point to his own IP, and the MX to point to my domain name (the MX is mydomain.com, not mail.mydomain.com, but all was configured this way with Postfix).

I don't understand what could be wrong, any idea of this issue?

user156355
  • 99
  • 1
  • 3
  • 9
  • Probably, outer SMTP servers or relays merely don't know how to connect to your SMTP server. Maybe they try to connect to port 25. You can clear it out by issuing `tcpdump -nnn -i ethX port 25`. Then try to send e-mail to your domain from another ISP. If there will be any output, then I'm right. – gevial Mar 01 '13 at 06:03
  • it returns (SIOCGIFHWADDR: No such device) – user156355 Mar 01 '13 at 15:14
  • You should be root or run `sudo tcpdump -nnn -i ethX port 25`. And do not forget to replace `ethX` with actual name of your WAN interface, e.g. eth0 or eth1 or anything-you-have. – gevial Mar 01 '13 at 15:38

1 Answers1

10

To receive emails from other servers, you need to be listening on port 25. Port 587 is the submission port, intended for clients to submit mail for delivery. Other mail servers will never try to connect to this port.

EEAA
  • 109,363
  • 18
  • 175
  • 245