Koozali.org: home of the SME Server

Cannot send or receive mail from Yahoo

radbrad

Cannot send or receive mail from Yahoo
« on: January 19, 2007, 07:18:45 AM »
Hello, first I want to say I love SME. I just installed ver 7.1 fresh. Everything works (dedicated server) mail for my domain works fine except I cannot send or receive mail from yahoo.

My yahoo email address is our_lan_boy@yahoo.com. Checking the logs I get :

2007-01-18 10:52:42.394085500 info msg 1230492: bytes 1407 from

<brad@logonquick.com> qp 4775 uid 453
2007-01-18 10:52:42.401020500 starting delivery 6: msg 1230492 to

remote our_lan_boy@yahoo.com
2007-01-18 10:52:42.401220500 status: local 0/10 remote 1/20
2007-01-18 11:02:42.346473500 delivery 6: deferral:

Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
2007-01-18 11:02:42.346480500 status: local 0/10 remote 0/20
2007-01-18 11:02:42.346483500 starting delivery 7: msg 1230492 to

remote our_lan_boy@yahoo.com
2007-01-18 11:02:42.346487500 status: local 0/10 remote 1/20
2007-01-18 11:12:42.265498500 delivery 7: deferral:

Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
2007-01-18 11:12:42.265504500 status: local 0/10 remote 0/20
2007-01-18 11:24:59.153163500 starting delivery 8: msg 1230492 to

remote our_lan_boy@yahoo.com
2007-01-18 11:24:59.153169500 status: local 0/10 remote 1/20
2007-01-18 11:25:00.462292500 delivery 8: deferral:

Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
2007-01-18 11:25:00.462299500 status: local 0/10 remote 0/20
2007-01-18 12:00:59.133631500 starting delivery 9: msg 1230492 to

remote our_lan_boy@yahoo.com
2007-01-18 12:00:59.133638500 status: local 0/10 remote 1/20
2007-01-18 12:01:00.783733500 delivery 9: deferral:

Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
2007-01-18 12:01:00.783740500 status: local 0/10 remote 0/20
2007-01-18 12:50:19.333941500 starting delivery 10: msg 1230492

to remote our_lan_boy@yahoo.com
2007-01-18 12:50:19.333948500 status: local 0/10 remote 1/20
2007-01-18 13:00:21.250922500 delivery 10: deferral:

Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
2007-01-18 13:00:21.250929500 status: local 0/10 remote 0/20
 
My domain is logonquick.com. My email is Brad@logonquick.com.


Another clue from another log:
sbytes  mess  tries   xdelay  host
  1348     1      1     1.24  astound.net
  3787     9      9     4.65  logonquick.com
  4892     9      9     2.09  server1.logonquick.com
    0     0      3  1201.17  yahoo.com
End of Report

If some one can give me a clue on how to fix this problem. There are hundreds of posts for qmail and here one the contibs board with poeple having similar problems. I am sure it has been solved before but I am unable to find a good solution.

I am a windows guy, and would love to move some of my clients over to this platform.

Regards,
Brad Kershaw
Brad@logonQuick.com

Offline JonB

  • *
  • 351
  • +0/-0
Cannot send or receive mail from Yahoo
« Reply #1 on: January 19, 2007, 11:51:49 AM »
Brad,

I suspect the reason you cannot send emails to Yahoo from your SME mail server is because they are blocking SMTP connections from your IP address.

Do you have a dynamic or static IP?

I had the same issue with one of my mail servers and MSN/Hotmail. Even though I have a static IP and the PTR/rDNS record points to my domain name the IP is allocated from my ISP's dynamic netblock. MSN/Hotmail were blocking all SMTP connections from that dynamic netblock. The big pain is they only give a soft fail i.e a deferral so the emails were tried to be delivered for a week before finally failing resulting in a NDR email.

I was able to get MSN/Hotmail to unblock my IP though it took several weeks and quite few emails back and forth.

I was able to work around it in the meantime by adding a SMTP route in qmail that routed mail destined for hotmail.com via my ISP's mail server.

As for not not being able to receive emails from Yahoo the answer will be in the qpsmtpd logs.

Jon
...

Offline JonB

  • *
  • 351
  • +0/-0
Cannot send or receive mail from Yahoo
« Reply #2 on: January 19, 2007, 12:25:41 PM »
Brad,

On further investigation it appears that your ISP, astound.net, is listed as one of the ISP's that  block outgoing SMTP on port 25 to any mail server except their own mail servers. You can confirm this wth them but will probably need to set up the SME to send all email via your ISP's mail server.

The reason you are not getting mail from Yahoo or anybody for that matter is because there is no incoming connection from the internet on port 25 to your mail server. I should be able to telnet to your mail server, logonquick.com, on port 25 and can't.

Do you have a router that you need to forward port 25 to your SME server.

Jon
...

radbrad

Struggling with sme
« Reply #3 on: January 25, 2007, 08:44:59 AM »
I am pulling my hair out...

I found this in the manual for sme 7.0

