Stock install: SUSE OSS 10.0 Release V. Scalix 10.0.0!

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Stock install: SUSE OSS 10.0 Release V. Scalix 10.0.0!

Postby Dimitriy » Tue Apr 04, 2006 12:58 am

EDIT: NEEDS TO BE REVISED! Must allow reverse DNS to work. Question is how? Also notice I made a big boo boo: I made the domain name as "aracollision" NOT AS "aracarstar". Fixed that now. So now I can recieve mail.

Internet Connection:
Verizon 864kbs/down 160kbs/up
Public IP: 71.112.188.209
NAT: Static NAT to 192.168.1.51
------------------------------------------------
Hardware:
Server:
866mhz Intel P3 Dell Optiplex
512MB RAM
2*20GB HDD (Disk 1: Partition 1: 0-20GB Mount: "/" ReiserFS) (Disk 2: Partition 1: 0-5GB Swap, Partition 2: 5-20GB Mount: "/var" ReiserFS)
CD/DVD ROM Drive
Network Card (Connected to router) (IP [Static Assign]: 192.168.1.51) (Name Server: 192.168.1.1) (Gateway: 192.168.1.1) (Subnet: 255.255.255.0)
FQDN: mail.aracarstar.com

Connection Client:
866mhz Intel P3 Dell Optiplex
256MB RAM
20GB HDD
CD-ROM
Network Card (Connected to Router) (IP [Assigned by DHCP]: 192.168.1.46)
-----------------------------------------------
Software:
Server:
SUSE OSS 10.0.0 Release Version (No Updates Applied) (Minimal Graphical Version)
Scalix Community Edition for SUSE 10.0.0 Release Version
Firewall Disabled
Extra Packages Installed/Selected !After Install!:


Client:
Microsoft Windows XP Service Pack 1 (No Updates Applied)
Mozilla Firefox 1.501 (Release Version)
Microsoft Office 2003 (Outlook Only)
Scalix Connect (Release Version)
------------------------------------------------
Public Domain Server:
Domain: aracarstar.com
@ points to: 71.112.188.209 (My Personal Public IP)
DNS Info for Public Domain:
Image
================================================================
Steps To Install:

1. Install SUSE OSS 10.0 on "Server". During the install use the above mention information.

2. Not rebooting log-in the to server after setup completes. Use root account.

3. Copy scalix install archive from CD to home directory and then untar it and test the install using the following command:

Code: Select all

$ cd /media/dvd
$ cp scalix-core-intel-suse-10.0.0.tar.gz /root
$ cd /root
$ tar -zxvf scalix-core-intel-suse-10.0.0.tar.gz
$ cd scalix-core-intel-suse-10.0.0.tar.gz
$ sh scalix-installer


4. After recieving an error message saying python was not found, run command "yast" and select to install the following packages and then install them:
> Python-gtk
> compat
> sendmail (select to remove postfix)
> lynx
> apache2
> cyus-sasl-crammd5
> cyrus-sasl-digestmd5
> cyrus-sasl-plain
> libical (Yes, Scalix by default includes this but it stops if you dont install it)

5. Quit yast and run the command "sh scalix-installer" again. Lo and Behold the installer starts.

6. Click forward and forward until you come to configuration. Then use the following info and click foward using the default if not specified below:
MailNode Name: mail,aracarstar
Domain Name: aracarstar.com
Admin: sxadmin@mail.aracarstar.com
Admin Email: sxadmin-mail@aracarstar.com

7. Now it creates the message store. Takes about 2 or 3 minutes. Then starts the Scalix services....

8. Asks for a license key. Just click forward. Then forward again and it will install the Java runtime along with Tomcat.

9. Finally click ok and the scalix install is done.
---------------------------------------------------------------------
Test the Server:
1. Go to your client PC and then to your online email account (yahoo, hotmail, gmail, etc) and send a email to "sxadmin-mail@aracarstar.com".

2. Now go to the IP address and webmail directory of the server: "192.168.1.51/webmail" from your client PC. Login and you will see your webserver email client.
Image

3. Now go an click new message and send one off to your address. AND HERE COMES THE PROBLEM:
Image

HOW DO YOU EXPLAIN THIS???

Portscan results for my ip....
Image

EDIT: Also after doing a nslookup from the server of the server ip eg.

Code: Select all

nslookup 192.168.1.51
it says it cant find 51.1.168.192 and so on. Ideas anyone?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Apr 04, 2006 8:52 pm

Hi. It looks like your /var/opt/scalix/sys/smtpd.cfg file doesn't have the correct information for your server. It should have something like:

Code: Select all

RELAY accept 127.0.0.1
RELAY accept .aracarstar.com

in it. As long as your Scalix server resolves to an address within that domain it will work. If you make changes to that file, you'll need to restart the SMTP Relay by typing:

Code: Select all

