[Ilugc] Postfix connection refused error

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Sat Sep 25 00:34:45 2010

On Fri, Sep 24, 2010 at 2:20 PM, Abhishek K <abhihello@xxxxxxxxx> wrote:


Sep 18 11:58:23 server postfix/smtp[3801]: connect to
mail.domain.in[122.165.69.244]:25: Connection refused
Sep 18 11:58:24 server postfix/smtp[3801]: A7F8024017:
to=<abhihello@xxxxxxxxx>, relay=none, delay=29, delays=24/0.14/5.1/0,
dsn=4.4.1, status=deferred (*connect to
mail.domain.in[122.165.x.x]:25:Connection refused*)
Sep 18 11:58:42 server postfix/smtpd[3796]: disconnect from
localhost[127.0.0.1]

No matter what I do, it just fails with the above error all the time
when I am sending to external domain. Receiving works fine. But sending
fails when sending to external domain (like gmail, hotmail, or any other.)


You need to mention, distro name version etc.

Prima Facie, your problem appears to be a firewall issue.   In your
logs you get connection refused but a few moments ago  I tried 'telnet
 122.165.69.244 25' and the connection times out.  Assuming you have
your postfix/master daemon on, it implies inbound packets to port 25
are being dropped instead of a reject.

What is the output of 'iptables  --list' ?

-- Arun Khan

Other related posts: