# Problem with SMTP...

**URL:** <https://forums.interworx.com/t/problem-with-smtp/10395>\
**Category:** Bugs\
**Created:** [January 6, 2006, 8:06am UTC](https://forums.interworx.com/t/problem-with-smtp/10395 "2006-01-06T08:06:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [January 6, 2006, 8:06am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/1 "2006-01-06T08:06:43Z")

</div>

Hi I’m having an intermittent problem with one of my accounts mail smtp server.

I’ve restarted the mta agent and the mda agent and even rebooted the server but this one account cannot use the smtp server to send mail.

Don’t see any problems in any of the logs, tried stopping the firewall, all to no avail?

Where do I need to look next?

---

<div class="post-metadata">

**Author:** ![R-n-R](https://forums.interworx.com/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@R-n-R](https://forums.interworx.com/u/R-n-R)\
**Post date:** [January 6, 2006, 8:19am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/2 "2006-01-06T08:19:55Z")

</div>

You might want to go as far as doing a complete deletion of the site off the server and reinstalling it.

---

<div class="post-metadata">

**Author:** ![IWorx-Socheat](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ed655f/32.png) [@IWorx-Socheat](https://forums.interworx.com/u/IWorx-Socheat)\
**Post date:** [January 6, 2006, 8:29am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/3 "2006-01-06T08:29:25Z")

</div>

bluesin,

Can you give us a few more details about the problem. So, you can receive email on this domain, but you can’t send email from the domain?

Have you tried sending mail from the webmail client, or a different desktop email client? If you can send from webmail, that would mean something is wrong with your email client, or something is wrong with the communication between the server and your email client.

Socheat

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [January 6, 2006, 9:15am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/4 "2006-01-06T09:15:00Z")

</div>

Yes, mail can be sent from webmail, my client first reported it and he is using outlook. When he first reported it I set up a test email account and tried it using Opera and had no problems, making me suspicious of things on his end. He reported earlier this week that the problem had cleard up, but then reported again this morning that the problem had resurfaced. I tried it again using the test email and am having the problem on my end with just this particular domain. All other domains work fine. The mail server is pingable ([mail.weststarchurch.org](http://mail.weststarchurch.org)) receiving mail works just fine also.

I have looked at the mail logs and don’t see anything in the logs I’ve looked at.

As a side note, I deleted the test user from the domain and tried sending an email using the id expecting to get an immediate authentication failure, but it took nearly 15 minutes for the server to respond with the authentication prompt…

That is making me think somewhere there is a problem with authentication, but that’s just a guess…

---

<div class="post-metadata">

**Author:** ![IWorx-Chris](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ba8739/32.png) [@IWorx-Chris](https://forums.interworx.com/u/IWorx-Chris)\
**Post date:** [January 6, 2006, 11:15am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/5 "2006-01-06T11:15:11Z")

</div>

Is your client’s ISP blocking outbound port 25 connections bluesin? Can he telnet to port 25 on the box and see the standard smtp greeting?

Chris

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [January 6, 2006, 12:34pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/6 "2006-01-06T12:34:26Z")

</div>

Not sure Chris, but as I’m having the same problem with the test email, I’m fairly certain its not on his end at this time.

As I said, this is the only domain out of the 30 or so that is having a problem, I tried telnet to several of them with “telnet [mail.domainname.com](http://mail.domainname.com) 25” for several of them and I don’t get connected to any of them via that method, however as I said, all of them work except this one when sending mail…

You want me to open a ticket with all the info?

---

<div class="post-metadata">

**Author:** ![jimp](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/8baadc/32.png) [@jimp](https://forums.interworx.com/u/jimp)\
**Post date:** [January 8, 2006, 1:56pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/7 "2006-01-08T13:56:17Z")

</div>

I think we are having the same problem…

I am going to jump in on this one. For approximately two months now, we have been having the same problem. POP3 and IMAP work perfectly, but SMTP connections may or may not work. I thought it was a problem with Mozilla Thunderbird, because everyone in our office uses it and no one else was complaining, but an Apple Mail user reported the problem last Friday. ☹

The problem is difficult to reproduce, but it is effortless to cause. You simply…  
[LIST=1]

- Compose an email
- Click "Send"
- 1 out of ~15 emails will block with an error message (attached to this post)
- My personal testing found that SMTP w/o TLS almost never produces the error.

- Trying 3 times would fail all 3 times.
- Trying 3 times, and sleeping 10s between each attempt, would fail all 3 times.
- So Mozart’s emailer is now working fine, but the mail server’s strange behavior is very similar to Mozilla Thunderbird’s. Thunderbird would fail once, but try again (make a fresh connection), and the mail would deliver just fine.

---

<div class="post-metadata">

**Author:** ![R-n-R](https://forums.interworx.com/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@R-n-R](https://forums.interworx.com/u/R-n-R)\
**Post date:** [January 8, 2006, 2:29pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/8 "2006-01-08T14:29:51Z")

</div>

It wasnt until jimp’s message I realized this VERY thing has happened to me a few times. On the first attempt on sending to try to send (using Outlook Express) , I would get some kind of error, and then I retry again right after, and the mail will go through.

It only happens once or twice a month and I just assumed some internet glitch, BUT since I see that others are having the same problem, I have to say HUMMM

---

<div class="post-metadata">

**Author:** ![IWorx-Socheat](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ed655f/32.png) [@IWorx-Socheat](https://forums.interworx.com/u/IWorx-Socheat)\
**Post date:** [January 9, 2006, 10:48am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/9 "2006-01-09T10:48:57Z")

</div>

Jimp,

Is that a screenshot from Thunderbird, Outlook Express, or some other mail client? It may be useful to have a screenshot of each (one from Thunderbird, one from Outlook Express).

Regardless, to those who are affected, we are looking into the problem. I believe Bluesin has a ticket open right now, and we’re working on diagnosing and consistently reproducing the problem.

Socheat

---

<div class="post-metadata">

**Author:** ![jimp](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/8baadc/32.png) [@jimp](https://forums.interworx.com/u/jimp)\
**Post date:** [January 9, 2006, 11:12am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/10 "2006-01-09T11:12:25Z")

</div>

The screen shot is from the latest Thunderbird.

While I was fixing the Mozart built-in emailer to be more fault tolerant, these are the error messages I could produce consistently. I think the two notices followed the “Failed to set sender” warning everytime.

> Warning: Failed to connect to [mail.basicmatrix.com:25](http://mail.basicmatrix.com:25) [SMTP: Invalid response code received from server (code: 421, response: unable to read controls (#4.3.0))] in ${PATH}/${FILE} on line 162

```
                         Warning: Failed to set sender: ${EMAIL_ADDR} [SMTP: Invalid response code received from server (code: -1, response: )] in [I]${PATH}[/I]/[I]${FILE}[/I] on line 170

```

Notice: fwrite(): send of 37 bytes failed with errno=32 Broken pipe in /usr/lib/php/Net/Socket.php on line 294

Notice: fwrite(): send of 6 bytes failed with errno=32 Broken pipe in /usr/lib/php/Net/Socket.php on line 294  
Also note that Mozart’s emailer uses PEAR\_Mail to actually handle the delivery.

---

<div class="post-metadata">

**Author:** ![R-n-R](https://forums.interworx.com/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@R-n-R](https://forums.interworx.com/u/R-n-R)\
**Post date:** [January 9, 2006, 12:00pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/11 "2006-01-09T12:00:45Z")

</div>

In my case I was using Outlook Express. The next time I have the problem I will post a screen shoot here of the error. However I have not had the problem in a while.

---

<div class="post-metadata">

**Author:** ![R-n-R](https://forums.interworx.com/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@R-n-R](https://forums.interworx.com/u/R-n-R)\
**Post date:** [January 9, 2006, 12:22pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/12 "2006-01-09T12:22:41Z")

</div>

OK, the SMTP error happened again (good timing). Right after this error message I sent the email again just a few seconds later and it sent successfully.

![outlook-smtp-error.gif](https://forums.interworx.com/uploads/default/original/1X/a59e7df8a888efbe367cc5038130adaa659c5d1c.gif)

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [January 10, 2006, 8:43am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/13 "2006-01-10T08:43:20Z")

</div>

Ok, this appears to be a problem with bellsouth blocking port 25 for new domains.

> **[Currently.com - AT&T Yahoo Email, News, Sports & More](https://currently.att.yahoo.com/?fromspage=all%2Fhome.htm&categoryid=&bfromind=62&eeid=3784168&eetype=article&render=y&ck=)**
>
> Get the latest in news, entertainment, sports, weather and more on Currently.com. Sign up for free email service with AT&T Yahoo Mail.

There is some other notes on it about migration and such, but I suspect that they are allowing older domains to transfer through port 25 and blocking newer ones.

I set up a new account this week and I cannot use the smtp server on it either.

Many ISP’s are doing this, i’ve seen references to setting up alternative ports, can someone provide instructions for doing so?

---

<div class="post-metadata">

**Author:** ![IWorx-Chris](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ba8739/32.png) [@IWorx-Chris](https://forums.interworx.com/u/IWorx-Chris)\
**Post date:** [January 10, 2006, 2:59pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/14 "2006-01-10T14:59:29Z")

</div>

bluesin,

We’ll have a point release out this week that will allow you to easily setup the alternate port (defaulting to 587). I’d recommend waiting for it but if you need it ASAP we can get you a pre-release version of the software.

Chris

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [January 10, 2006, 7:58pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/15 "2006-01-10T19:58:55Z")

</div>

Thanks Chris, no problem on the wait…

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [January 10, 2006, 8:04pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/16 "2006-01-10T20:04:34Z")

</div>

Oh and Chris, do you know if it will be set up to listen on both ports or does it have to be just the alternate?

---

<div class="post-metadata">

**Author:** ![IWorx-Chris](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ba8739/32.png) [@IWorx-Chris](https://forums.interworx.com/u/IWorx-Chris)\
**Post date:** [January 10, 2006, 8:14pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/17 "2006-01-10T20:14:55Z")

</div>

It has to work on 25 bluesin or else smtp itself will break :). So the 587 is just an alternate in addition to 25.

Chris

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [January 11, 2006, 7:55am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/18 "2006-01-11T07:55:30Z")

</div>

That’s what I thought, thanks Dude!

---

<div class="post-metadata">

**Author:** ![jimp](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/8baadc/32.png) [@jimp](https://forums.interworx.com/u/jimp)\
**Post date:** [January 16, 2006, 7:28pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/19 "2006-01-16T19:28:46Z")

</div>

Has anyone made any progress on this one?

---

<div class="post-metadata">

**Author:** ![R-n-R](https://forums.interworx.com/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@R-n-R](https://forums.interworx.com/u/R-n-R)\
**Post date:** [January 16, 2006, 8:36pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/20 "2006-01-16T20:36:01Z")

</div>

> [@IWorx-Chris](#):
>
> It has to work on 25 bluesin or else smtp itself will break :). So the 587 is just an alternate in addition to 25.
> 
> Chris

OK I dont feel bad asking this, I asked two other network guys what bluesin is and they didnt know.

Cant you enlighten me?

[Next page](https://forums.interworx.com/t/problem-with-smtp/10395.md?page=2)
