Email reception not working

Got problems with your B2 or B3? Share and get helped!
Post Reply
lkbrow1
Posts: 28
Joined: 30 Jan 2007, 21:22

Email reception not working

Post by lkbrow1 » 25 Sep 2008, 21:13

I see messages like this in the log file.

lost connection with smtp.mailserver.net[xx.xx.xx.xx] while performing the EHLO handshake

Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Post by Cheeseboy » 26 Sep 2008, 09:51

Hello,

The smpt server is responsible for sending mails not receiving them.
The error message indicates that something went wrong when trying to send an email.
Are you sure this error is related to you problem receiving emails?

Most ISPs block outgoing port 25, but I guess if that was the problem you wouldn't have gotten this error...

I googled EHLO (which I had never heard of before) and I learned a few things. Not enough to give you a solution as I don't know your exact circumstances, but I suggest you do the same thing in order to try to figure out what is going wrong.

Cheers,

Cheeseboy

helder
Posts: 24
Joined: 17 Jun 2007, 16:21

[SOLVED]

Post by helder » 11 Nov 2008, 11:42

SOLVED - Look at edit 2 bellow

Same thing here.

I'm noticing also a very weird thing, I think the problems are related:

I'm trying to configure the relay to my ISP's smtp server which is: smtpa.netcabo.pt

From the other computers on the network I can telnet to this server (my ISP's):

Code: Select all

$ telnet smtpa.netcabo.pt 25
Trying 212.113.174.22...
Connected to smtpa.netcabo.pt.
Escape character is '^]'.
220 smtpa.netcabo.pt ESMTP
EHLO abc
250-smtpa.netcabo.pt
250-8BITMIME
250-SIZE 20971520
250-STARTTLS
250-AUTH PLAIN LOGIN
250 AUTH=PLAIN LOGIN
QUIT
221 smtpa.netcabo.pt
However, if I ssh into my bubba and then if I try to connect to the same server I get:

Code: Select all

$ telnet smtpa.netcabo.pt 25
Trying 212.113.174.22...
Connected to smtpa.netcabo.pt.
Escape character is '^]'.
220 smtpa.netcabo.pt ESMTP
EHLO abc <-- telnet just freezes at this point, and then it takes a few minutes for the connection to timeout - actually it doesn't respond to any command at this point HELO, QUIT, etc
I can telnet to other smtp servers, from bubba, for instance:

Code: Select all

$ telnet mail.excito.com 25
Trying 62.20.1.161...
Connected to mail.excito.com.
Escape character is '^]'.
220 mail2.space2u.com ESMTP Sendmail 8.14.3/8.13.8; Tue, 11 Nov 2008 17:12:08 +0100
EHLO abc
250-mail2.space2u.com Hello [85.138.147.182], pleased to meet you
<snip>
250 HELP
QUIT
221 2.0.0 mail2.space2u.com closing connection
Connection closed by foreign host.
Naturally when I configure postfix to use this server I get errors like:

Code: Select all

conversation with smtpa.netcabo.pt[212.113.174.22] timed out while performing the EHLO handshake
I have no iptables rules defined. And this config worked just fine with B1...

Any ideas?

Thanks,
Helder

Edit 1:
  • DNS and rDNS work just fine;
  • Found the same problem on several places, for instance here or here, no solution though...
Edit 2: OK, solved, it was the stupid Freescale CP silicon bug... Arrgggg! ;-) More info on this thread...

Post Reply