Koozali.org: home of the SME Server

SMTP problems after upgrade to 6.0b3

Van

SMTP problems after upgrade to 6.0b3
« on: December 15, 2003, 02:00:30 AM »
I am getting outgoing failures for all outgoing mail after upgrading to 6.0b3

This is the error
The connection to the server has failed. Account: 'mail.froglevel.net', Server: 'mail.froglevel.net', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E

I've tried using authentication -- and I've tried different names for the smtp server

anyone have an answer?

Van

Re: SMTP problems after upgrade to 6.0b3
« Reply #1 on: December 15, 2003, 02:17:14 AM »
I'm learning that part of my problem here may be that my mail users are not behind the server -- some are on the same public IP range as the server. others are on two other public ranges -- this is a an ISP mail server -- I have added all of these ranges to the "local networks"

Van

Re: SMTP problems after upgrade to 6.0b3
« Reply #2 on: December 15, 2003, 03:40:38 AM »
Hate to keep adding to my own thread -- I created a new box from a tape backup --
I get the same errors and even in webmail I see
"There was an error sending your message: unable to connect to smtp server localhost:25"

Van

Re: SMTP problems after upgrade to 6.0b3
« Reply #3 on: December 15, 2003, 05:59:06 AM »
tried port forwarding port 25 -- no help there --

PeterG

Re: SMTP problems after upgrade to 6.0b3
« Reply #4 on: December 15, 2003, 12:41:42 PM »
Time to chuck in my 2p worth.

The error you reported, is that what you see on your MS clients by any chance?

This may/not help...

http://support.microsoft.com/default.aspx?scid=kb;en-us;302339

PeterG

Re: SMTP problems after upgrade to 6.0b3
« Reply #5 on: December 15, 2003, 12:48:49 PM »
Also what happens when you telnet to port 25 on your server from your remote clients?

PeterG

Re: SMTP problems after upgrade to 6.0b3
« Reply #6 on: December 15, 2003, 12:57:20 PM »
http://www.lifewithqmail.org/lwq.html#relaying

This may also be of some assitance, but I have no idea how this interacts with e-smith.


PeterG.

Van

Re: SMTP problems after upgrade to 6.0b3
« Reply #7 on: December 15, 2003, 01:25:54 PM »
Peter,
When I telnet to x.x.x.x:25 the reply is  -- could not open connection to the host,, on  port 23: Connect failed.

In the reading I did last night I decided that my problem was that ports were closed on the machine. I have tried to go back to 5.6, I will try this morning to go to 6.0 final

It occurred to me that part of the puzzle is that while these servers can be seen from the internet, when I run the console line to test Connection to the internet - they fail. I have a WS backup and a tape backup -- unfortunately both of those are made from the original server after it was upgraded to 6.0b3 -- I also have an older WS backup --

My plan this morning is to install 6.0 final on a new computer, then restore files from tape -- I'm grasping for straws out of ignorance -- this server has about 1000 users -- the business users will be upset this morning.

PeterG

Re: SMTP problems after upgrade to 6.0b3
« Reply #8 on: December 15, 2003, 01:35:37 PM »
It looks like that telnet test failed as it the error reported is talking about port 23 (the standard telnet port), try this instead
telnet x.x.x.x 25

This should give you a line of info, but I have not found a way of exiting this session properly (had to crash the window instead).


The test that you have performed to test connection to the internet, is that the one in the character based screen, that is also used in the initial setup?


You say that test fails, but you can still ping the external IP from the internet? This seems very strange, are you behind some kind of router with an external address range?



PeterG.

Van

Re: SMTP problems after upgrade to 6.0b3
« Reply #9 on: December 15, 2003, 02:00:51 PM »
Router setup is plain vanilla -- other IP ranges from remote public networks that are added to the "local networks" list can even run the administration tool, or use webmail -- I left last night at least feeeling that the users would receive mail OK -- That was only because I received mail -- in looking at that mail it was just failure notices.

You are right about telnet -- but it then says unable to open port 25

It is the character based menu that reports unable to connect to the internet

In reading a thread about upgrading 4-6 threads before this one -- could I have a bad
config.db?

PeterG

Re: SMTP problems after upgrade to 6.0b3
« Reply #10 on: December 15, 2003, 02:08:37 PM »
ok.
assumptions.
your users can connect to the servers external IP and use webmail


You need to check -

In the e-mail setting tab in server manager what is the retrieval mode?
In a shell can you perform the following -
What is the output of the ifconfig shell command?
can you ping external ip address from the server?
can you traceroute to the same ip address?
ps -ef | grep smtp


Please post the results of these questions.

PeterG

Van

Re: SMTP problems after upgrade to 6.0b3
« Reply #11 on: December 15, 2003, 02:38:31 PM »
> In the e-mail setting tab in server manager what is the
> retrieval mode?
SMTP -- access from Public Internet

> In a shell can you perform the following -
> What is the output of the ifconfig shell command?
both eth0 and eth1 are up
eth1 is the public as is normal setting
loopback is running
> can you ping external ip address from the server?
yes
> can you traceroute to the same ip address?
yes
> ps -ef | grep smtp
root 376 340 0 Dec14 ? 00:00:00 supervise smtpfront-qmail
>
I also got the email this morning  as described here:
http://forums.contribs.org/index.php?topic=8911.msg33578#msg33578

I've serached on this topic -- but it isn't helping yet

PeterG

Re: SMTP problems after upgrade to 6.0b3
« Reply #12 on: December 15, 2003, 02:57:18 PM »
Can you try telneting from the server to itself on port 25, try on both its internal and external ip addresses.


I belive I have your IP address already from your e-mail address domain name and I have sucessfully got a login screen for web-mail and it responds correctly to pings. I am puzzeled as to why the smtp demon is not responding but the answer to the tasks above should help.


PeterG.

Van

Re: SMTP problems after upgrade to 6.0b3
« Reply #13 on: December 15, 2003, 03:07:08 PM »
connection refused to both

The version of sme is "Unknown" --- I am upgrading one of these servers to 6.0 final to see if that helps -- thinking about the zcat error -- I may have caused from some time ago that by deleting man pages to give my earlier server room -- it paniced after running out of HD -- I have run a long time since though with no prob

thanks

PeterG

Re: SMTP problems after upgrade to 6.0b3
« Reply #14 on: December 15, 2003, 03:07:45 PM »
Of course the obvious question is what is in  the qmail logs in /var/log/qmail ?

8-)

PeterG.