Scalix 11 Installation on Debian Etch / Testing

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

christoph.lukas
Posts: 48
Joined: Mon Dec 18, 2006 3:24 pm
Location: Germany

Postby christoph.lukas » Thu Mar 29, 2007 5:47 pm

nenad wrote:I definitely think that something must be wrong in 11.0.2 deb packages


Hi,

:) I am sorry but I would not confirm this.

I have tried to install scalix-11.0.2.1 on a fresh debian etch and I have modified my install script so that it works again. I am pretty sure the packages are ok.

Please try again with the modified script.

Cheers,
Christoph

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Thu Mar 29, 2007 9:24 pm

Hi again,

I installed Debian etch with minimum apps (as allways), then tried with installytion of SCALIX once again.

Results are the same.

Postgres errors are the same. I dont think it is related to your installation script.

BTW Which apt-get sources.list are you using ? When I use ftp.debian.org there was some problems with installing kernel, but when I use ftp.de.debian.org there is no such error ???

If there is anyone else reading this, I will be gratefull if someone can provide to me scalix 11.0.0.0 packages
--------------------------------------------------------
BTW I have login screen for rules wizard

http://scalix.web-hosting.co.yu/Scalix/rw

but there is nothing for

http://scalix.web-hosting.co.yu/scalix-admin/

or

http://scalix.web-hosting.co.yu/webmail
--------------------------------------------------------
Should this file
/etc/opt/scalix-tomcat/connector/ajp/instance-scalix.conf

look like this (generated by script)

Code: Select all

<VirtualHost scalix:80>
    Include /etc/opt/scalix-tomcat/connector/ajp/app-scalix.*.conf
</VirtualHost>


or like this

Code: Select all

<VirtualHost scalix.web-hosting.co.yu:80>
    Include /etc/opt/scalix-tomcat/connector/ajp/app-scalix.*.conf
</VirtualHost>


Also, should this

/etc/opt/scalix-tomcat/connector/ajp/instance-scalix.conf

look like this

Code: Select all

<VirtualHost scalix.web-hosting.co.yu:80>
    Include /etc/opt/scalix-tomcat/connector/ajp/app-scalix.*.conf
</VirtualHost>


or like this

Code: Select all

<VirtualHost scalix:80>
    Include /etc/opt/scalix-tomcat/connector/ajp/app-scalix.*.conf
</VirtualHost>

christoph.lukas
Posts: 48
Joined: Mon Dec 18, 2006 3:24 pm
Location: Germany

Postby christoph.lukas » Fri Mar 30, 2007 1:56 am

nenad wrote:Hi again,

I installed Debian etch with minimum apps (as allways), then tried with installytion of SCALIX once again.

Results are the same.

Postgres errors are the same. I dont think it is related to your installation script.



Ok. Then you have to find out why your scalix postgres is not starting. According to your logs you posted earlier this is due to the fact that it can not bind to the address or port.

Please check the output of lsof -i for a process running on port 5733.

Are you runnnig your etch system on real hardware or do you run it in any kind of virtualisation?


BTW Which apt-get sources.list are you using ? When I use ftp.debian.org there was some problems with installing kernel, but when I use ftp.de.debian.org there is no such error ???

If there is anyone else reading this, I will be gratefull if someone can provide to me scalix 11.0.0.0 packages



I don't think that this will fix your problem. The postgres setup did not change much between 11.0.2 and 11.0.0 packages.


--------------------------------------------------------
BTW I have login screen for rules wizard

http://scalix.web-hosting.co.yu/Scalix/rw

but there is nothing for

http://scalix.web-hosting.co.yu/scalix-admin/




You should use:

http://scalix.web-hosting.co.yu/sac

Regards,
Christoph

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Fri Mar 30, 2007 7:59 am

Code: Select all

http://scalix.web-hosting.co.yu/sac


This didn't helped either :(

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sat Mar 31, 2007 1:41 pm

Christoph helped me a lot to install SCALIX box on my server.

Many, many, many thanks to him.

For anyone who is reading this, errors were:

1. DO NOT manuallly create scalix user on your linux debain box.

2. It seems that instead of WAN address (something like 89.216.xxx.xxx) you should put LAN address like (192.168.xxx.xxx ) when prompted by script. Of course this apply to situations when your scalix server resides on LAN and connects with Internet and other PC's in LAN through router

3. same goes for /etc/hosts
there should be something like:


