Koozali.org: home of the SME Server

New Guy Looking for help

Offline Mat87

  • *
  • 14
  • +0/-0
New Guy Looking for help
« on: February 08, 2008, 12:27:02 PM »
Hello to all,

First of all i'm hoping that this is the right forum to post?
If not, sorry :$

Allright,

I am new to the entire linux world and found out about SME server trough a magazine (C't)

I have installed the entire server without any problem.
Now i want to configure an email server on it.
Of course i am aware of the fact that there will be more than a few tutorials and howto's for this, though none of them seems to match my needs, since I am really new to this.

I am looking for some ppl who want to answer my (probably) stupid questions in order to learn :)

Here we go.

I want to create an email server for www.selleslach.be (domain i bought)
Since my ISP @ home only gives dynamic ip's i also have a dyndns domain regged selleslach.dyndns.org

Now,

http://selleslach.dyndn.org is working perfectly.

I have put an MX record (value 10) on selleslach.be pointing @ selleslach.dyndns.org

I also have opened my SMTP and POP3 port in router.

Now when i Send of try to recieve mails of course nothing happens.
What am i missing here?


Other problem:

I can't seem to acces my server-manager trough the internet?
I get the certificate and stuff but when i click, continue to website, I get an 403 error.
Probably a port that needs to be opened in my router?
Locally everything goes perfect.
What port would this be?

You can alse reacht me on MSN by: mat_s87@hotmail.com

Thanks a lot in advance for your replies.

Mathias

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: New Guy Looking for help
« Reply #1 on: February 08, 2008, 12:55:40 PM »
Not familiar with dyndn, so can't comment there.
Accessing server-manager over the internet is a large security risk but that is your decision. Did you enable remote access ssh in the server-manager?

Offline Mat87

  • *
  • 14
  • +0/-0
Re: New Guy Looking for help
« Reply #2 on: February 08, 2008, 01:08:39 PM »
Yes i did, because with putty i can acces my server :)

Offline raem

  • *
  • 3,972
  • +4/-0
Re: New Guy Looking for help
« Reply #3 on: February 08, 2008, 01:18:03 PM »
Mat87

You need to enable remote access specifically for server manager, and enter a remote static IP (or IP's) that you will be accessing from.
You will also need to forward port 443 (for secure https), through your router to the sme.
« Last Edit: February 08, 2008, 01:20:13 PM by RayMitchell »
...

Offline Mat87

  • *
  • 14
  • +0/-0
Re: New Guy Looking for help
« Reply #4 on: February 08, 2008, 01:20:22 PM »
Mat87

You need to enable remote access specifically for server manager, and enter a remote static IP (or IP's) that you will be accessing from.
Hmz i see...That could be a problem since i am accessing my server from multiple locations (work, girlfriends home, ...)
MayB it's just better to work with putty then ;)

Offline warren

  • *
  • 293
  • +0/-0
Re: New Guy Looking for help
« Reply #5 on: February 08, 2008, 01:23:45 PM »
Hello to all,


Allright,

I am new to the entire linux world and found out about SME server trough a magazine (C't)

I have installed the entire server without any problem.
Now i want to configure an email server on it.
Of course i am aware of the fact that there will be more than a few tutorials and howto's for this, though none of them seems to match my needs, since I am really new to this.
........

Thanks a lot in advance for your replies.

Mathias


Mathias, welcome to SME  :D

Firstly, read ( possibly 3 times ) SME Server Manuals http://wiki.contribs.org/SME_Server:Documentation

Also Look at the FAQ http://wiki.contribs.org/SME_Server:Documentation:FAQ

Offline Mat87

  • *
  • 14
  • +0/-0
Re: New Guy Looking for help
« Reply #6 on: February 08, 2008, 01:32:22 PM »
Thanks a lot for the warm welcome :)

I will read the FAQ carefully tonight, since i saw an entire chapter on it :)
The clue is that i don't have any XP configging an email server in general.
So the terms Cnames, MX records and stuff are kind of confusing @ first.
Thats why i am looking for someone who has done it, and wants to help me find out how i can :)