11.1.4. Telnet
telnet has traditionally been one of the tools used to login remotely to other systems across a network or the Internet. However, when you use telnet, all user names and passwords are transmitted without any kind of encryption, dramatically reducing the security of your server. For that reason, we strongly recommend the use of ssh as described above.


Warning
Because ssh usage has increased to an acceptable level, telnet access has been removed from the SME Server.


Hummm, thats funnny I can telnet in from the Lan side. The server answers up to ehlo logonquick.com

Cannot connect from the internet side.

I seem to be able to send mail to the email address brad@logonquick.com (my sme server)I have at my ISP (astound.net) account. And visa versa.

Have checked all DNS (works fine), everything resolvs.
I will have a couple of friend send me some mail, tomorrow from work.
I have called astound in the past and have been told several times they are not blocking any ports.

Not sure where to go from here!!!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Struggling with sme
« Reply #4 on: January 25, 2007, 09:37:55 AM »
Quote from: "radbrad"


Hummm, thats funnny I can telnet in from the Lan side. The server answers up to ehlo logonquick.com



Your connecting to a mail server not a telnet daemon.
Regards,
William

IF I give advise.. It's only if it was me....

radbrad

Solved receiving mail problem not the Yahoo problem though.
« Reply #5 on: January 26, 2007, 01:01:35 AM »
Here is the answer for getting your mail outside the lan:

POP3 server access Allow private and public (secure POP3S)
IMAP server access Allow private and public (secure IMAPS)

SMTP authentication Allow SSMTP (secure)

Then in your email client, use

POP3 - SSL - Port 995
or
IMAP - SSL - Port 993
and
SMTP - SSL - Port 465 Authenticate password/username

Thanks you Fellow contribs.org user william_syd


Still working on the yahoo problem.

Regards,
Brad

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Solved receiving mail problem not the Yahoo problem thou
« Reply #6 on: January 26, 2007, 01:17:36 AM »
Quote from: "radbrad"


Thanks you Fellow contribs.org user william_syd


Thanks but I'm sure it's all in the manual.

Quote from: "radbrad"

Still working on the yahoo problem.

Regards,
Brad


Give some more details..

SME 7.1 ?
Server only/Server gateway ?
Only mails from Yahoo that are not received ?
Only mails to Yahoo that are not sent ?
Bounce message at Yahoo ?
Any command line alterations made ?
Any contribs installed ?

What does the command
Code: [Select]
config show SMTPSmartHost
show?
Regards,
William

IF I give advise.. It's only if it was me....

radbrad

Still no luck....
« Reply #7 on: January 29, 2007, 06:47:22 AM »
Did some more searching today and found about a bezillion people with the same problem. Most running exchange server on windows.

This leads me to believe it is more common than I first thought.

My specs are SME server 7.1
Vanilla install
server gateway mode.
Cannot send or receive mail to or from Gmail, Yahoo unsure of how many others.

I never get a failure message from SME telling me what happened. Why it never got delivered or even why it was never sent.

I get the following from Yahoo:

Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<brad@logonquick.com>:
Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)
I'm not going to try again; this message has been in the queue too long.

--- Below this line is a copy of the message.

Return-Path: <our_lan_boy@yahoo.com>
Received: (qmail 2968 invoked by uid 60001); 26 Jan 2007 05:44:14 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID;
  b=dUQYrKDWJ7p21CXaIQYxShWtx2vT8gwwkj6nAPgSEJ0LiSD4hv/mQoEm+xk6js3DTxWl6EyMPqjeRA0xj4Iv1vVnXPeiwAVnw2Cm5wmgi79EjZ2BNf8XpR51fLZF8NKWDOk2dfhOnA40aE5Q/nlilg6KQjco7P0LOAOB2YhBxG4=;
X-YMail-OSG: r7P0hEAVM1k4NwQWgYyb_qFdiUhD_McKstecVUGndGRdzXdQVIH111Twi2DNpEKJ70LY_EwDHjTjiaQDTL2c8_FdFvL5_a0t0dr388.B7lj02xzATXo-
Received: from [64.85.232.9] by web90403.mail.mud.yahoo.com via HTTP; Thu, 25 Jan 2007 21:44:14 PST
X-Mailer: YahooMailRC/368.3 YahooMailWebService/0.6.132.7
Date: Thu, 25 Jan 2007 21:44:14 -0800 (PST)
From: Brad Kershaw <our_lan_boy@yahoo.com>
Subject: another test after I adjusted the white list.
To: brad@logonquick.com
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1943866775-1169790254=:613"
Message-ID: <910375.613.qm@web90403.mail.mud.yahoo.com>

