Scalix 11.2 install on FC7, Not functioning

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Scalix 11.2 install on FC7, Not functioning

Postby jeffspeff » Mon Nov 05, 2007 2:52 pm

Ok, I am a newb at some of this mail stuff. I have just installed scalix via the graphical install. all dependancies are good. no errors during install. after reboot i can log in to the /sca panel and (from what i can tell) everything looks fine, and i can log in to the webmail interface. when i run omstat -s all is running and enabled, the same goes for omstat -a. however, when i try to send mail from the account, sendmail times out. and when i try to send something to the server via my gmail account the server doesn't receive it. I am at a loss here. originally i thought that something was conflicting from before i installed scalix, so i uninstalled scalix and all mail server (everything in the tab) and database (both postgresql and mysql). i then did all updates and reinstalled sendmail and postgresql and the other dependancies required. after that i reinstalled scalix without errors (as before) and i am still having the same issues. any help would be great. i am looking for a good alternative to exchange.

thanks.

kanderson

Postby kanderson » Mon Nov 05, 2007 3:58 pm

Is sendmail running? You'll need it running before you can send anything out. "/etc/init.d/sendmail restart" should start it for you.

Before you can receive mail, you need an MX record, and you need port 25 on your server accessible from the outside. (I assume there's a firewall or something between the server and the Internet.

First check the MX record.

what are the results from :

dig -tMX <YourDomainName> @24.71.223.145

This will check the DNS server at 24.71.223.145 for an MX record from your server. You can use that DNS server because you want to use one that is NOT yours. It should return the external IP address that would allow someone to connect to your server.

If that works, then from home, try "telnet <servername> 25" to see if you can connect to Scalix in a way that would allow it to recieve an email message.

Kev.

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Mon Nov 05, 2007 4:37 pm

Yes sendmail is running. I am currently at work. I've turned off SELinux, and the system firewall. I have also forwarded the smtp, pop3, ftp, http ports to the system. I have a dyndns address registered to the IP. the domain is http://mygame.servegame.org. pinging that address goes back to my router which then sends the info to my server or my other computer (dependant upon port requested). The thing that has me puzzled is that I can't even send mail from the server.

Mon, 5 Nov 2007 10:40:54 -0600 sxadmin <sxadmin@mygame.servegame.org> *******@gmail.com 1.72 kB Deferred: Connection timed out with gsmtp183.google.com.


Above is the error that I my sendmail module is showing from within webmin. sxadmin is the account i'm logging in under, and the ****@gmail.com is the destination account. My scalix implementation can not send mail to another external address. The web services work fine, as do the ftp.

Am I missing something in the domain dyndns stuff that I edited?

kanderson

Postby kanderson » Mon Nov 05, 2007 5:00 pm

I see an MX record for servegame.org, but not for mygame.servegame.org.

If you change your email address to be xxxxx@servegame.org, does it work then?

This looks like a DNS issue at first glance.

Kev.

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Mon Nov 05, 2007 5:05 pm

dyndns offers free dns subdomains. so i have nothing to do with servegame.org. i have the subdomain mygame.servegame.org pointing my system. anybody could have anything.servegame.org. do i need to go into my dns settings on my dyndns account and change anything, even though the domain points to my server? and i still don't understand how a dns issue could cause my server not to send mail. i think that if it were a dns issue then it wouldn't recieve, but could send. I can't do either. when i installed FC7 on this system i put mygame.servegame.org in as the domain name.

thanks

kanderson

Postby kanderson » Mon Nov 05, 2007 6:08 pm

You need an MX entry that points at your server. I've never used DynDNS, but I suspect they likely do provide it as well. Basically, just set a weighting of 10 and the server should be mygame.servegame.org. Depending on the server you may or may not need a period at the end of the server's name...

Kev.

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Mon Nov 05, 2007 6:14 pm

ok, here's what it looks like:

Modify Hostname
Hostname:
mygame.servegame.org
Wildcard:
Yes, alias "*.hostname.domain" to same settings.
Service Type:
Host with IP address
WebHop Redirect
Offline Hostname
...help
IP Address: 68.63.244.136
Use auto detected IP address 207.162.182.90.
TTL value is 60 seconds. Edit TTL.
TTL:
WebHop Settings:
Redirect URL:
Yes, cloak this page.
Cloaked title: (optional, URL by default)
Mail Routing:
Yes, let me configure Email routing.
MX Hostname:mygame.servegame.org
Primary:
Yes, use it as my primary mail relay.
No, use it as backup MX record.


so i have now applied that

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Mon Nov 05, 2007 9:31 pm

ok, so i'm still having problems. the following is the error returned to my inbox by my server when i try to send mail from it to my gmail account.

Deferred: Connection timed out with gsmtp163.google.com.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old


I don't see how this could be a dns issue. The mail is not leaving my server. To me, this seems to be some type of issue on the server.

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Tue Nov 06, 2007 1:08 am

it's still not working. i just noticed something else. when looking at the postgresql db's through webmin, i see a postgres, template0 and template1. none of them have any tables. template0 says that it's not accepting any connections. even though i used the gui install, i have even tried setting up the dbase using the command in the manual install; and i still have the same db results. if there is some tutorial i can look at, or anything else. i am desperate for help. all help is appreciated.

thanks.

kanderson

Postby kanderson » Tue Nov 06, 2007 1:56 am

I know you're desperate for help. That's why I'm answering. We want to get it working for you.

This has nothing to do with PostgreSQL. Even if you removed PostgreSQL, mail would still work, and actually, so would Webmail. You'd completely break the mobile webclient, and you'd slow webmail.

So first things first. I still don't see an MX record for your domain, but that will likely still be replicating across the DNS servers. So we'll ignore that for now.

Lets see if your ISP blocks your ability to send outbound email. If you're on a dynamic IP, you likely have a residential connection, and blocking port 25 is common. If it's blocked for you, we can fix that too, but first we need to know if it's blocked.

So.

On your server, type:

telnet gsmtp163.google.com 25

If it connects, post what it says. If it doesn't connect, post that.

A working connection would look like this:

Code: Select all

kanderson@kanderson-laptop:~$ telnet gsmtp163.google.com 25
Trying 64.233.163.27...
Connected to gsmtp163.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP 38si69198nza


If it connects, hit CTRL-] and then type quit.

