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.
...

radbrad

I guess I was confused.
« Reply #15 on: February 07, 2007, 06:44:59 PM »
I guess I am still confused.

I thought incomming mail came to my SME server via port 110.

I am not receiving mail. Mail is returned saying no response from my email server.

I thought sending mail from my server went out via port 25.

I can send mail (via my ISP's outgoing mail server) fine.

Seems to me this is a port 110 problem.

Radbrad :lol:[/b]

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Cannot send or receive mail from Yahoo
« Reply #16 on: February 07, 2007, 07:56:05 PM »
Yes you are confused. And what's worse? You're starting to confuse me.  :x

Let's go from page 1.

Your port (25) is closed so you can only send mail trough your ISP's mailserver.

Your port (110) is also closed. So you can't receive mail.

So to conclude:
1.)You have closed ports 25 and 110 so you can't send OR receive mail from your server.
2.)It IS a port problem, but the problem is with your ISP who closed all your ports.
3.)Solution is to change your ISP.

If you want to check which ports are open try this http://www.grc.com/x/ne.dll?rh1dkyd2 this webpage will show all your open ports.
"It should just work" if it doesn't report it. Thanks!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: I guess I was confused.
« Reply #17 on: February 07, 2007, 09:58:27 PM »
radbrad

> I guess I am still confused.

Try this
http://www.no-ip.com/support/guides/email/blocked_port_25.html
...

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Cannot send or receive mail from Yahoo
« Reply #18 on: February 07, 2007, 10:56:05 PM »
I think that his ISP blocks all common ports (our isp in slovenia does the same but we can choose unsafe package - open ports or safe package - closed ports).
"It should just work" if it doesn't report it. Thanks!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: I guess I was confused.
« Reply #19 on: February 07, 2007, 11:24:10 PM »
radbrad

> I thought incoming mail came to my SME server via port 110.
> I thought sending mail from my server went out via port 25.

You are confusing mail server to mail server communication with email client to mail server communication.

Your sme servers "mail server" communicates with other external "mail servers" using smtp (protocol) on port 25 for incoming & outgoing messages

If you wish to run your own mail server then you need to use an ISP who does not block port 25 inbound & outbound.
Alternatively use a external port redirector service to circumvent inbound blocking combined with using your ISPs server to send email, refer to the setting in Email panel.

Email clients eg Outlook Express, Thunderbird etc communicate with ANY mail server (including your own local sme server or other external servers) using various ports ie
SMTP port 25 or secure SMTP port 465 for outgoing mail
POP port 110 or secure POP port 995 for incoming mail
IMAP port 143 or secure IMAP port 993 for incoming mail

So depending what method you use in your email client program to collect & send email, you will also need other ports to be open (& unblocked).

If you are using a email client on a workstation to collect email directly from an external mail server eg your ISPs or someone else's mail server, then you will use either port 110, 995, 143 or 993 (& these need to be unblocked).

Note the default setting of sme server enables a smtp proxy, so local workstation email clients must use the sme server smtp mail server for sending mail & this can be using port 25 or 465 (ie email client to mail server)

Your particular issue is that you are tring to run your own mail server and your ISP has blocked port 25 for direct access to the Internet (inbound & outbound), so your mail server cannot effectively communicate with other mail servers.
Your ISP is ONLY allowing outgoing port 25 via their smtp mail server, and that's why you can send email if you enter your ISP's mail server details in the Email panel.
That's also why you cannot receive email directly on your sme server (ie incoming port 25 is blocked).
...

radbrad

Thanks to all who helped.
« Reply #20 on: February 08, 2007, 03:25:56 AM »
Now I have it.

What I decided to do now is to find a provider that will forward my mail for free. I don't want store and forward, just forward.

What I am going to do is start a new thread on how to configiure port 26 to listen for mail (I will be asking for a proven walkthrough )

This would have to include changing spam assassin, webmail, clamav etc all to port 26.

I will post a link to this thread for the hundreds of others like me.

Regards,
Radbrad

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Thanks to all who helped.
« Reply #21 on: February 08, 2007, 04:02:19 AM »
radbrad

> What I am going to do is start a new thread on how to configure
> port 26 to listen for mail (I will be asking for a proven walkthrough )

That's not the best idea.
Leave your smtp server running on port 25 and use the Port Forward panel to forward say port 2525 to port 25.
Configure externally (ie with no-ip.com or whoever) for incoming mail to be redirected to port 2525.
The result is that your server listens externally and receives mail on port 2525 and then when it arrives at the server it is port forwarded to local port 25 where the mail services are running.

Mail goes out OK on port 25 using your ISP's email server so no problem there.

If you change everything to run on port 26 then all external mail servers will not get your mail because they are listening on port 25 (which is standard on all mail servers).

I suggest you start to use Search.

This has been answered quite a few times before, and there is even a thread telling you what I just said ie 2525 to 25.

> This would have to include changing spam assassin, webmail, clamav etc all to port 26.

No need to change all that.

I suggest keeping this thread going so people can see where you have come from ie post how you finally did it here.
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Thanks to all who helped.
« Reply #22 on: February 08, 2007, 04:25:14 AM »
radbrad

I searched for you.
It confirms what I advised earlier (straight from Gordon Rowell too!), as I had already read that before in posts.

http://forums.contribs.org/index.php?topic=32732.0

http://forums.contribs.org/index.php?topic=30802.0

http://forums.contribs.org/index.php?topic=24273.0
...

radbrad

Cannot send or receive mail from Yahoo
« Reply #23 on: February 10, 2007, 04:53:09 AM »
I finally got it working.

Even thought my port 25 is blocked by my ISP.

It was a long road, but here is the fix ---

http://forums.contribs.org/index.php?topic=35613.0

Brad