Once again thanks for helping so far :)

Offline raem

  • *
  • 3,972
  • +4/-0
Re: New Guy Looking for help
« Reply #7 on: February 08, 2008, 01:39:12 PM »
Mat87

If you want the GUI server manager, then connect via VPN and then access using
https://serverlocalIP/server-manager

or you can access a text version of server manager ie
connect via Putty
login as root
type
console
then select the option to access server manager
...

Offline Mat87

  • *
  • 14
  • +0/-0
Re: New Guy Looking for help
« Reply #8 on: February 08, 2008, 01:46:05 PM »
Mat87

If you want the GUI server manager, then connect via VPN and then access using
https://serverlocalIP/server-manager

or you can access a text version of server manager ie
connect via Putty
login as root
type
console
then select the option to access server manager

Okay,

I'm not gonna use VPN, so now i was doing it trough putty then using the text based browser indeed.
Which i working fine so ;)

Allright

I have also emailed my .be domain provider (whom i know) for some help to config te email :)

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: New Guy Looking for help
« Reply #9 on: February 08, 2008, 01:47:00 PM »
MayB it's just better to work with putty then ;)

Look at the configuration options for Putty.

Connection >> SSH >> Tunnels.




« Last Edit: February 08, 2008, 02:05:05 PM by william_syd »
Regards,
William

IF I give advise.. It's only if it was me....

Offline raem

  • *
  • 3,972
  • +4/-0
Re: New Guy Looking for help
« Reply #10 on: February 08, 2008, 01:54:09 PM »
Mat87

Quote
I want to create an email server for www.selleslach.be (domain i bought)
Since my ISP @ home only gives dynamic ip's i also have a dyndns domain regged selleslach.dyndns.org

http://selleslach.dyndn.org is working perfectly.
I have put an MX record (value 10) on selleslach.be pointing @ selleslach.dyndns.org
I also have opened my SMTP and POP3 port in router.
Now when i Send of try to recieve mails of course nothing happens.

I'm guessing your email issue may be an external configuration one, although internal settings need to be confirmed/checked.

I'm assuming here your current server is configured as server only (not a private server or server gateway)
First of all have you enabled mail access for external users, in server manager Email panel ?
You will need to forward appropriate ports to your sme server, not just open them in your router.

Is the dyndns domain & account setup correctly in sme server, ie in the admin console select Configure this server and on one of the screens enter details of your dyndns account and password ?

Enable webmail and see if you can access that from both internally (to test functionality) and then from externally (to test access etc). Use your dyndns domain for this.

I'm also assuming the server is set with the main domain being your dyndns domain.

Can you then send email to user@selleslach.dyndns.org
This will prove that the dyndns side of things is setup correctly and can talk to your server.

If all that does not work then there is a problem with your basic server configuration and/or dyndns configuration.
If it does work then there is a problem with how you have forwarded your MX record.

Let us know.

As a side comment, if you can, it will be easier to manage your server and network if you configure your server for server gateway mode, and reconfigure your router (which I assume is a router/modem) for bridged mode and disable all other services on the router eg DHCP, firewall etc. Bridged mode will simply pass all signals straight through to sme server.
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: New Guy Looking for help
« Reply #11 on: February 08, 2008, 02:03:41 PM »
Mat87

If I try to access

http://selleslach.dyndns.org/

I get a page with

Selleslach.be
Testing

So web access to your server appears functional

If I do
ping mail.selleslach.dyndns.org
I get
Unknown host mail.selleslach.dyndns.org.

If I do
ping mail.selleslach.be

I get
Pinging mail.selleslach.be [85.255.208.117] with 32 bytes of data:

