# 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:** 13\
**Page:** 2

<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 16, 2006, 8:40pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/21 "2006-01-16T20:40:08Z")

</div>

> [@jimp](#):
>
> Has anyone made any progress on this one?

The feature is now available inthe 2.1.2 version of InterWorx.

To enalbe it

[LIST=1]

- Log into NodeWOrx 
- Click on System Services 
- Click on Mail Server 
- Ckick on MTA Settings 
- Under Alternate Inbound SMTP Server, ckick Start [/LIST] The default port is 587, but you can change it if you want.

---

<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, 9:51pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/22 "2006-01-16T21:51:07Z")

</div>

OK I am trying to use Port 587 with Outlook Express, I did the following  
First I did what IWorx-Tim said to do above in his post, port 587 on the server is showing to be active, running.

Then I opened up Outlook Express Accounts \> selected properties then on the advanced Tab change Outgoing SMTP to port 587 clicked on Apply and then OK and tried to send email and got this error:

The connection to the server has failed. Account: ‘XXXXXXX’, Server: ‘[mail.XXXXXXXX.com](http://mail.XXXXXXXX.com)’, Protocol: SMTP, Port: 587, Secure(SSL): No, Socket Error: 10060, Error Number: 0x800CCC0E

IS there something else I need to do?

---

<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 16, 2006, 9:58pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/23 "2006-01-16T21:58:01Z")

</div>

Make sure if you’re using a firewall and it’s on that port 587 / tcp is open.

Chris

---

<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 17, 2006, 5:17am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/24 "2006-01-17T05:17:44Z")

</div>

Ah, yes thanks 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 17, 2006, 9:24am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/25 "2006-01-17T09:24:10Z")

</div>

Chris, I added this port to the firewall, but for some reason the service is listed as “submission”, is there anyway to set the service name to smtp?

---

<div class="post-metadata">

**Author:** ![Paul](https://forums.interworx.com/user_avatar/forums.interworx.com/paul/32/6_2.png) [@Paul](https://forums.interworx.com/u/Paul)\
**Post date:** [January 17, 2006, 9:39am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/26 "2006-01-17T09:39:25Z")

</div>

“Submission” is actually technically the correct term for the 587 smtp port service. It’s meant for “submission” of e-mail from the end user, as opposed to communication between mail servers, which is what port 25 is for (in theory).

See: [http://www.google.com/search?hl=en&lr=&safe=off&c2coff=1&q=smtp+submission+587](http://www.google.com/search?hl=en&lr=&safe=off&c2coff=1&q=smtp+submission+587)

If you really wanted to change the name, you could probably edit the /etc/services file. Just be careful 🙂

Paul

---

<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 17, 2006, 10:18am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/27 "2006-01-17T10:18:32Z")

</div>

Thanks, i’m actually going to use 1025 for it, I also have some other ports open for some other servers that I’d like to be able to have a service name associated with them in the firewall…

---

<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 17, 2006, 7:26pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/28 "2006-01-17T19:26:58Z")

</div>

> [@IWorx-Chris](#):
>
> Make sure if you’re using a firewall and it’s on that port 587 / tcp is open.
> 
> Chris

Whoops, forgot to mention that . . . my bad 🙂

---

<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 19, 2006, 9:58am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/29 "2006-01-19T09:58:46Z")

</div>

> [@IWorx-Tim](#):
>
> The feature is now available inthe 2.1.2 version of InterWorx.
> 
> To enalbe it[LIST=1]
> 
> - Log into NodeWOrx
> - Click on System Services
> - Click on Mail Server
> - Ckick on MTA Settings
> - Under Alternate Inbound SMTP Server, ckick Start[/LIST]The default port is 587, but you can change it if you want.

Sorry, I was actually wondering if anyone has made any progress on the original purpose of this thread (SMTP connection issues). 🙂 See post [#7](http://www.interworx.com/forums/showpost.php?p=6493&postcount=7).

---

<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 19, 2006, 12:23pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/30 "2006-01-19T12:23:18Z")

</div>

jimp I was having the same trouble from time to time. And I activated port 587 in the latest version of Interworx (2.1.2). I then set up my email manager to use SMTP PORT 587 and its been working perfect ever since. With the exception of a small problem at first with this, but it was easly fixed by opening PORT 587 in my servers firewall. Other than that works fine, solved my problem,…so far.

---

<div class="post-metadata">

**Author:** ![Paul](https://forums.interworx.com/user_avatar/forums.interworx.com/paul/32/6_2.png) [@Paul](https://forums.interworx.com/u/Paul)\
**Post date:** [January 19, 2006, 10:26pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/31 "2006-01-19T22:26:07Z")

</div>

> [@jimp](#):
>
> 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.

A lot of different topics ended up being discussed in this thread, so I quoted jimp’s post to make it clear what I’m responding to here - and that is, the “intermittent smtp connection failing” problem.

After quite a bit of investigation, it looks like jimp’s final suggestion is the problem. The smtp server’s memory limit appears to be getting it “sometimes”. It isn’t exactly clear what’s causes it to happen, the memory limit was indeed getting hit occasionally, causing smtp connections to fail.

For anyone having this problem, specificially anyone that ever received the message  
“421 unable to read controls (#4.3.0)”  
when trying to send an e-mail message, here’s what you can do to fix it.

1. As root on your server, edit the /service/smtp/run
2. change the line

```auto

exec /usr/bin/softlimit -m 6400000 \
to
exec /usr/bin/softlimit -m 12800000 \

```

effectively doubling the memory limit  
3) restart the smtp server: svc -t /service/smtp

Paul

---

<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 21, 2006, 8:34pm UTC](https://forums.interworx.com/t/problem-with-smtp/10395/32 "2006-01-21T20:34:58Z")

</div>

> [@IWorx-Paul](#):
>
> After quite a bit of investigation, it looks like jimp’s final suggestion is the problem. The smtp server’s memory limit appears to be getting it “sometimes”. It isn’t exactly clear what’s causes it to happen, the memory limit was indeed getting hit occasionally, causing smtp connections to fail.

I am very curious to hear what you did to pinpoint the solution. 🙂 My entire office, and one annoyed customer who eventually started using their ISP’s SMTP server instead, will all be very happy to hear the good news.

A while back, I also had to increase our IMAP service’s memory limit from 6400000 to 10200000, to correct a similar annoying error message about the IMAP connection being reset. I think a member of the InterWorx team helped me with that memory limit problem, too. No one in our office uses POP3. Could it be limiting out, like IMAP and SMTP were? (It is capped at the default 6400000.) Many customers just accept error messages without ever telling us, so I admit it could be happening and we would never know it.

---

<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 23, 2006, 6:39am UTC](https://forums.interworx.com/t/problem-with-smtp/10395/33 "2006-01-23T06:39:02Z")

</div>

I’ve been getting the same error once in a while with my server. What I dont understand is why it is now using more memory than it was using 2 months ago, since that is about the time the error started.

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