Koozali.org: home of the SME Server

Can't get Webmail to display?

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Can't get Webmail to display?
« on: April 20, 2007, 08:12:34 PM »
Hi, i am running SME 7.1.3.

I can check mail via pop/imap locally but can't get to webmail locally or externaly, nor can i pop/imap externally?

Is there any checks i can do to make sure all services etc are running correctly.

I have noticed in sme7admin that the oidentd service under Authentication Services is not running. I can't start this service.

Thanks in advance,

Rob Miller
Regards, Rob

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Can't get Webmail to display?
« Reply #1 on: April 20, 2007, 09:36:43 PM »
Stupid question but... did you enable webmail in server-manager (under e-mail)?
"It should just work" if it doesn't report it. Thanks!

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Can't get Webmail to display?
« Reply #2 on: April 20, 2007, 10:52:55 PM »
Thanks, yes it's enabled. Just get a 404 error not found.
Regards, Rob

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: Can't get Webmail to display?
« Reply #3 on: April 20, 2007, 10:54:13 PM »
Quote from: "ask_jeeeves"
I can check mail via pop/imap locally but can't get to webmail locally or externaly, nor can i pop/imap externally?

Rob, what are your e-mail settings? See the manual:

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#E-mail

Darrell

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Re: Can't get Webmail to display?
« Reply #4 on: April 20, 2007, 11:16:12 PM »
Quote from: "dmay"
Rob, what are your e-mail settings?




POP3 Server Access - Secure POP3S
IMAP Server Access - Secure IMAPS
Webmail - Enabled HTTPS Secure

Virus Scanning - Enabled
Spam Filtering - Enabled
Executable Content Blocking - Disabled

E-mail Retrieval Mode - Standard SMTP
SMTP Auth. - Allow SSMTP (Secure)
Regards, Rob

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Can't get Webmail to display?
« Reply #5 on: April 20, 2007, 11:42:26 PM »
Quote
Just get a 404 error not found.

Do you enter http://ip/webmail or were you entering something different like mail.domain.com
"It should just work" if it doesn't report it. Thanks!

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Can't get Webmail to display?
« Reply #6 on: April 21, 2007, 12:34:08 AM »
Hi,

I have tried using http://ip/webmail & https://ip/webmail
but still get 404's
Regards, Rob

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Can't get Webmail to display?
« Reply #7 on: April 21, 2007, 01:12:07 AM »
ummm i seem not to get a 404 now.
It's as if the page has loaded, but the page is blank.
Regards, Rob

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: Can't get Webmail to display?
« Reply #8 on: April 21, 2007, 02:01:37 AM »
Quote from: "ask_jeeeves"
POP3 Server Access - Secure POP3S
IMAP Server Access - Secure IMAPS
Webmail - Enabled HTTPS Secure

Rob, what version of e-smith-email do you have installed?

# rpm -q e-smith-email

I have e-smith-email-4.16.0-18.el4.sme which displays the panel settings like this:

Code: [Select]
POP3 server access  Allow private and public (secure POP3S)
IMAP server access  Allow private and public (secure IMAPS)
Webmail access      Allow HTTPS (secure)

You may need to run yum update.

Darrell

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Can't get Webmail to display?
« Reply #9 on: April 21, 2007, 10:55:42 AM »
Hi dmay,

I am running e-smith-email-4.16.0-18.el4.sme

And my settings in server-manager are identical to yours.
I have disabled then renenabled but still no luck.



Code: [Select]
pop3=service
    TCPPort=110
    access=public
    configuration=setprop
    enableddb=configuration
    pop3=status
    setprop=pop3
    status=enabled


Code: [Select]
imap=service
    ConcurrencyLimit=400
    ConcurrencyLimitPerIP=12
    TCPPort=143
    access=public
    status=enabled


I can now get pop3/imap externally but webmail still doesn't work.

Code: [Select]
db configuration setprop imp access full
db configuration setprop imp status enabled
db configuration setprop horde access full
db configuration setprop horde status enabled
signal-event email-update


I have even tried the above, but still no joy?
Can you restart horde???

Thanks very much

Robert Miller
Regards, Rob

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Can't get Webmail to display?
« Reply #10 on: April 21, 2007, 03:10:56 PM »
Robert,

It looks like your DB settings for horde and imp are incorrect.  Here is what they should look like:
[root@dlkfjawww ~]# config show imp
imp=service
    access=SSL
    status=enabled
[root@dlkfjawww ~]# config show horde
horde=service
    DbPassword=xxxy
    access=SSL
    imp=installed
    status=enabled

Notice the access entries.  Make the changes signal-event email-update, then try webmail again.  If it still doesn't work, look at /var/log/messages, /var/log/http/access_log, and  /var/log/httpd/error_log and note any errors you see.

John
......

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Can't get Webmail to display?
« Reply #11 on: April 21, 2007, 03:32:29 PM »
Quote from: "ask_jeeeves"
pop3=service
    TCPPort=110
    access=public
   configuration=setprop
    enableddb=configuration
    pop3=status
    setprop=pop3

    status=enabled

Rob, your pop3 db entries are messed up. Everything in bold is invalid. :shock: I'm willing to bet there are more incorrect db entries. No wonder things aren't working....

Darrell

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Can't get Webmail to display?
« Reply #12 on: April 21, 2007, 04:12:39 PM »
Hi John,

I have tried signal-event email update several times, and it doesn't work.
Quote
look at /var/log/messages, /var/log/http/access_log, and /var/log/httpd/error_log and note any errors you see.


I have looked in /var/log/messages20070419233350 and the following is repeated alot of times!
Code: [Select]
Apr 19 23:40:02 sme-server2 php: PHP Parse error:  parse error, unexpected T_LNUMBER in /home/httpd/html/horde/config/conf.php on line 42
Apr 19 23:45:00 sme-server2 kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Apr 19 23:45:00 sme-server2 kernel: hda: drive_cmd: error=0x04Aborted Command


and in /var/log/httpd/error_log and again similar to above this is repeated alot of times, but in different ibays & directory depths, and the client IP address seems to change.
Code: [Select]
[Sat Apr 21 15:04:07 2007] [error] [client 65.55.208.27] File does not exist: /home/e-smith/files/ibays/Primary/html/robots.txt
Regards, Rob

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Can't get Webmail to display?
« Reply #13 on: April 21, 2007, 04:31:16 PM »
And did you change your settings?  Show us config show horde without the DBPassword entry and config show imp.

Code: [Select]
[/Apr 19 23:40:02 sme-server2 php: PHP Parse error:  parse error, unexpected T_LNUMBER in /home/httpd/html/horde/config/conf.php on line 42

The above is an issue, and would explain why you get a 404 with webmail.  On a stock install, this shouldn't happen.  What is on line 42?  On my test box, I have this - // 125Authentication.  Have you any custom-templates created for horde, that you could remove.  If you sill don't see anything post your horde/config/conf.php file from the // 110SQL to // 130Signup, again remove the password section.

John
......

Offline ask_jeeeves

  • ***
  • 49
  • +0/-0
    • http://www.moonswater.com
Can't get Webmail to display?
« Reply #14 on: April 21, 2007, 04:42:06 PM »
Quote from: "mrjhb3"
Show us config show horde without the DBPassword entry and config show imp.


config show horde:

Code: [Select]
access=full
    freebusy=enabled
    imp=installed
    status=enabled


config show imp

Code: [Select]
imp=service
    access=full
    status=enabled


Yes, i think i may have some custom templates.
I was following these instructions on how to create an admin for horde.
I think i may have done this on the wrong machine....

Code: [Select]
mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php
cd /etc/e-smith/templates-custom/home/httpd/html/horde/config/conf.php/
cp /etc/e-smith/templates/home/httpd/html/horde/config/conf.php/120Authentication .
pico -w 120 120Authentication
Regards, Rob