Reply from 85.255.208.117: bytes=32 time=344ms TTL=52
Reply from 85.255.208.117: bytes=32 time=350ms TTL=52
Reply from 85.255.208.117: bytes=32 time=355ms TTL=52
Reply from 85.255.208.117: bytes=32 time=355ms TTL=52

Ping statistics for 85.255.208.117:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 344ms, Maximum =  355ms, Average =  351ms


Is that your server IP ?
...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: New Guy Looking for help
« Reply #12 on: February 08, 2008, 02:11:40 PM »

Is the dyndns domain & account setup correctly in sme server, ie in the admin console select Configure this server and on one of the screens enter details of your dyndns account and password ?


If his SME is behind a NAT'd router, wont it always see a local IP address. Dyndns settings would have to be in his router.


As a side comment, if you can, it will be easier to manage your server and network if you configure your server for server gateway mode, and reconfigure your router (which I assume is a router/modem) for bridged mode and disable all other services on the router eg DHCP, firewall etc. Bridged mode will simply pass all signals straight through to sme server.


In bridge/server-gateway mode then SME could handle the dyndns service.

Regards,
William

IF I give advise.. It's only if it was me....

Offline Mat87

  • *
  • 14
  • +0/-0
Re: New Guy Looking for help
« Reply #13 on: February 08, 2008, 02:12:07 PM »
Mat87

I'm guessing your email issue may be an external configuration one, although internal settings need to be confirmed/checked.

I'm assuming here your current server is configured as server only (not a private server or server gateway)

Server is set up as STANDALONE server

First of all have you enabled mail access for external users, in server manager Email panel ?
Check :)
You will need to forward appropriate ports to your sme server, not just open them in your router.
Check

Is the dyndns domain & account setup correctly in sme server, ie in the admin console select Configure this server and on one of the screens enter details of your dyndns account and password ?
Is it possible that this option is only available in Gateway and server mode and not in Standalone servermode? My Dyndns account is set up in my router [D-Link DSL-624T]

Enable webmail and see if you can access that from both internally (to test functionality) and then from externally (to test access etc). Use your dyndns domain for this.
Check

I'm also assuming the server is set with the main domain being your dyndns domain.
Oops i have put selleslach.be as primary (and only) domain
Can you then send email to user@selleslach.dyndns.org
This will prove that the dyndns side of things is setup correctly and can talk to your server.

If all that does not work then there is a problem with your basic server configuration and/or dyndns configuration.
If it does work then there is a problem with how you have forwarded your MX record.

Let us know.

As a side comment, if you can, it will be easier to manage your server and network if you configure your server for server gateway mode, and reconfigure your router (which I assume is a router/modem) for bridged mode and disable all other services on the router eg DHCP, firewall etc. Bridged mode will simply pass all signals straight through to sme server.
To be honest i prefer to keep my router because i have my entire family on this network, and they will kill me if internet goes down ;) But if there is no other option i am of course willing to try so :)

All my replies are in bold :)

I have not setup an MX record @ dyndns. Do i need to?

@ Ray: the 85 ip is the ip of the provider from my .be domain.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: New Guy Looking for help
« Reply #14 on: February 08, 2008, 02:26:34 PM »
Mat87 & william_syd

I'm mixing up my thoughts/comments with different server modes.

Yes if the router is configured with the dyndns account details then OK, as long as all required ports for the various services are forwarded to sme.
Yes in server only mode the dyndns setup is not available in sme server.
You can use the ddclient add on contrib if you want to manage dynamic accounts on sme in server only mode.

Quote
@ Ray: the 85 ip is the ip of the provider from my .be domain.

http://85.255.208.117/
This just gives a blank page in my browser

Quote
I have not setup an MX record @ dyndns. Do i need to?

It seems like the mail is not reaching the mail server on sme, probably due to the MX record not being set appropriately.
Perhaps you do need to set a MX record at dyndns.

I'm not that familiar with the settings required to deliver mail from a real domain to a dyndns domain, perhaps someone else can advise.

...