Hosts File Problem

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Hosts File Problem

Postby alfista » Sun Sep 10, 2006 8:15 pm

Hi All,

Latest problem as I battle my way to a fully functional scalix server (although I'm currently in production)...

one of my users was getting bounces when sending to sympatico.ca. It appeared the message was being considered spam because the originating server's name was 'localhost.localdomain'. In reading the forums, I determined I needed to replace this entry in /etc/hosts with the results of 'hostname --fqdn'. I did that and restarted the smtpd service and it appeared to fix the problem. However, making this change seems to have crippled the /webmail web service - returning a 500 error to users visiting the site. Backing out of this change restored webmail.

What am I missing something? The more I work with this, the more afraid I am to touch anything. Realize that this is largely due to my limited knowledge of linux mail routing, not the product.

Thanks in advance for any help you can offer.

Cheers,

Jason

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Postby alfista » Sun Sep 10, 2006 8:15 pm

Running Scalix 10.1 on Fedora Core 4 by the way.

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

Postby ScalixSupport » Mon Sep 11, 2006 8:31 am

Hi,

Please post your hosts file and the first 5 lines of /etc/opt/scalix/webmail/swa.properties file.

Thanks,
Yuri

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Postby alfista » Mon Sep 11, 2006 9:01 am

Hi Yuri,

Thanks for the reply. I'm eager to get things stabilized...

/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.30 lunawire.com
192.168.0.30 grazado.com
192.168.0.30 meowcow.com
192.168.0.30 lantanacafe.com
192.168.0.30 accounts.lunawire.com

/etc/opt/scalix/webmail/swa.properties
swa.version=10.0

swa.email.domain=lunawire.com
swa.email.imapServer=mail.lunawire.com
swa.email.smtpServer=mail.lunawire.com
swa.email.userNameIncludesDomain=false

Thanks again,

Jason

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

Postby ScalixSupport » Mon Sep 11, 2006 9:05 am

Hi,

Do you have a DNS server on your network? What is the output of ifconfig?

Cheers,
Yuri

alfista
Posts: 94
Joined: Sat Oct 22, 2005 10:32 am

Postby alfista » Mon Sep 11, 2006 9:27 am

I do have a DNS server on my network (MS 2003 server).

ifconfig is as follows:

eth0 Link encap:Ethernet HWaddr 00:0C:29:0A:FF:EC
inet addr:192.168.0.30 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe0a:ffec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52017 errors:0 dropped:0 overruns:0 frame:0
TX packets:51315 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13121278 (12.5 MiB) TX bytes:7385033 (7.0 MiB)
Interrupt:177 Base address:0x1424

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44378 errors:0 dropped:0 overruns:0 frame:0
TX packets:44378 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22608806 (21.5 MiB) TX bytes:22608806 (21.5 MiB)

is there a script or tool to test DNS configuration beyond the installation source?

Thanks again!

Jason


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests