Koozali.org: home of the SME Server

Web mail - What happens to incoming e-mails?????

tore

Web mail - What happens to incoming e-mails?????
« on: September 13, 2005, 11:08:07 PM »
Sending e-mails from SME server webmail works fine, but when people reply to my e-mails, there is nothing in the inbox when I log into my webmail.

Any good ideas anyone?

Rgds
Tore

Offline Smitro

  • *
  • 350
  • +0/-0
Web mail - What happens to incoming e-mails?????
« Reply #1 on: September 14, 2005, 05:31:28 AM »
tore,

Might need some more information, like what address are you replying to? and is that address setup at a DNS server to point at your machine?

Is this for internal or external use?

You'll find that setting up mail to go out is simple, pretty much all it needs is a connection to the internet. and then the mail can find it's way where ever. But for mail to come in, its a little like this...

1. Send Mail
2. Address Is resolved from DNS server
3. MX Record is noted and mail heads towards that address.
4. The MX record needs to be pointing at an address that resolves to your SME box.
5. The SME box picks it up, works out which user owns the email and then places the fill in your inbox folder.

That's a simple run down, hopefully I havn't missed anything... let us know a little more about your network's setup and I'll try and help you some more.

How is your server connected to the internet?
Do you have a domain name?
Do you have a Static IP address?
.........

tore

Web mail - What happens to incoming e-mails?????
« Reply #2 on: September 14, 2005, 10:17:08 PM »
My friend has tried to mail me at tore@coxkvalheim.com

Gets following error message:

No messages transferred to coxkvalheim.com<host: mail.coxkvalheim.com> via SMTP:
The server is not responding.  The server may be down or may be experiencing network problems.

DNS and MX is pointing to my IP address.
Server connects to internet via D-Link router.
Opened up for https,smtp, and POP3 and routed to server on 192.168.0.10
Domain name - www.coxkvalheim.com
Static ip address for server

Logged in to webmail as root, there was a message from
crondaemon with this error - fetchmail:-:7: parse error at protocol

Offline Smitro

  • *
  • 350
  • +0/-0
Web mail - What happens to incoming e-mails?????
« Reply #3 on: September 16, 2005, 10:50:38 AM »
DNS Report says it can't see your mail server either.

http://www.dnsreport.com/tools/dnsreport.ch?domain=coxkvalheim.com

Maybe your ISP is blocking it?

try this:
http://www.canyouseeme.org/

Tell me if it can see port 22?
.........

tore

Web mail - What happens to incoming e-mails?????
« Reply #4 on: September 16, 2005, 10:34:53 PM »
Hello Smitro

Port 22 and 80 can't be seen

My config looks like this:

Servermode: serveronly
Local ip/subnet: 192.168.0.10/255.255.255.0
Gateway:192.168.0.1
DNS:192.168.0.10 (Although I set it same as gateway)
Web-srv:www.coxkvalheim.com
Proxy: proxy.coxkvalheim.com:3128
Ftp:ftp.coxkvalheim.com
SMTP,POP,IMAP mail: mail.coxkvalheim.com
Primary domain: coxkvalheim.com
Virtual domain: coxkvalheim.com
Primary website: http://www.coxkvalheim.com

Can u see any conflicts that might resolve my problem?
I am tempted to install SUSE or Mandriva instead to see if that will make it any easier to set up, but I
do like the feel of SME, and I feel I have learned a lot more about Linux the last 2 weeks

Tks again for your help

Tore

Offline Smitro

  • *
  • 350
  • +0/-0
Web mail - What happens to incoming e-mails?????
« Reply #5 on: September 18, 2005, 02:46:16 PM »
Hey,

ok, if port 80 can't be seen I'm guessing people form the outside can't see your web site either.

But if you have managed to the web mail then I'm guessing the server it working, just not able to be seen by the outside world.

Check this address:http://192.168.0.10 (that will show you if port 80 can be seen from the inside)


This can be one or all of a couple of things.

1. Your D-Link Router isn't forwarding through properly
2. Your ISP is blocking these ports for one reason or another.

Luckily I have a D-Link router and so my setup will be similar.

So I would presume the problem is not with your SME box, but further down the line, so building up another box will not fix it.

From your D-Link Router, can you send me the details on all the items ticked in your virtual server list, and I'll make sure that is right.

I know this can be frustrating, stick with it I think your almost there, and I'll try to get back to you sooner next time.
.........

tore

Web mail - What happens to incoming e-mails?????
« Reply #6 on: September 18, 2005, 03:36:35 PM »
Thanks for coming back to me.
I have had some frustrating hours trying to change settings on SME, just to find out it was the D-Link playing up. I was just about to try Mandriva, but first I reset my D-Link 514, updated the firmware - and hey presto - port 80 was working. Port 22 is not though.
I think I have to be patient and wait for the MX records to be updated, before I now start working on that problem.

Having said that, SME comes up with default mail.coxkvalheim.com, should this not be servername.coxkvalheim.com, in this case nytun-srv.coxkvalheim.com, and if so - how can I change that.

Server is running, so see if you can access my site, personally I have to type in the internal IP address in order to see my site, since there is a bug in the D-Link.

Tks again
Tore

Offline JonB

  • *
  • 351
  • +0/-0
Web mail - What happens to incoming e-mails?????
« Reply #7 on: September 19, 2005, 12:29:47 AM »
Tore,

SMTP is port 25 not 22. Port 22 is SSH.

You need to forward port 25 in your D-Link to your server.

Currently I cannot your see your SMTP server.

>telnet coxvalheim.com 25
Connecting To coxvalheim.com...Could not open connection to the host, on port 25
: Connect failed

Jon
...

Offline Smitro

  • *
  • 350
  • +0/-0
Web mail - What happens to incoming e-mails?????
« Reply #8 on: September 19, 2005, 01:29:16 AM »
Good Point JonB,

I should have picked up on that. I've had too many late nights working with SSH. Obviously in this case, near enough is not good enough.. :-)

Direct Port 25 at your server and tell us how you go.
.........

tore

Web mail - What happens to incoming e-mails?????
« Reply #9 on: September 19, 2005, 05:33:25 PM »
Smitro and JonB

Tks for your input.

Been in touch with my ISP today about port 25 and 110, told them about telnet'ing the ports. I was informed that telnet only works if there is a SMTP/POP server running on the server.

Do these not start up as default on SME server after installation?

I chose server-only setup when installing, since I have a D-Link router as gateway.

Do I need to start mail server manually as well as POP3 and SMTP, and if so how do I go about it?

Hope you won't get fed up with me until my e-mail is working.

Rgds
Tore

Offline Smitro

  • *
  • 350
  • +0/-0
Web mail - What happens to incoming e-mails?????
« Reply #10 on: September 20, 2005, 03:02:14 AM »
I thought this was on by default it's been a while since I installed my box.

Go into the server manager (https://servername/server-manager)

Under Configuration, click on E-mail.

In the first box set it to Standard (SMTP)

You can turn on POP3 if you want, but not nessasary as you were accessing the server via web mail. And I think the rest can be left with the default values.

(JonB, feel free to pick me up again if I've missed anything)

Try telneting from the internal and see if you can see the port.
If using winxp (if not get yourself a copy of putty) open up a dos box and type:
telnet servername 25

See what it returns. That way you'll know if the server is running.
.........

tore

Web mail - What happens to incoming e-mails?????
« Reply #11 on: September 20, 2005, 11:40:29 PM »
Eureka, the e-mail server finally works.

I had the MX records reviewed by the company I purchased the domain package from, and reset my D-Link router - and the ports are open and running.

Last night though, I rearranged slightly on the website, updated files from xp machine to server, and all of a sudden I could not get access to the website.

Reset the D-Link today, and voilá.............

Thank you JonB and Smitro, I almost gave up.
Next I will have to sort out webmail access and ftp, so I am sure I will do some more posting on the forum.

Thanks a lot!!!!!!!!!!!!! :hammer: