Koozali.org: home of the SME Server

[solved] No external email going out....

Offline PhoeniX

  • **
  • 21
  • +0/-0
[solved] No external email going out....
« on: October 22, 2011, 10:00:49 PM »
Since a few days external outgoing email is not send.

Server manager analyse of email shown this:
Code: [Select]
Gegenereerd rapport: za 22 okt 2011 21:36:21 CEST

messages in queue: 32
messages in queue but not yet preprocessed: 0

Einde rapport

Incoming email is going fine. All email to domain is sent to pop3-box with is emptied by SME.
For outgoing email i use the smtp-server of my isp: smtp.alice.nl

This all was once setup a i had an other ISP who blocked port 25. Configuration is running several years in this configuration.

I found this at var/log/qmail/current:
Code: [Select]
@400000004ea31fa5382e781c starting delivery 90: msg 9114768 to remote facilitair@topshelf.nu
@400000004ea31fa5382ece0c status: local 0/10 remote 1/20
@400000004ea31fa53a2f3da4 delivery 90: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000004ea31fa53a2f706c status: local 0/10 remote 0/20
@400000004ea31fa5382e781c starting delivery 90: msg 9114768 to remote facilitair@topshelf.nu
@400000004ea31fa5382ece0c status: local 0/10 remote 1/20
@400000004ea31fa53a2f3da4 delivery 90: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/


Anyone suggestions?
« Last Edit: October 30, 2011, 01:53:41 PM by cactus »
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: No external email going out....
« Reply #1 on: October 22, 2011, 11:19:26 PM »
This all was once setup a i had an other ISP who blocked port 25.

And it's quite possible you've had the same thing happen again.

Offline PhoeniX

  • **
  • 21
  • +0/-0
Re: No external email going out....
« Reply #2 on: October 22, 2011, 11:31:53 PM »
It workt this way then with the blocking ISP. It work now with the new ISP (over 2 years now).
Outgoing mail  is going to smpt-server of the ISP.

Not all email is blocked, a few tests went trough.

[edit] https://www.grc.com shows port 25 is open.
« Last Edit: October 22, 2011, 11:57:04 PM by PhoeniX »
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: No external email going out....
« Reply #3 on: October 23, 2011, 12:07:44 AM »
https://www.grc.com shows port 25 is open.

That only shows inbound port 25, not outbound port 25. From what you have said, you are not even using inbound port 25 (since you use a pop3 multidrop box).

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: No external email going out....
« Reply #4 on: October 23, 2011, 07:19:25 PM »
# nslookup -type=mx topshelf.nu
...
Non-authoritative answer:
topshelf.nu     mail exchanger = 10 mail1.cleanport.nl.
topshelf.nu     mail exchanger = 20 mail2.cleanport.nl.


# telnet mail1.cleanport.nl 25
* no response from my home, where Verizon blocks outbound port 25
* very quick response from the office:
220 mail15-tower01.nl.cleanport.com CleanSMTPd 1.6.8 ESMTP Service ready

What do you get?

Offline PhoeniX

  • **
  • 21
  • +0/-0
Re: No external email going out....
« Reply #5 on: October 23, 2011, 07:53:58 PM »
Code: [Select]
C:\>nslookup -type=mx topshelf.nu
Server:  rosmalen.bronsdom.com
Address:  192.168.10.1

Non-authoritative answer:
topshelf.nu     MX preference = 10, mail exchanger = mail1.cleanport.nl
topshelf.nu     MX preference = 20, mail exchanger = mail2.cleanport.nl

Code: [Select]
C:\>telnet mail1.cleanport.nl 25

220 rosmalen.bronsdom.com ESMTP
quit
221 bronsdom.com closing connection. Have a wonderful day.
De verbinding met de host is verbroken.

I took this from my laptop, or need I to do this from server?
...

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: No external email going out....
« Reply #6 on: October 23, 2011, 10:14:44 PM »
From the laptop is interesting if it's on the SME LAN; from the server is authoritative (do it from the server if that's possible).