Code: Select all

127.0.0.1       localhost
192.168.123.201 scalix.mydomain.com        scalix


Where 192.168.123.201 is your LAN address of scalix box.

Once again, many, many thanks to Christoph, for helping me to install Scalix.

Regards,

Nenad Bulatovic

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sun Apr 01, 2007 8:41 am

Everything is working now, except no one receives emails sent from scalix server?

Receiving of emails to username@myscalix.domain works good, but when I send email from username@myscalix.domain to myfriend@his.domain, email was never received at myfriend@his.domain ?

However, emails work both for sending and receiving in between users on my scalix server domain , inside of myscalix.domain...

christoph.lukas
Posts: 48
Joined: Mon Dec 18, 2006 3:24 pm
Location: Germany

Postby christoph.lukas » Sun Apr 01, 2007 10:13 am

nenad wrote:Everything is working now, except no one receives emails sent from scalix server?

Receiving of emails to username@myscalix.domain works good, but when I send email from username@myscalix.domain to myfriend@his.domain, email was never received at myfriend@his.domain ?

However, emails work both for sending and receiving in between users on my scalix server domain , inside of myscalix.domain...


You should check your sendmail setup. Scalix delivers outgoing mail to port 25 on localhost.

This can be configured in /var/opt/scalix/XX/s/sys/unix.mapper.

The normal setup is that scalix (omsmtp) is listening on port 25 of your external ip while sendmail listen on port 25 on localhost. You can check this with lsof -i.

You should take a look at /var/log/mail.log to see what sendmail is trying to do with your outgoing mail.

Regards,
Christoph

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sun Apr 01, 2007 11:03 am

I don't know is this correct?:

Code: Select all

/var/opt/scalix/sx/s/sys/unix.mapper

#
# Copyright (C) 2003 Scalix Corporation.  All rights reserved.
# (c) Copyright Hewlett-Packard Company 1989-1996.  All Rights Reserved.
#
# $Id: unix.mapper,v 1.6 2006/09/29 15:20:38 markd Exp $
#
# Configuration for the Internet Mail Gateway
#

transport-service = inet:localhost:25


Code: Select all

lsof -i