Kev.
[/code]

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Tue Nov 06, 2007 2:28 am

when trying from my server:
[root@mygame ~]# telnet gsmtp163.google.com 25
Trying 64.233.163.27...
telnet: connect to address 64.233.163.27: Connection timed out


when trying from my laptop (windows) it just sits their with a blinking cursor.

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Tue Nov 06, 2007 9:23 am

now that i think about it, this may be related to another mailing issue that i'm having. my outlook account that my company uses (when working from my laptop) works fine at work, but when i take the laptop home, i can't send mail through outlook. it says that the server connection was interrupted. could my ISP be blocking port 25 completely?

kanderson

Postby kanderson » Tue Nov 06, 2007 12:05 pm

Yes, your ISP is blocking port 25.

What you'll need to do is find out what the ISP's SMTP server is. You can call the ISP, or it'll likely be listed on their website. Generally, there are instructions for setting up your email. That might be Outlook, or whatever. One entry there will be for the SMTP server. That's what you need.

Then back on your server. There will be a file names sendmail.cf either in /etc or in /etc/mail depending on which distro you're using. edit the file, and look for a line, that reads just DS. Change it to DShost.domain.com. Then restart sendmail.

You should then be able to send with no problem.

I still don't see an MX record for you though, so you probably won't be able to receive email yet. You might want to call dyndns and ask for some assistance setting it up. Until that is fixed, (and likely for 12-48 hours afterwards) you won't receive email.

Kev.

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Tue Nov 06, 2007 1:32 pm

ok, thanks, i'm out of town on a clients network, will try later.

jeffspeff
Posts: 10
Joined: Mon Nov 05, 2007 12:49 pm

Postby jeffspeff » Tue Nov 06, 2007 7:53 pm

problem after problem... so, i called my ISP. they recomissioned my modem and did some other stuff to my account. so when i got home, i tried it all again. mx record or not, the server recieves mail when i tested it from the gmail account. when i try to send mail to my hotmail account it just sits there like the gmail did before, and now when i try to send to my gmail account i get this
>>> DATA
<<< 550-5.7.1 [68.63.244.136] The IP you're using to send email is not authorized
<<< 550-5.7.1 to send email directly to our servers. Please use
<<< 550 5.7.1 the SMTP relay at your service provider instead. c8si1872735nzh
554 5.0.0 Service unavailable


but it's receiving mail, and at least i know that gmail servers are getting it. but what else could be the problem here?


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 0 guests