omoff -d0 smtpd
omon smtpd


If it still not working, please post your smtpd.cfg file here.

Thanks,
Rachel

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Postby Dimitriy » Thu Apr 06, 2006 12:18 am

Now here is an interesting touch....

I have reinstalled Scalix along with SUSE several times (5 give or take one...) and I could never get to use the Scalix-CLI commands. Bash would just hand me a not found command and when I tried to hit it up manually it didnt work either. Anyways, I will hit up that relay idea.

BTW, does Reverse DNS have anything to do with this?? If reverse DNS doesnt work at all can Scalix still work?

Also another side note, whenever I login under the client pc and access the webmail everything is fine (abliet a little slow). However when I hit up the SAC (Salix Administration Console) it loads but the username box along with the password and the not signing in securely box are ALL undefined. Literally they say undefined. However when I access the SAC through the server it all goes perfectly fine. Is this a client PC issue?

Thank you very much for your response I will get on that ASAP. However that wont be until after weekend because my birthday is this weekend! Nice food, some drink, and just perhaps I may clear my head and get this scalix up!

Sincerely,
Dimitriy

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Apr 06, 2006 5:55 am

Dimitry,

yes, you need a working DNS setup.

The error message will go away after the change Rachel recommended. If it does not, check your /etc/hosts if it contains

192.168.1.51 mail.aracarstar.com mail

Cheers,

Sascha.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Apr 06, 2006 7:21 pm

Hi Dimitry,

Regarding the Command Line Interface commands, we automatically add /opt/scalix/bin and /opt/scalix/diag to root's path. If you're using su to become root, make sure you type "su - root" otherwise you won't pick up root's environment.

The problem with SAC may be a client side issue (what browser are you using?) or it could be a network/firewall issue. Can you describe your environment for us?

BTW, Happy Birthday!!

Thanks,
Rachel

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Postby Dimitriy » Tue Apr 11, 2006 12:10 am

Rachel: As to the CLI that is not true. I followed the instructions mentioned above to the exact point and now it doesnt work. Any ideas? Note that I havent restarted yet and I am using a minimal install as mentioned above.
EDIT: After a "shutdown -r now" I logged back in and the CLI worked.

After adding the suggestions from Sascha and Rachel the system still does NOT work. The nslookup still returns **server cant find .......

After heading to my router config I set the dns for IP: 192.168.1.51 to resolve to mail.aracarstar.com. Now whenever I do nslookup for that ip i get "51.1.168.192.in-addr.arpa name=mail.aracarstar.com." exactly like that with the period at the end. Is this how its supposed to be?

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Postby Dimitriy » Tue Apr 11, 2006 12:18 am

My DNS configuration...

Image

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Apr 11, 2006 4:32 am

Looking at the DNS setup again I see that you set mail to be a CNAME. It needs to be an A record for mx lookups.

Please post the contents of /var/opt/scalix/sys/smtpd.cfg

Cheers,

Sascha.

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Postby Dimitriy » Wed Apr 12, 2006 9:58 pm

My SMTPD.cfg....

Image

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Apr 12, 2006 10:24 pm

The RELAY rules are processed in order. This means that the RELAY Log_Reject ALL rule will be processed before the RELAY accept .aracarstar.com rule. You should make sure that RELAY Log_Reject ALL is the last of the RELAY rules.

You will need to restart the internet gateway for that change to be picked up.

Cheers

Dave

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Postby Dimitriy » Wed Apr 12, 2006 10:31 pm

My updated SMTPD.cfg

Image

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Apr 12, 2006 10:33 pm

As I described, you need to make the RELAY Log_Reject ALL the last of the RELAY lines. Don't comment it out.

Also, please can you indicate if this has solved the problem or not.

Cheers

Dave

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Postby Dimitriy » Wed Apr 12, 2006 10:46 pm

Yes I can now send messages out. I have just sent a email message through the online webmail app and recieved it within 45 seconds on my gmail account.

However now I am having a problem recieving messages. I responded to that message and have yet to recieve it. I think I have the key though. We just experienced Daylight savings here in washington and my server clock is still set to one hour behind. I only realized that after sending the message and having Gmail tell me it was "sent" one hour ago....

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Postby Dimitriy » Wed Apr 12, 2006 10:49 pm

Ok now I am doing a reboot of the whole system (shutdown -r now) so that all processes are time aware. Then I will send one more test message. Only after will I uncomment the rejects in the config file.

Dimitriy
Posts: 19
Joined: Mon Apr 03, 2006 10:28 pm

Postby Dimitriy » Wed Apr 12, 2006 11:02 pm

Nope cant recieve any mail. I can send no problemo now but as to recieve non is coming in.

Sascha mentioned that the server needs to be set to a A name record not a CNAME. Whats the exact info I have to put in (host, points to, ttl:3600)?

What would go here?

Image


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 6 guests