scalix:~# lsof -i
COMMAND    PID     USER   FD   TYPE DEVICE SIZE NODE NAME
postmaste 2065 postgres    4u  IPv4   5293       UDP localhost:1024->localhost:1                               024
postmaste 2068 postgres    4u  IPv4   5293       UDP localhost:1024->localhost:1                               024
postmaste 2197 postgres    3u  IPv4   5480       TCP scalix.web-hosting.co.yu:57                               33 (LISTEN)
postmaste 2197 postgres    5u  IPv4   5485       UDP localhost:1025->localhost:1                               025
postmaste 2199 postgres    5u  IPv4   5485       UDP localhost:1025->localhost:1                               025
java      2243     root   14u  IPv6   5861       UDP *:3450
java      2243     root   24u  IPv6   6575       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:3425 (ESTABLISHED)
java      2243     root   28u  IPv6   6703       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:3429 (ESTABLISHED)
java      2243     root   30u  IPv6   6455       TCP scalix.web-hosting.co.yu:80                               09 (LISTEN)
java      2243     root   31u  IPv6   6456       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:3412 (ESTABLISHED)
java      2243     root   32u  IPv6   6457       TCP localhost:8005 (LISTEN)
java      2243     root   34u  IPv6   6474       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:3414 (ESTABLISHED)
java      2243     root   35u  IPv6   6482       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:3418 (ESTABLISHED)
java      2243     root   36u  IPv6   6537       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:3419 (ESTABLISHED)
java      2243     root   37u  IPv6   6546       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:3423 (ESTABLISHED)
java      2243     root   38u  IPv6   6891       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:2191 (ESTABLISHED)
java      2243     root   39u  IPv6   6602       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:3426 (ESTABLISHED)
java      2243     root   43u  IPv6   7158       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:2201 (ESTABLISHED)
java      2243     root   46u  IPv6   6836       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:2183 (ESTABLISHED)
java      2243     root   59u  IPv6   7577       TCP scalix.web-hosting.co.yu:80                               09->scalix.web-hosting.co.yu:1224 (ESTABLISHED)
sshd      2249     root    3u  IPv6   5605       TCP *:ssh (LISTEN)
ldapmappe 2270     root    3u  IPv4   5636       TCP localhost:5757 (LISTEN)
sendmail- 2290     root    4u  IPv4   5669       TCP localhost:smtp (LISTEN)
sendmail- 2290     root    5u  IPv4   5670       TCP localhost:submission (LISTE                               N)
advmail.s 2425     root    4u  IPv4   5949       TCP *:scalixual (LISTEN)
omdrs     2438   scalix    4u  IPv4   5993       UDP *:x500ms
omnssck   2444   scalix    3u  IPv4   6005       UDP localhost:scalixns
omnssck   2444   scalix    4u  IPv4   6006       UDP scalix.web-hosting.co.yu:sc                               alixns
omslapd   2449     root    8u  IPv4   6015       TCP *:ldap (LISTEN)
omsmtpd   2451     root    4u  IPv4   6037       TCP scalix.web-hosting.co.yu:sm                               tp (LISTEN)
in.imap41 2458     root    4u  IPv4   6021       TCP *:imap2 (LISTEN)
sxeventse 2459   scalix    4u  IPv4   6029       TCP *:5768 (LISTEN)
pop3.serv 2498     root    3u  IPv4   6137       TCP *:pop3 (LISTEN)
apache2   2528     root    3u  IPv6   6240       TCP *:www (LISTEN)
apache2   2537 www-data    3u  IPv6   6240       TCP *:www (LISTEN)
apache2   2537 www-data   14u  IPv4   6473       TCP scalix.web-hosting.co.yu:34                               12->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2537 www-data   15u  IPv4   6574       TCP scalix.web-hosting.co.yu:34                               23->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2537 www-data   16u  IPv4   6835       TCP scalix.web-hosting.co.yu:34                               29->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2537 www-data   17u  IPv4   6697       TCP scalix.web-hosting.co.yu:34                               26->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2537 www-data   18u  IPv4   8554       TCP scalix.web-hosting.co.yu:12                               24->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2537 www-data   19u  IPv4   7152       TCP scalix.web-hosting.co.yu:21                               91->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2539 www-data    3u  IPv6   6240       TCP *:www (LISTEN)
apache2   2539 www-data   14u  IPv4   6481       TCP scalix.web-hosting.co.yu:34                               14->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2539 www-data   15u  IPv4   6532       TCP scalix.web-hosting.co.yu:34                               18->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2539 www-data   16u  IPv4   6601       TCP scalix.web-hosting.co.yu:34                               25->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2539 www-data   17u  IPv4   6890       TCP scalix.web-hosting.co.yu:21                               83->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2539 www-data   18u  IPv4   7571       TCP scalix.web-hosting.co.yu:22                               01->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
apache2   2539 www-data   21u  IPv4   6536       TCP scalix.web-hosting.co.yu:34                               19->scalix.web-hosting.co.yu:8009 (ESTABLISHED)
sshd      3736     root    3u  IPv6  19082       TCP scalix.web-hosting.co.yu:ss                               h->192.168.123.100:1095 (ESTABLISHED)
scalix:~#


Code: Select all

/var/log/mail.log

Apr  1 14:40:58 scalix sendmail[11501]: alias database /etc/mail/aliases rebuilt by root
Apr  1 14:40:58 scalix sendmail[11501]: /etc/mail/aliases: 4 aliases, longest 10 bytes, 66 bytes total
Apr  1 14:40:58 scalix sm-mta[11539]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Apr  1 14:45:29 scalix sm-mta[13825]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Apr  1 15:04:57 scalix sm-mta[2290]: starting daemon (8.13.8): SMTP+queueing@00:10:00
Apr  1 15:29:36 scalix sm-mta[3426]: l31DTZoH003426: ruleset=check_rcpt, arg1=<nenad.xxxxx@sbb.co.yu>, rel
Apr  1 15:29:36 scalix sm-mta[3426]: l31DTZoH003426: from=<nenad.xxxxx@web-hosting.co.yu>, size=0, class=0
Apr  1 15:30:50 scalix sm-mta[3439]: l31DUo4B003439: ruleset=check_rcpt, arg1=<nenad.xxxxx@sbb.co.yu>, rel
Apr  1 15:30:50 scalix sm-mta[3439]: l31DUo4B003439: from=<nenad.yyyyy@web-hosting.co.yu>, size=0, class=0


Could it be a problem if I don't have PTR record for my IP yet ?

Many, many thanks for your support !!!