--0-1943866775-1169790254=:613
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Test....=0A =0A-LAN_BOY-=0A=0A=0A =0A______________________________________=
______________________________________________=0AHave a burning question?  =
=0AGo to www.Answers.yahoo.com and get answers from real people who know.
--0-1943866775-1169790254=:613
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:times new roman, new york, times, serif;=
font-size:36pt"><DIV></DIV>=0A<DIV>&nbsp;&nbsp;&nbsp; Test....<BR>&nbsp;</D=
IV>-LAN_BOY-=0A<DIV></DIV></div><br>=0A=0A<hr size=3D1>Never Miss an Email<=
br>Stay connected with Yahoo! Mail on your mobile. <a href=3D"http://us.rd.=
yahoo.com/evt=3D43909/*http://mobile.yahoo.com/services?promote=3Dmail">Get=
started!</a></body></html>
--0-1943866775-1169790254=:613--

Sorry for the length.

No contribs installed.

All of my DNS resolves. I checked the reverse DNS also. I am stumped.

Feel free to try and send me an email at Brad@logonquick.com and I will respond if it comes through. Be nice to see if other domains can receive.

I am pretty sure I am not on the blocked list. I am not a spammer.

Any suggestions are welcome....
Brad

Offline JonB

  • *
  • 351
  • +0/-0
Cannot send or receive mail from Yahoo
« Reply #8 on: January 29, 2007, 11:13:26 AM »
Brad,

As I said in an earlier post there is no physical connection from the internet to your mail server on port 25. I cannot telnet into your mail server on port 25.

Until you sort that out you will not receive any mail from anyone.

This is nothing to do with DNS.

It may be your ISP blocking incoming port 25. Some ISP's do this on residential cable/dsl connections to stop users from running servers.

It may just be a case of having to forward port 25 through a router to you may have in your network to the SME.

Jon
...

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Cannot send or receive mail from Yahoo
« Reply #9 on: January 29, 2007, 12:43:59 PM »
I can confirm that. I have portscaned your server and port 25 doesn't respond. I can send you a screenshot if you'd like.
"It should just work" if it doesn't report it. Thanks!

radbrad

This is so strange...
« Reply #10 on: January 29, 2007, 10:19:39 PM »
I spoke with my ISP today again, and they assure me they are not blocking port 25. I believe them, because I can send and receive mail from my isp's mail server.

I cannot telnet to port 25 from the outside. I can telnet from the inside though.

Port 25 must be blocked.  I can connect to the server with outlook express and send mail and receive mail from the secure ports 465 and 995.

Other things I have tried.
1)Set up a different mail server (Clark Connect) same result.
2) Reinstalled SME in all configurations (Server, Gateway etc...)


Is my firewall blocking me? HELP!!!!!

Thank guys.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Re: This is so strange...
« Reply #11 on: January 29, 2007, 10:53:41 PM »
Quote from: "radbrad"
I spoke with my ISP today again, and they assure me they are not blocking port 25. I believe them, because I can send and receive mail from my isp's mail server.


Your ISP is blocking you.
Again.... if you don't belive me i can send you some portscan screens.

You can get mail from your ISP? Well.... this is normal. They aren't blocked you are. They can use port 25 because they are blocking your line not theirs.

You can telnet from the inside but that's normal. You can't test something from your lan. You have to do it from outside.

And please start listening to us because we aren't going anywhere if we tell you that your port is closed and you keep telling us that it isn't. IT IS!

I hope that you'll finally listen to us.
"It should just work" if it doesn't report it. Thanks!

radbrad

Cannot send or receive mail from Yahoo
« Reply #12 on: January 30, 2007, 12:15:09 AM »
I believe you. I am off to fight with my ISP.
Oh, I appologise for being so stubborn.


Regards,
Brad

radbrad

I stand corrected.
« Reply #13 on: February 06, 2007, 11:19:23 PM »
I finally got an honest tech on the phone and they confirmed what you all have said. Port 25 is blocked. I routed my mail through their server and the out going now works perfectly.

For some reason I do not get any incoming mail now. Any mail from yahoo, gmail  or any other account just times out. Bounce notices say that could not find my mail server. I have turned off spam filter and virus checking but still nothing.

DNS is not the problem.

Any suggestions Oh, enlightened ones?

Regards,
Brad Kershaw[/b]

Offline raem

  • *
  • 3,972
  • +4/-0
Re: I stand corrected.
« Reply #14 on: February 07, 2007, 12:57:58 AM »
radbrad

> I finally got an honest tech on the phone and they confirmed...Port 25 is blocked.
> Any suggestions Oh, enlightened ones?

You are still not listening to (ie reading) what people are telling you.
JobB (& bpivk) has said twice:

The reason you are not getting mail from Yahoo or anybody for that matter is because there is no incoming connection from the internet on port 25 to your mail server.


> I routed my mail through their server and the out going now works perfectly.
> For some reason I do not get any incoming mail now.

That is only fixing outging mail.
You cannot run a mail server which uses port 25 if your ISP blocks that port. The answer is to use a ISP who does not block ports.

You can do fiddly things like externally redirect mail to another port and configure your server to listen on that port, but you will need to setup suitable DNS records at someone like www.no-ip.com or similar who offer that service.
There are posts in these forums that explain how to reconfigure your server, so search.
...