Offline PhoeniX

  • **
  • 21
  • +0/-0
Re: No external email going out....
« Reply #7 on: October 23, 2011, 10:26:43 PM »
The laptop is on the same lan. This id from the server:
Code: [Select]
[root@rosmalen ~]# nslookup -type=mx topshelf.nu
Server:         192.168.10.1
Address:        192.168.10.1#53

Non-authoritative answer:
topshelf.nu     mail exchanger = 20 mail2.cleanport.nl.
topshelf.nu     mail exchanger = 10 mail1.cleanport.nl.

Authoritative answers can be found from:
Code: [Select]
[root@rosmalen ~]# telnet mail1.cleanport.nl 25
Trying 212.79.242.245...
Connected to mail1.cleanport.nl.
Escape character is '^]'.
220 mail33-tower01.nl.cleanport.com CleanSMTPd 1.6.8 ESMTP Service ready
quit
221 mail33-tower01.nl.cleanport.com Service closing transmission channel
Connection closed by foreign host.
[root@rosmalen ~]#

The domain above is from my work. I'm pretty sure evering is okay over there.. or I am not doing my job very well ;-)
...

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: No external email going out....
« Reply #8 on: October 24, 2011, 12:20:36 AM »
It doesn't look like your ISP is blocking port 25, so that's good.

Now that I read your original post more completely, I see that I should have been asking you to 'telnet smtp.alice.nl 25' to see if you can connect to your ISP's relay OK.

It is possible that, even though your ISP doesn't block port 25, they have changed their policy about smtp relay - they may want you to reconfigure your SME to authenticate before sending, or they may want you to relay over ssl on port 465.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: No external email going out....
« Reply #9 on: October 24, 2011, 09:46:27 AM »
It is possible that, even though your ISP doesn't block port 25, they have changed their policy about smtp relay - they may want you to reconfigure your SME to authenticate before sending, or they may want you to relay over ssl on port 465.

Neither of those would show an error message of "Wasn't able to create an SMTP connection".

Offline PhoeniX

  • **
  • 21
  • +0/-0
Re: No external email going out....
« Reply #10 on: October 24, 2011, 08:31:54 PM »
I did some digging myself and installed qmHandle. And when I go to the server-manager, choose qmHandle and try the option 'try sending queued messages' this is the answer:
Code: [Select]
Force resending of the Qmail queue
Resend Qmail queue at:
Mon Oct 24 20:30:55 2011
Qmail isn't running, can't send messages!
Done.

But qmail seems to be running:
Code: [Select]
[root@rosmalen ~]# sv s /service/qmail
run: /service/qmail: (pid 4690) 126400s, normally down; run: log: (pid 3423) 126525s
[root@rosmalen ~]#
« Last Edit: October 24, 2011, 08:40:35 PM by PhoeniX »
...

Offline PhoeniX

  • **
  • 21
  • +0/-0
Re: No external email going out....
« Reply #11 on: October 26, 2011, 11:46:52 AM »
I searched internet again en found more post with this issue. But none with the same setup and so I'm still stuck with a mailserver that won't send mail extern.

Anyone suggestions?
...

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: No external email going out....
« Reply #12 on: October 26, 2011, 01:08:53 PM »
The next step is to:
- open a bug at http://bugs.contribs.org/enter_bug.cgi
- post the bug URL back here
- respond quickly to any questions for further information you get in the bug tracker.

Offline PhoeniX

  • **
  • 21
  • +0/-0
Re: No external email going out....
« Reply #13 on: October 27, 2011, 12:05:28 AM »
...

Offline PhoeniX

  • **
  • 21
  • +0/-0
Re: No external email going out....
« Reply #14 on: October 30, 2011, 01:19:00 PM »
On friday the 28 suddenly a email was send. I did not change anything at the setup.
So maybe the problem was not at my SME server but somewhere between me and the ISP.

The ISP denied that they had problems, so the cause stays unknown.

Everybody thnx for the support and reactions!
...