christoph.lukas
Posts: 48
Joined: Mon Dec 18, 2006 3:24 pm
Location: Germany

Postby christoph.lukas » Sun Apr 01, 2007 11:33 am

Hi,

your unix.mapper file and your lsof output look correct. The sendmail log lines are truncated so it is not clear what the problem is.

But is seems to be completely unrelated to scalix. :)
I would bet that you also are unable to send mails via the commandline to the same addresses.

You should probably run sendmailconfig and enable relaying for your external ip.

Cheers,
Christoph

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sun Apr 01, 2007 2:38 pm

Yes, or better to say no, I can't send emails using sendmail.

When I run "sendmailconfig" it doesn't ask me anything abot relaying address ?

How should I configure that ?

christoph.lukas
Posts: 48
Joined: Mon Dec 18, 2006 3:24 pm
Location: Germany

Postby christoph.lukas » Sun Apr 01, 2007 3:11 pm

Are you really sure it is a problem with relaying? Did you take a look at the exact message in the sendmail log?

Do the messages end up in the sendmail queue?

Regards,
Christoph

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sun Apr 01, 2007 3:22 pm

Suddenly it started to work !!!

I am receiving email which I sent with Scalix hours ago!

To be honest, I don't know what I done?
------------------------------------------------------

I've been noticed that this file was changed:

Code: Select all

/etc/resolv.conf

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN


In original file there was

Code: Select all

search sbb.co.yu
nameserver 192.168.123.254
nameserver 82.117.194.2
nameserver 82.117.194.3


So, I changed it and added:

Code: Select all

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
search sbb.co.yu
nameserver 192.168.123.254
nameserver 82.117.194.2
nameserver 82.117.194.3


I wander if that file was changed by installing some of net-tools or host or whatever?
I noticed that in /var/log/mail.log are messages indicating that sendmail can't resolve...
Then I noticed that even ping google.com can't resolve hostname...

And that's how I finally checked /etc/resolv.conf
-------------------------------------------------------------
Anyway, I will repeat complete Debian OS and SCLIX installation, I wan't to find out who is causing this error, meaning unability to send emails from scalix domain.

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sun Apr 01, 2007 3:37 pm

christoph.lukas wrote:Are you really sure it is a problem with relaying? Did you take a look at the exact message in the sendmail log?

Do the messages end up in the sendmail queue?

Regards,
Christoph


Yes, there was "queued" statement in the logs. After I done "something" all of the email that are pending for whole afternoon suddenly were sent (server side) / received (on my client machine on my non-scalix email account).

BTW Two years ago when I was setting my first webhosting control panel I had similar issue, because:
1. there was no PTR records for my IP, and most of mail servers won't accept email from host without PTR record.
2. my FQDN was not delegated in my ISP name servers
Then, after extensive analyze with my ISP we found out what was the problem.
I don't think that was an issue here, but some one might find this useful, I do hope.
Last edited by nenad on Sun Apr 01, 2007 3:52 pm, edited 1 time in total.

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sun Apr 01, 2007 3:45 pm

I combined HylaFAX server together with SCALIX server on the same
hardware/server (Debian/Etch). Both of them works great.

But I have one issue:
there is option for email-to-fax-gateway. It works great (on other
machine withouth SCALIX server).

The problem is that HylaFAX server needs to receive email at
faxgw@mydoman.com
and the receive email is forwarded to perl script which then strip out
attachement, text and html component and invokes "sendfax" function.

But with scalix server SYSTEM user faxgw is unreachable. It is created,
but email never reaches it. In case that user mailbox is created with
SCALIX , system user mailbox is not reached again.

Invoking of the script is accomplished with placing this into faxgw home
dir:

Code: Select all

1. Create new user, e.g. faxgw, create .forward file in his homedir, and put there something like this: "|/var/spool/hylafax/bin/faxgw" (with quotes and pipe too)
2. create new file, /var/spool/hylafax/bin/faxgw, chmod it to -rwxr-xr-x , and put this perl script in there......


From this you can see what is problem:
file .forward is never reached and thus none of the following scripts in chain are not executed.

Now, the quesation is what I should d o in order to enable reaching of that crucial file?
Last edited by nenad on Thu Apr 12, 2007 2:30 pm, edited 1 time in total.

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sun Apr 01, 2007 4:02 pm

Now I am trying to find out which package installed those:

glibc resolver, resolvconf

I want to eliminate package which is breaking resolv.conf ....


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 0 guests