Koozali.org: home of the SME Server

I need help for mail server configuration.

Offline endorfin35+

  • 2
  • +0/-0
I need help for mail server configuration.
« on: December 25, 2021, 10:01:01 AM »
Hello everyone. Although I am quite a novice in these matters, I have to deal with these things. I need help and would appreciate if anyone can guide me.

The current situation is as follows;
I have only one global ip address and many domains. Http ports are forwarded to IIS server. I also have a linux server for a cloud system. This server is running behind IIS and with reverse proxy. I managed to configure this system.

I am currently using an external mail server for my domains. However, I want to set up a reliable mail server on my own network. For testing purposes, I forwarded the mx records of one domain to my own global ip address. I installed SmeServer 10 version on another server in my network and as of now I have done all the updates from the administration panel.

I made the following settings from the admin panel.
POP3 server access : Allow private and public (secure POP3S)
IMAP server access : Allow private and public (secure IMAPS)
Webmail login : Allow for HTTPS (secure)

I forwarded all mail-related ports (25, 26, 110, 143, 465, 993, 995) to Sme server through the router. But some ports (26,110,143) are blocked by ISP. Are these ports necessary? Also I setted reverse proxy on IIS server for http ports  to Sme server.

I can send mail to any address (eg gmail) by logging into webmail (horde). But I can't receive mail. There are a few messages sent by root in the Horde inbox. When I try to open them, I get the error Unable to load the script driver "Ingo_Script_imap".

There is also a general SSL warning, I haven't done anything about it yet.

The point I want to reach is to create a full-featured mail server associated with my own domains for my own users.

What route/priority should I follow to continue the configuration?

I took your time to read. Thank you for this and for your interest.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: I need help for mail server configuration.
« Reply #1 on: December 26, 2021, 01:27:22 AM »
Worth reading about what each of the ports do, and which direction they operate, so you know what you need and what you do not.

Basic mail 25
SSMTP 465
IMAPS 993
POPS 995

To use Horde with https/ssl you will need a certificate for your SME webserver. As your IIS box handles http/s you will have to generate them there and transfer to SME.

The Horde error I have not seen - possibly because you haven't got all your mail setup correctly.

Keep it simple and try and sort out the primary mail domain first - don't complicate things with multiple domains.


...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline endorfin35+

  • 2
  • +0/-0
Re: I need help for mail server configuration.
« Reply #2 on: December 26, 2021, 12:09:13 PM »
So, first I will check ssl and webmail...

Thanks for advice..

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: I need help for mail server configuration.
« Reply #3 on: December 26, 2021, 01:02:25 PM »
Quote
I will check ssl and webmail..

That will fix your server webmail/server-manager.

However, you won't be able to access them externally because all your http/s traffic goes elsewhere.

You'll have to make sure /webmail gets through.

Quote
I can send mail to any address (eg gmail) by logging into webmail (horde). But I can't receive mail.

You need to make sure the ports I mentioned are open, particularly 25, and check the Email reception settings.

Please read the manual.

Also read this. Top to bottom.

https://forums.contribs.org/index.php/topic,54724.0.html

Then look in your logs.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation