Koozali.org: home of the SME Server

can not receive or sent mail local

Offline input

  • ****
  • 94
  • +0/-0
can not receive or sent mail local
« on: July 19, 2015, 01:25:42 PM »
Hello,

I have my SME server setup as only server mode. And I want to use it as local only.
My domainname is dompeling-ict.nl with the server ipadres 192.168.178.10
I am using Thinderbird Email client on a Windows machine.
I forward the port 25 with protocol TCP,SOURCEPORT 25,DESTANATION 192.168.178.10, DESTANATION PORT 25, ALLOW HOST 192.168.178.12 (windowsclient)

In Thinderbird I have my settings on IMAP 192.168.178.10 PORT 993 and SMTP 192.168.178.10 on port 25. Security I have it on SSL/TLS.

Now when I tried to sent a message with Thinderbird client with my emailadres loek@dompeling-ict.nl it wont send.
As described I look in var/log/qmail/current and it says delivery 2 succes to loek@loek.dompeling-ict.nl. but with Thunderbird client on receiving its emty.

I also tried to login with https://loek.dompeling-ict.nl/webmail with nu luck.

Have somone an idee how to solve this problem ?


« Last Edit: July 19, 2015, 01:28:20 PM by input »

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Re: can not receive or sent mail local
« Reply #1 on: July 19, 2015, 01:55:07 PM »
Here are a few ideas that might help...

nslookup -type=mx dompeling-ict.nl 4.2.2.1
Server:      4.2.2.1
Address:   4.2.2.1#53

Non-authoritative answer:
dompeling-ict.nl   mail exchanger = 10 mail.dompeling-ict.nl.
dompeling-ict.nl   mail exchanger = 20 relay.transip.nl.


Is there any chance that the email was delivered to 'mail.dompeling-ict.nl'? 

For your SME to be 'local only', you would need to:
* define the domain on the SME server
* DON'T define the domain on any public DNS provider

What do you get from this command on your SME server?
Code: [Select]
db domains show dompeling-ict.nl
When I want a 'local only' server, I use an invalid domain name on the server itself, something like 'dompeling.local'. 

Offline input

  • ****
  • 94
  • +0/-0
Re: can not receive or sent mail local
« Reply #2 on: July 19, 2015, 02:42:27 PM »
Thanks for the reply.

I set my domain now to dompeling.local and I tried this in the Thinderbirdclient for loek@dompeling.local but when I tried receive it can not connect to my server.

With db domains show dompeling-ict.nl I got no reply.

Any ideas ?

Offline input

  • ****
  • 94
  • +0/-0
Re: can not receive or sent mail local
« Reply #3 on: July 19, 2015, 02:49:09 PM »
Now I can see while receiving it says it van not connected to the server.

Offline input

  • ****
  • 94
  • +0/-0
Re: can not receive or sent mail local
« Reply #4 on: July 19, 2015, 02:56:19 PM »
I reset my password and enter a new one and now I can receive email.
But with sending its take a very long time to send and it wont stop sending.

Thank you
« Last Edit: July 19, 2015, 02:59:39 PM by input »

Offline input

  • ****
  • 94
  • +0/-0
Re: can not receive or sent mail local
« Reply #5 on: July 19, 2015, 07:44:16 PM »
I installed SME 9.1 now and I update the software.
The smtp setting I tried now with port 465 and it is working now. 8-)
Why the port 25 not succeed I really don't now.


Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: can not receive or sent mail local
« Reply #6 on: July 21, 2015, 09:46:45 AM »
Port 25 will only allow cleartext connections (in which case authentication won't be possible, so it'll only accept email for domains managed by SME, and refuse any relay attempt), or TLS secured connections. So, to make things simple: use port 25 with TLS or port 465 with SSL. There's no security difference between the two, only the handshake will change (With SSL, everything is encrypted end-to-end while in TLS the begining is in cleartext until the STARTTLS command is issued, which is done before any important data is sent)
C'est la fin du monde !!! :lol: