|
From: Stephen L. <sa...@ya...> - 2007-12-03 16:34:59
|
Hi folks, Ubuntu 7.04 server amd64 (Host OS) - mail server VMWare Webmin Usermin CentOS 5 (Guest OS) squirrelmail-1.4.11 http://domain.com/squirrelmail Not Found The requested URL /squirrelmail was not found on this server. Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at domain.com Port 80 http://domain.com:80/squirrelmail http://domain.com:8080/squirrelmail Same output Please advise where shall I check and how to fix it. TIA B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Tomas K. <to...@us...> - 2007-12-03 17:04:28
|
satimis wrote: > > Ubuntu 7.04 server amd64 (Host OS) - mail server > VMWare > Webmin > Usermin > CentOS 5 (Guest OS) > squirrelmail-1.4.11 > > > http://domain.com/squirrelmail > Not Found > > The requested URL /squirrelmail was not found on this server. > Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 PHP/5.2.1 mod_ssl/2.2.3 > OpenSSL/0.9.8c Server at domain.com Port 80 > > http://domain.com:80/squirrelmail > http://domain.com:8080/squirrelmail > Same output > > Please advise where shall I check and how to fix it. TIA > See Apache documentation on Alias directive. http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias centos squirrelmail rpm adds alias to /webmail and not to /squirrelmail -- Tomas -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14133846 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Stephen L. <sa...@ya...> - 2007-12-03 18:36:22
|
Hi Tomas, Thanks for your advice. > satimis wrote: > > > > Ubuntu 7.04 server amd64 (Host OS) - mail server > > VMWare > > Webmin > > Usermin > > CentOS 5 (Guest OS) > > squirrelmail-1.4.11 > > > > > > http://domain.com/squirrelmail > > Not Found > > > > The requested URL /squirrelmail was not found on this server. > > Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 PHP/5.2.1 mod_ssl/2.2.3 > > OpenSSL/0.9.8c Server at domain.com Port 80 > > > > http://domain.com:80/squirrelmail > > http://domain.com:8080/squirrelmail > > Same output > > > > Please advise where shall I check and how to fix it. TIA > > > > See Apache documentation on Alias directive. > http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias > > centos squirrelmail rpm adds alias to /webmail and not to > /squirrelmail Squirrelmail is installed on Ubuntu 7.04, the mail server. CentOS not yet configured. On /usr/lib/vmware-mui/apache/conf/httpd.conf following lines already added under <IfModule mod_alias.c> <IfModule mod_alias.c> ..... ..... Alias /squirrelmail /usr/local/squirrelmail/www <Directory /usr/local/squirrelmail/www> Options Indexes AllowOverride none DirectoryIndex index.php Order allow,deny allow from all </Directory> </IfModule> and re-run; # /etc/init.d/httpd.vmware restart Shutting down http.vmware: done Starting httpd.vmware: done However I don't know whether /usr/lib/vmware-mui/apache/conf/httpd.conf is the correct file. Because; # find / -name httpd.conf /usr/lib/vmware-mui/apache/conf/httpd.conf /usr/lib/vmware-mui/src/apache/conf/httpd.conf /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/apache/conf/httpd.conf /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/src/apache/conf/httpd.conf /home/satimis/httpd.conf /etc/apache2/httpd.conf found other httpd.conf. /home/satimis/httpd.conf /etc/apache2/httpd.conf are empty files B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Tomas K. <to...@us...> - 2007-12-04 05:05:04
|
>> > >> > Ubuntu 7.04 server amd64 (Host OS) - mail server >> > VMWare >> > Webmin >> > Usermin >> > CentOS 5 (Guest OS) >> > squirrelmail-1.4.11 >> > >> > >> > http://domain.com/squirrelmail >> > Not Found >> > >> > The requested URL /squirrelmail was not found on this server. >> > Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 PHP/5.2.1 mod_ssl/2.2.3 >> > OpenSSL/0.9.8c Server at domain.com Port 80 >> > >> > http://domain.com:80/squirrelmail >> > http://domain.com:8080/squirrelmail >> > Same output >> > >> > Please advise where shall I check and how to fix it. TIA >> > >> >> See Apache documentation on Alias directive. >> http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias >> >> centos squirrelmail rpm adds alias to /webmail and not to >> /squirrelmail > > > Squirrelmail is installed on Ubuntu 7.04, the mail server. CentOS not > yet configured. > > > On /usr/lib/vmware-mui/apache/conf/httpd.conf > following lines already added under <IfModule mod_alias.c> > > <IfModule mod_alias.c> > ..... > ..... > Alias /squirrelmail /usr/local/squirrelmail/www > > <Directory /usr/local/squirrelmail/www> > Options Indexes > AllowOverride none > DirectoryIndex index.php > Order allow,deny > allow from all > </Directory> > > </IfModule> > > > and re-run; > # /etc/init.d/httpd.vmware restart > Shutting down http.vmware: done > Starting httpd.vmware: done > > > However I don't know whether /usr/lib/vmware-mui/apache/conf/httpd.conf > is the correct file. Because; > > # find / -name httpd.conf > /usr/lib/vmware-mui/apache/conf/httpd.conf > /usr/lib/vmware-mui/src/apache/conf/httpd.conf > /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/apache/conf/httpd.conf > /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/src/apache/conf/httpd.conf > /home/satimis/httpd.conf > /etc/apache2/httpd.conf > > found other httpd.conf. > > > /home/satimis/httpd.conf > /etc/apache2/httpd.conf > are empty files > > Why are you installing SquirrelMail in vmware web service? It is proprietary setup designed to manage guest oses. Less you mess with it, less problems you have. If something breaks in your vmware web setup after you install n third party extensions and make n modifications, vmware people can refuse to support it. Keep it on some high port and use standard Ubuntu Apache2 on tcp 80/443 ports. Create file with ---- Alias /squirrelmail /usr/local/squirrelmail/www <Directory /usr/local/squirrelmail/www> Options Indexes AllowOverride none DirectoryIndex index.php Order allow,deny allow from all </Directory> ---- Copy it to /etc/apache2/conf.d/ directory Check Ubuntu Apache2 configuration ('apache2ctl configtest') Restart Apache2 ('/etc/init.d/apache2 restart' or 'apache2ctl restart') /etc/apache2/httpd.conf is empty on Debian and Ubuntu. All configuration is modular and it is stored in other /etc/apache2/ files -- Tomas -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14144709 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Stephen L. <sa...@ya...> - 2007-12-04 07:18:59
|
--- Tomas Kuliavas <to...@us...> wrote: > >> > Ubuntu 7.04 server amd64 (Host OS) - mail server > >> > VMWare > >> > Webmin > >> > Usermin > >> > CentOS 5 (Guest OS) > >> > squirrelmail-1.4.11 > >> > > >> > > >> > http://domain.com/squirrelmail > >> > Not Found > >> > > >> > The requested URL /squirrelmail was not found on this server. > >> > Apache/2.2.3 (Ubuntu) DAV/2 SVN/1.4.3 PHP/5.2.1 mod_ssl/2.2.3 > >> > OpenSSL/0.9.8c Server at domain.com Port 80 > >> > > >> > http://domain.com:80/squirrelmail > >> > http://domain.com:8080/squirrelmail > >> > Same output > >> > > >> > Please advise where shall I check and how to fix it. TIA > >> > > >> > >> See Apache documentation on Alias directive. > >> http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias > >> > >> centos squirrelmail rpm adds alias to /webmail and not to > >> /squirrelmail > > > > > > Squirrelmail is installed on Ubuntu 7.04, the mail server. CentOS > not > > yet configured. > > > > > > On /usr/lib/vmware-mui/apache/conf/httpd.conf > > following lines already added under <IfModule mod_alias.c> > > > > <IfModule mod_alias.c> > > ..... > > ..... > > Alias /squirrelmail /usr/local/squirrelmail/www > > > > <Directory /usr/local/squirrelmail/www> > > Options Indexes > > AllowOverride none > > DirectoryIndex index.php > > Order allow,deny > > allow from all > > </Directory> > > > > </IfModule> > > > > > > and re-run; > > # /etc/init.d/httpd.vmware restart > > Shutting down http.vmware: done > > Starting httpd.vmware: done > > > > > > However I don't know whether > /usr/lib/vmware-mui/apache/conf/httpd.conf > > is the correct file. Because; > > > > # find / -name httpd.conf > > /usr/lib/vmware-mui/apache/conf/httpd.conf > > /usr/lib/vmware-mui/src/apache/conf/httpd.conf > > > /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/apache/conf/httpd.conf > > > /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/src/apache/conf/httpd.conf > > /home/satimis/httpd.conf > > /etc/apache2/httpd.conf > > > > found other httpd.conf. > > > > > > /home/satimis/httpd.conf > > /etc/apache2/httpd.conf > > are empty files > > > > > > Why are you installing SquirrelMail in vmware web service? It is > proprietary > setup designed to manage guest oses. Less you mess with it, less > problems > you have. If something breaks in your vmware web setup after you > install n > third party extensions and make n modifications, vmware people can > refuse to > support it. Keep it on some high port and use standard Ubuntu Apache2 > on tcp > 80/443 ports. > > Create file with > ---- > Alias /squirrelmail /usr/local/squirrelmail/www > <Directory /usr/local/squirrelmail/www> > Options Indexes > AllowOverride none > DirectoryIndex index.php > Order allow,deny > allow from all > </Directory> > ---- > > Copy it to /etc/apache2/conf.d/ directory > > Check Ubuntu Apache2 configuration ('apache2ctl configtest') > > Restart Apache2 ('/etc/init.d/apache2 restart' or 'apache2ctl > restart') > > /etc/apache2/httpd.conf is empty on Debian and Ubuntu. All > configuration is > modular and it is stored in other /etc/apache2/ files Hi Tomas, Thanks for your advice. Remove previous entry on /usr/lib/vmware-mui/apache/conf/httpd.conf $ sudo nano /etc/apache2/conf.d/http.conf copy follow on this file; Alias /squirrelmail /usr/local/squirrelmail/www <Directory /usr/local/squirrelmail/www> Options Indexes AllowOverride none DirectoryIndex index.php Order allow,deny allow from all </Directory> $ apt-cache policy php5 php5: Installed: 5.2.1-0ubuntu1.4 Candidate: 5.2.1-0ubuntu1.4 Version table: *** 5.2.1-0ubuntu1.4 0 500 http://us.archive.ubuntu.com feisty-updates/main Packages 500 http://security.ubuntu.com feisty-security/main Packages 100 /var/lib/dpkg/status 5.2.1-0ubuntu1 0 500 http://u s.archive.ubuntu.com feisty/main Packages Add PHP support to apache: Also copy follows on abovementioned file; <IfModule mod_php5.c> AddType application/x-httpd-php .php </IfModule> $ cat /etc/apache2/conf.d/http.conf Alias /squirrelmail /usr/local/squirrelmail/www <IfModule mod_php5.c> AddType application/x-httpd-php .php </IfModule> <Directory /usr/local/squirrelmail/www> Options Indexes AllowOverride none DirectoryIndex index.php Order allow,deny allow from all </Directory> * end * $ sudo find / -name apachectl /usr/lib/vmware-mui/apache/bin/apachectl /usr/lib/vmware-mui/src/apache/bin/apachectl /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/apache/bin/apachectl /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/src/apache/bin/apachectl * end * apachectl is only available on vmware web service $ sudo /usr/lib/vmware-mui/apache/bin/apachectl graceful /usr/lib/vmware-mui/apache/bin/apachectl graceful: httpd gracefully restarted $ sudo nano /etc/apache2/apache2.conf following apache2ctl config text enabled; ServerRoot "/etc/apache2" LockFile /var/lock/apache2/accept.lock PidFile /var/run/apache2.pid ErrorLog /var/log/apache2/error.log Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf Include /etc/apache2/httpd.conf Include /etc/apache2/ports.conf Include /etc/apache2/conf.d/ Alias /icons/ "/usr/share/apache2/icons/" <Directory "/usr/share/apache2/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Include /etc/apache2/sites-enabled/ * end * $ sudo /etc/init.d/apache2 restart * Forcing reload of web server (apache2)... [ OK ] On browser:- http://localhost/squirrelmail/ Only hanging there. http://satimis.com/squirrelmail/ ERROR: Config file "config/config.php" not found. You need to configure SquirrelMail before you can use it. $ sudo find / -name config.php /etc/squirrelmail/config.php The config.php is there. $ apt-cache policy courier-imap courier-imap: Installed: 4.1.1.20060828-5ubuntu1 Candidate: 4.1.1.20060828-5ubuntu1 Version table: *** 4.1.1.20060828-5ubuntu1 0 500 http://us.archive.ubuntu.com feisty/universe Packages 100 /var/lib/dpkg/status Shall I replace all "IMAP" on "config.php" with Courier-IMAP? How to fix the problem? TIA B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Tomas K. <to...@us...> - 2007-12-04 08:39:55
|
> $ sudo find / -name apachectl > /usr/lib/vmware-mui/apache/bin/apachectl > /usr/lib/vmware-mui/src/apache/bin/apachectl > /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/apache/bin/apachectl > /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/src/apache/bin/apachectl > * end * > > > apachectl is only available on vmware web service > apache2ctl You have installed Ubuntu apache2 package and not apache or apache-ssl. tomas@kirke:~$ whereis apache2ctl apache2ctl: /usr/sbin/apache2ctl /usr/share/man/man8/apache2ctl.8.gz tomas@kirke:~$ > On browser:- > http://localhost/squirrelmail/ > > Only hanging there. > > > http://satimis.com/squirrelmail/ > ERROR: Config file "config/config.php" not found. You need to configure > SquirrelMail before you can use it. > > > $ sudo find / -name config.php > /etc/squirrelmail/config.php > > The config.php is there. > .. > How to fix the problem? TIA > Decide which squirrelmail you are going to use. You have /usr/share/squirrelmail from Ubuntu deb package and own one in /usr/local/squirrelmail/www If you keep /usr/share/squirrelmail, fix alias setting and use 'squirrelmail-configure' command to configure it. If you keep /usr/local/squirrelmail/www, go to /usr/local/squirrelmail/www/config/ directory and configure squirrelmail by running './conf.pl' command in that directory. -- Tomas -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14146629 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Stephen L. <sa...@ya...> - 2007-12-04 14:19:20
|
--- Tomas Kuliavas <to...@us...> wrote: > > > $ sudo find / -name apachectl > > /usr/lib/vmware-mui/apache/bin/apachectl > > /usr/lib/vmware-mui/src/apache/bin/apachectl > > > /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/apache/bin/apachectl > > > /usr/local/src/vmware-mui-distrib-1.0.4-56528/mui/src/apache/bin/apachectl > > * end * > > > > > > apachectl is only available on vmware web service > > > > apache2ctl > You have installed Ubuntu apache2 package and not apache or > apache-ssl. apache2 was installed when I installed the OS, ubuntu 7.04 server amd64. I haven't installed apache nor apache-ssl > > tomas@kirke:~$ whereis apache2ctl > apache2ctl: /usr/sbin/apache2ctl /usr/share/man/man8/apache2ctl.8.gz > tomas@kirke:~$ $ whereis apache2ctl apache2ctl: /usr/sbin/apache2ctl /usr/share/man/man8/apache2ctl.8.gz > > On browser:- > > http://localhost/squirrelmail/ > > > > Only hanging there. > > > > > > http://satimis.com/squirrelmail/ > > ERROR: Config file "config/config.php" not found. You need to > configure > > SquirrelMail before you can use it. > > > > > > $ sudo find / -name config.php > > /etc/squirrelmail/config.php > > > > The config.php is there. > > .. > > How to fix the problem? TIA > > > > Decide which squirrelmail you are going to use. You have > /usr/share/squirrelmail from Ubuntu deb package and own one in > /usr/local/squirrelmail/www > > If you keep /usr/share/squirrelmail, fix alias setting and use > 'squirrelmail-configure' command to configure it. No, I won't use it. At the beginning I ran "apt-get install" to download/install squirrelmail on repo. I can't make it to work. Therefore I ran "apt-get remove" to remove it. I started again following the official document and download squirrelmail package on website > If you keep /usr/local/squirrelmail/www, go to > /usr/local/squirrelmail/www/config/ directory and configure > squirrelmail by > running './conf.pl' command in that directory. > Performed following steps $ cd /usr/local/squirrelmail/www/config $ su Password: # ./conf.pl Main Menu -- 1. Organization Preferences 2. Server Settings 3. Folder Defaults 4. General Options 5. Themes 6. Address Books 7. Message of the Day (MOTD) 8. Plugins 9. Database 10. Languages D. Set pre-defined settings for specific IMAP servers C Turn color on S Save data Q Quit Command >> 2 --> 1 [example.com]: satimis.com [Enter] Server Settings General ------- 1. Domain : satimis.com 2. Invert Time : false 3. Sendmail or SMTP : SMTP A. Update IMAP Settings : localhost:143 (other) B. Update SMTP Settings : localhost:25 R Return to Main Menu C Turn color on S Save data Q Quit --> 3 1 Sendmail 2 SMTP Your choice [1/2] [2]: 2 [Enter] Command >> 4 (General Options) 1. Data Directory : /var/local/squirrelmail/data/ 2. Attachment Directory : ../attachments/ 3. Directory Hash Level : 0 4. Default Left Size : 150 5. Usernames in Lowercase : false 6. Allow use of priority : true 7. Hide SM attributions : false 8. Allow use of receipts : true 9. Allow editing of identity : true Allow editing of name : true Remove username from header : false 10. Allow server thread sort : false 11. Allow server-side sorting : false 12. Allow server charset search : true 13. Enable UID support : true 14. PHP session name : SQMSESSID 15. Location base : --> 2 [/var/local/squirrelmail/attach/]: ../attachments/ Command >> 3 Folder Defaults 1. Default Folder Prefix : 2. Show Folder Prefix Option : false 3. Trash Folder : INBOX.Trash 4. Sent Folder : INBOX.Sent 5. Drafts Folder : INBOX.Drafts 6. By default, move to trash : true 7. By default, move to sent : true 8. By default, save as draft : true 9. List Special Folders First : true 10. Show Special Folders Color : true 11. Auto Expunge : true 12. Default Sub. of INBOX : true 13. Show 'Contain Sub.' Option : false 14. Default Unseen Notify : 2 15. Default Unseen Type : 1 16. Auto Create Special Folders : true 17. Folder Delete Bypasses Trash : false 18. Enable /NoSelect folder fix : false --> 1 []: INBOX --> 3 [INBOX.Trash]: Trash --> 4 [INBOX.Sent]: Sent --> 5 [R]: Draft --> 12 Default sub of INBOX (y/n) [y]: y --> 13 Show option (y/n) [n]: y Command >> S Data saved in config.php Press enter to continue... Command >> Q Exiting conf.pl. You might want to test your configuration by browsing to http://your-squirrelmail-location/src/configtest.php Happy SquirrelMailing! root@mail:/usr/local/squirrelmail/www/config# If I did anything wrong please correct me. TIA On Firefox http://localhost/squirrelmail Still hanging ??? http://domain.com/squirrelmail starts; SquirrelMail webmail for nuts I can't login with root/users with accounts on Postfix Error Error connecting to IMAP server: localhost. 110 : Connection timed out I'm running courier. How to get the problem fixed? TIA B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Tomas K. <to...@us...> - 2007-12-04 14:56:43
|
> Performed following steps > > $ cd /usr/local/squirrelmail/www/config > > $ su > Password: > # ./conf.pl > > ... > You have set data and attachment directories and domain name. Then you misconfigured your SquirrelMail setup by setting options that don't fit your courier-imap setup. Standard setup procedure is: 1. select imap server in D command 2. set domain 3. set data and attachment directory 4. change other things, if you know what they do or defaults don't fit your setup. > On Firefox > http://localhost/squirrelmail > > Still hanging > ??? > Please explain term "hanging" or check your logs. Web server crashes, redirects browser to some unknown site or does something else? Or show your apache2 configuration. All files, directories and symbolic links stored in /etc/apache2 directory excluding SSL keys. > http://domain.com/squirrelmail > > starts; > SquirrelMail > webmail > for > nuts > > > I can't login with root/users with accounts on Postfix > Never ever try logging in as root to POP3 or IMAP service. Use standard unprivileged account for testing. > > Error > Error connecting to IMAP server: localhost. > 110 : Connection timed out > > > I'm running courier. How to get the problem fixed? TIA > Can you connect to your imap server with other email client or telnet? --- telnet localhost 143 ... you should see courier imap greeting here ... A01 logout --- Try solving your problem on IRC (http://squirrelmail.org/wiki/InternetRelayChat). Maybe some people can help you faster than messaging on mailing list. You have generic first time setup issues and these are solved faster in real time. -- Tomas -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14152045 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Stephen L. <sa...@ya...> - 2007-12-04 15:57:13
|
--- Tomas Kuliavas <to...@us...> wrote:
> > Performed following steps
> >
> > $ cd /usr/local/squirrelmail/www/config
> >
> > $ su
> > Password:
> > # ./conf.pl
> >
> > ...
> >
>
> You have set data and attachment directories and domain name. Then
> you
> misconfigured your SquirrelMail setup by setting options that don't
> fit your
> courier-imap setup.
>
> Standard setup procedure is:
> 1. select imap server in D command
> 2. set domain
> 3. set data and attachment directory
> 4. change other things, if you know what they do or defaults don't
> fit your
> setup.
Please advise how to cancel all previous entries before re-running
./conf.pl?
TIA
> > On Firefox
> > http://localhost/squirrelmail
> >
> > Still hanging
> > ???
> >
>
> Please explain term "hanging" or check your logs. Web server crashes,
> redirects browser to some unknown site or does something else?
It hangs there for sometimes then popup;
The connection has timed out
The server at localhost is taking too long to respond.
> Or show your apache2 configuration. All files, directories and
> symbolic
> links stored in /etc/apache2 directory excluding SSL keys.
$ ls -al /etc/apache2/
total 88
drwxr-xr-x 8 root root 4096 2007-11-28 00:08 .
drwxr-xr-x 99 root root 12288 2007-12-04 23:08 ..
-rw-r--r-- 1 root root 24175 2007-01-15 10:46 apache2.conf
drwxr-xr-x 2 root root 4096 2007-12-04 14:25 conf.d
-rw-r--r-- 1 root root 22 2007-11-28 00:09 dav_svn.passwd
-rw-r--r-- 1 root root 895 2007-01-15 10:46 envvars
-rw-r--r-- 1 root root 0 2007-09-06 00:11 httpd.conf
drwxr-xr-x 2 root root 12288 2007-11-30 21:05 mods-available
drwxr-xr-x 2 root root 4096 2007-11-30 21:05 mods-enabled
-rw-r--r-- 1 root root 22 2007-10-26 07:04 ports.conf
-rw-r--r-- 1 root root 10 2007-09-06 08:10
ports.conf.origin.20071026
drwxr-xr-x 2 root root 4096 2007-11-27 14:23 sites-available
drwxr-xr-x 2 root root 4096 2007-11-27 14:27 sites-enabled
drwxr-xr-x 2 root root 4096 2007-11-27 23:05 ssl
* end *
$ cat /etc/apache2/apache2.conf
....
ServerRoot "/etc/apache2"
LockFile /var/lock/apache2/accept.lock
#</IfModule>
#</IfModule>
PidFile /var/run/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User www-data
Group www-data
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
TypesConfig /etc/mime.types
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/apache2/error.log
LogLevel warn
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
# Include all the user configurations:
Include /etc/apache2/httpd.conf
# Include ports listing
Include /etc/apache2/ports.conf
# Include generic snippets of statements
Include /etc/apache2/conf.d/
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ServerTokens Full
#
ServerSignature On
<IfModule alias_module>
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=*
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
#
# DefaultIcon is which icon to show for files which do not have an
icon
# explicitly set.
#
DefaultIcon /icons/unknown.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# RCS CVS *,v *,t
</IfModule>
<IfModule mod_mime.c>
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw
</IfModule>
<IfModule mod_negotiation.c>
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz
nl nn no pl pt pt-BR ru sv zh-CN zh-TW
ForceLanguagePriority Prefer Fallback
</IfModule>
<IfModule mod_mime.c>
AddCharset us-ascii .ascii .us-ascii
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
AddCharset ISO-8859-7 .iso8859-7 .grk .greek
AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
AddCharset ISO-8859-10 .iso8859-10 .latin6
AddCharset ISO-8859-13 .iso8859-13
AddCharset ISO-8859-14 .iso8859-14 .latin8
AddCharset ISO-8859-15 .iso8859-15 .latin9
AddCharset ISO-8859-16 .iso8859-16 .latin10
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5 .b5
AddCharset cn-Big5 .cn-big5
# For russian, more than one charset is used (depends on client,
mostly):
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8 .koi8
AddCharset KOI8-E .koi8-e
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-U .koi8-u
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-7 .utf7
AddCharset UTF-8 .utf8
AddCharset UTF-16 .utf16
AddCharset UTF-16BE .utf16be
AddCharset UTF-16LE .utf16le
AddCharset UTF-32 .utf32
AddCharset UTF-32BE .utf32be
AddCharset UTF-32LE .utf32le
AddCharset euc-cn .euc-cn
AddCharset euc-gb .euc-gb
AddCharset euc-jp .euc-jp
AddCharset euc-kr .euc-kr
#Not sure how euc-tw got in - IANA doesn't list it???
AddCharset EUC-TW .euc-tw
AddCharset gb2312 .gb2312 .gb
AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
AddCharset shift_jis .shift_jis .sjis
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0
force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider"
redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
</IfModule>
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
* end *
Remark: It is a big file. I deleted most comment out lines.
> > http://domain.com/squirrelmail
> >
> > starts;
> > SquirrelMail
> > webmail
> > for
> > nuts
> >
> >
> > I can't login with root/users with accounts on Postfix
> >
>
> Never ever try logging in as root to POP3 or IMAP service. Use
> standard
> unprivileged account for testing.
OK, thanks. I tried login with users on Postix, mail server, but still
failed.
Tried
username
use...@do...
Any suggestion? Thanks
> > Error
> > Error connecting to IMAP server: localhost.
> > 110 : Connection timed out
> >
> >
> > I'm running courier. How to get the problem fixed? TIA
> >
>
> Can you connect to your imap server with other email client or
> telnet?
>
> ---
> telnet localhost 143
> ... you should see courier imap greeting here ...
> A01 logout
> ---
$ telnet localhost 143
Trying 127.0.0.1...
No greeting. Would it be port 143 locked?
> Try solving your problem on IRC
> (http://squirrelmail.org/wiki/InternetRelayChat). Maybe some people
> can help
> you faster than messaging on mailing list. You have generic first
> time setup
> issues and these are solved faster in real time.
OK, I'll try. Thanks
Stephen L
Send instant messages to your online friends http://uk.messenger.yahoo.com
|
|
From: Tomas K. <to...@us...> - 2007-12-04 16:33:27
|
>> > Performed following steps >> > >> > $ cd /usr/local/squirrelmail/www/config >> > >> > $ su >> > Password: >> > # ./conf.pl >> > >> > ... >> > >> >> You have set data and attachment directories and domain name. Then >> you >> misconfigured your SquirrelMail setup by setting options that don't >> fit your >> courier-imap setup. >> >> Standard setup procedure is: >> 1. select imap server in D command >> 2. set domain >> 3. set data and attachment directory >> 4. change other things, if you know what they do or defaults don't >> fit your >> setup. > > Please advise how to cancel all previous entries before re-running > ./conf.pl? Delete /usr/local/squirrelmail/www/config/config.php file. >> > On Firefox >> > http://localhost/squirrelmail >> > >> > Still hanging >> > ??? >> > >> >> Please explain term "hanging" or check your logs. Web server crashes, >> redirects browser to some unknown site or does something else? > > > It hangs there for sometimes then popup; > The connection has timed out > The server at localhost is taking too long to respond. Something is dropping connections to localhost or you have your networking misconfigured. >> Or show your apache2 configuration. All files, directories and >> symbolic links stored in /etc/apache2 directory excluding SSL keys. ... > > Remark: It is a big file. I deleted most comment out lines. Or you could pack those files and post only link to them instead of pasting files inline. Please note that archive should be recursive and include symlinks. If you show me only apache2.conf, I don't know your real configuration, because I don't know conf.d contents, enabled modules and enabled sites. I needed all config in order to make sure that you haven't broke your apache configuration. But it looks like you have misconfigured localhost network stuff or firewall. >> > http://domain.com/squirrelmail >> > >> > starts; >> > SquirrelMail >> > webmail >> > for >> > nuts >> > >> > >> > I can't login with root/users with accounts on Postfix >> > >> >> Never ever try logging in as root to POP3 or IMAP service. Use >> standard >> unprivileged account for testing. > > OK, thanks. I tried login with users on Postix, mail server, but still > failed. Do you have real and working email setup? Can you send and receive emails? If you do, how are you reading received emails? > Tried > username > use...@do... Fix your networking stuff. Make sure that you get server greeting when you telnet to imap port. If localhost fails, try using external mail server's address. Use same username and password, that you are using to log into your Ubuntu box or make sure that courier sees Postfix users. Please note that you haven't provided any usable information about your email setup and I have no idea about used authentication backends and other mail setup details. -- Tomas |
|
From: Stephen L. <sa...@ya...> - 2007-12-04 17:23:33
|
Hi Tomas, It seems the iptables blocking the connection !!! > >> Standard setup procedure is: > >> 1. select imap server in D command > >> 2. set domain > >> 3. set data and attachment directory > >> 4. change other things, if you know what they do or defaults don't > >> fit your > >> setup. > > > > Please advise how to cancel all previous entries before re-running > > ./conf.pl? > > Delete /usr/local/squirrelmail/www/config/config.php file. Noted and thanks. > >> Please explain term "hanging" or check your logs. Web server > crashes, > >> redirects browser to some unknown site or does something else? > > > > > > It hangs there for sometimes then popup; > > The connection has timed out > > The server at localhost is taking too long to respond. > > Something is dropping connections to localhost or you have your > networking > misconfigured. $ sudo iptables -F $ telnet localhost 143 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THRE AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyr ight 1998-2005 Double Precision, Inc. See COPYING for distribution information. On firefox; http://localhost/squirrelmail starts; Squirrelmail URL changes to; http://localhost/squirrelmail/src/redirect.php On login following warning popup; ERROR Error opening ../data/default_pref Could not create initial preference file! /var/local/squirrelmail/data/ should be writable by user www-data Please contact your system administrator and report this error. * end * $ ls -l /var/local/ total 0 Shall I create /var/local/squirrelmail/data ??? What will be their permission? I'll come back latter on the remaining part of your email. Thanks B.R. satimis > >> Or show your apache2 configuration. All files, directories and > >> symbolic links stored in /etc/apache2 directory excluding SSL > keys. > ... > > > > Remark: It is a big file. I deleted most comment out lines. > > Or you could pack those files and post only link to them instead of > pasting files inline. Please note that archive should be recursive > and > include symlinks. If you show me only apache2.conf, I don't know your > real > configuration, because I don't know conf.d contents, enabled modules > and > enabled sites. > > I needed all config in order to make sure that you haven't broke your > apache configuration. But it looks like you have misconfigured > localhost > network stuff or firewall. > > >> > http://domain.com/squirrelmail > >> > > >> > starts; > >> > SquirrelMail > >> > webmail > >> > for > >> > nuts > >> > > >> > > >> > I can't login with root/users with accounts on Postfix > >> > > >> > >> Never ever try logging in as root to POP3 or IMAP service. Use > >> standard > >> unprivileged account for testing. > > > > OK, thanks. I tried login with users on Postix, mail server, but > still > > failed. > > Do you have real and working email setup? Can you send and receive > emails? > If you do, how are you reading received emails? > > > Tried > > username > > use...@do... > > Fix your networking stuff. Make sure that you get server greeting > when you > telnet to imap port. If localhost fails, try using external mail > server's > address. Use same username and password, that you are using to log > into > your Ubuntu box or make sure that courier sees Postfix users. Please > note > that you haven't provided any usable information about your email > setup > and I have no idea about used authentication backends and other mail > setup > details. > > > > -- > Tomas > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White > Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > ----- > squirrelmail-users mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.user > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Tomas K. <to...@us...> - 2007-12-04 18:38:49
|
> It seems the iptables blocking the connection !!! > >> >> Please explain term "hanging" or check your logs. Web server >> crashes, >> >> redirects browser to some unknown site or does something else? >> > >> > >> > It hangs there for sometimes then popup; >> > The connection has timed out >> > The server at localhost is taking too long to respond. >> >> Something is dropping connections to localhost or you have your >> networking misconfigured. > > > $ sudo iptables -F > > > $ telnet localhost 143 > Trying 127.0.0.1... > Connected to localhost.localdomain. > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE > THREAD=ORDEREDSUBJECT THRE > AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP > ready. Copyr > ight 1998-2005 Double Precision, Inc. See COPYING for distribution > information. > > > On firefox; > > http://localhost/squirrelmail > > starts; > Squirrelmail > > URL changes to; > http://localhost/squirrelmail/src/redirect.php > > > On login following warning popup; > ERROR > Error opening ../data/default_pref > Could not create initial preference file! > /var/local/squirrelmail/data/ should be writable by user www-data > Please contact your system administrator and report this error. > * end * > > $ ls -l /var/local/ > total 0 > > > Shall I create /var/local/squirrelmail/data > ??? > > What will be their permission? > Directory must be writable by web server. If you are not using PHP safe_mode, it should be owned by www-data, group = www-data, permissions = 0750. If you are using PHP safe_mode, directory should be owned by same user that owns other SquirrelMail scripts, group = www-data, permissions 0770 mkdir /var/local/squirrelmail/data chown www-data:www-data /var/local/squirrelmail/data chmod 0750 /var/local/squirrelmail/data same thing applies to attachment directory. -- Tomas -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14156652 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Stephen L. <sa...@ya...> - 2007-12-05 11:28:22
|
Hi Tomas,
Problem solved. Squirrelmail is now working.
- snip -
> > $ ls -l /var/local/
> > total 0
> >
> >
> > Shall I create /var/local/squirrelmail/data
> > ???
> >
> > What will be their permission?
> >
>
> Directory must be writable by web server.
>
> If you are not using PHP safe_mode, it should be owned by www-data,
> group =
> www-data, permissions = 0750. If you are using PHP safe_mode,
> directory
> should be owned by same user that owns other SquirrelMail scripts,
> group =
> www-data, permissions 0770
>
> mkdir /var/local/squirrelmail/data
> chown www-data:www-data /var/local/squirrelmail/data
> chmod 0750 /var/local/squirrelmail/data
>
> same thing applies to attachment directory.
Re-ran ./conf.pl
$ cd /usr/local/squirrelmail/www/config
$ su
Password
# mv config.php config.php.bak
# ./conf.pl
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color on
S Save data
Q Quit
Command >> D [Enter]
Command >> courier [Enter]
imap_server_type = courier
default_folder_prefix = INBOX.
trash_folder = Trash
sent_folder = Sent
draft_folder = Drafts
show_prefix_option = false
default_sub_of_inbox = false
show_contain_subfolders_option = false
optional_delimiter = .
delete_folder = true
Press any key to continue...
Command >> 2 [Enter]
Server Settings
General
-------
1. Domain : example.com
2. Invert Time : false
3. Sendmail or SMTP : SMTP
A. Update IMAP Settings : localhost:143 (courier)
B. Update SMTP Settings : localhost:25
Command >> 1 [Enter]
[example.com]: domain.com [Enter]
Command >> 4 [Enter]
General Options
1. Data Directory : /var/local/squirrelmail/data/
2. Attachment Directory : /var/local/squirrelmail/attach/
3. Directory Hash Level : 0
4. Default Left Size : 150
5. Usernames in Lowercase : false
6. Allow use of priority : true
7. Hide SM attributions : false
8. Allow use of receipts : true
9. Allow editing of identity : true
Allow editing of name : true
Remove username from header : false
10. Allow server thread sort : false
11. Allow server-side sorting : false
12. Allow server charset search : true
13. Enable UID support : true
14. PHP session name : SQMSESSID
15. Location base :
I also retain "Attachment Directory" default
Command >> R [Enter]
Command >> S [Enter]
Data saved in config.php
Press enter to continue...
Command >> Q
Exiting conf.pl.
You might want to test your configuration by browsing to
http://your-squirrelmail-location/src/configtest.php
Happy SquirrelMailing!
# mkdir -p /var/local/squirrelmail/data
# chown www-data:www-data -c /var/local/squirrelmail/data
changed ownership of `/var/local/squirrelmail/data' to
www-data:www-data
# chmod 0750 -c /var/local/squirrelmail/data
mode of `/var/local/squirrelmail/data' changed to 0750 (rwxr-x---)
# mkdir /var/local/squirrelmail/attach
# chown www-data:www-data -c /var/local/squirrelmail/attach
changed ownership of `/var/local/squirrelmail/attach' to
www-data:www-data
# chmod 0750 -c /var/local/squirrelmail/attach
mode of `/var/local/squirrelmail/attach' changed to 0750 (rwxr-x---)
On Firefox
https://localhost/squirrelmail/
starts SquirrelMail
login as user
starts "Current Folder: Inbox" page
Sent a test mail including cc and bcc to users on Mail Server. All of
them received.
Thanks for your assistance.
A further question, is it possible evoking SquirrelMail with
"https://domain.com/mail" to shorten typing input? If YES, then how to
do it? TIA
B.R.
Stephen L
Send instant messages to your online friends http://uk.messenger.yahoo.com
|
|
From: Tomas K. <to...@us...> - 2007-12-05 11:39:29
|
satimis wrote: > > A further question, is it possible evoking SquirrelMail with > "https://domain.com/mail" to shorten typing input? If YES, then how to > do it? TIA > http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias Alias /mail /usr/local/squirrelmail/www -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14170052 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Alan in T. <Ala...@fi...> - 2007-12-05 13:31:31
|
On Wed, December 5, 2007 6:39 am, Tomas Kuliavas wrote: > > > satimis wrote: >> >> A further question, is it possible evoking SquirrelMail with >> "https://domain.com/mail" to shorten typing input? If YES, then how to >> do it? TIA >> > > http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias > > Alias /mail /usr/local/squirrelmail/www A simpler method is simply to rename the directory that contains SquirrelMail. That's what I do. |
|
From: Stephen L. <sa...@ya...> - 2007-12-05 14:48:35
|
--- Alan in Toronto <Ala...@fi...> wrote: > On Wed, December 5, 2007 6:39 am, Tomas Kuliavas wrote: > > > > > > satimis wrote: > >> > >> A further question, is it possible evoking SquirrelMail with > >> "https://domain.com/mail" to shorten typing input? If YES, then > how to > >> do it? TIA > >> > > > > http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias > > > > Alias /mail /usr/local/squirrelmail/www > > A simpler method is simply to rename the directory that contains > SquirrelMail. > That's what I do. Hi Alan, Ubuntu 7.04 server amd64 $ sudo find / -name squirrelmail -type d /usr/local/squirrelmail /var/local/squirrelmail /etc/squirrelmail $ ls -l /usr/local/squirrelmail/ total 12 drwx-wx--- 2 root nogroup 4096 2007-12-03 23:49 data drwx-wx--- 2 root nogroup 4096 2007-12-03 23:49 temp drwxr-xr-x 16 root root 4096 2007-11-23 11:55 www Whether run; $ sudo mv /usr/local/squirrelmail /usr/local/mail ??? TIA B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Tomas K. <to...@us...> - 2007-12-05 16:27:33
|
satimis wrote: > >> >> A further question, is it possible evoking SquirrelMail with >> >> "https://domain.com/mail" to shorten typing input? If YES, then >> how to >> >> do it? TIA >> >> >> > >> > http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias >> > >> > Alias /mail /usr/local/squirrelmail/www >> >> A simpler method is simply to rename the directory that contains >> SquirrelMail. >> That's what I do. > > Hi Alan, > > > Ubuntu 7.04 server amd64 > > > $ sudo find / -name squirrelmail -type d > /usr/local/squirrelmail > /var/local/squirrelmail > /etc/squirrelmail > > > $ ls -l /usr/local/squirrelmail/ > total 12 > drwx-wx--- 2 root nogroup 4096 2007-12-03 23:49 data > drwx-wx--- 2 root nogroup 4096 2007-12-03 23:49 temp > drwxr-xr-x 16 root root 4096 2007-11-23 11:55 www > > > Whether run; > > $ sudo mv /usr/local/squirrelmail /usr/local/mail > ??? > > > TIA > > > B.R. > Stephen L > > Alan missed the fact that your SquirrelMail installation is not stored in web document root. Set alias or move it to your document root. -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14174878 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Stephen L. <sa...@ya...> - 2007-12-06 01:15:21
|
--- Tomas Kuliavas <to...@us...> wrote: > Alan missed the fact that your SquirrelMail installation is not > stored in > web document root. Set alias or move it to your document root. Hi Tomas, I don't have alias and unalias here. $ which Alias $ which alias both having no printout Nor can I find it on Ubuntu repo $ apt-cache policy alias alias: Installed: (none) Candidate: (none) Version table: Please advise which package provides this Unix command. TIA Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Wm M. <mus...@cs...> - 2007-12-06 01:51:23
|
On Wed, December 5, 2007 17:15, Stephen Liu wrote: > --- Tomas Kuliavas <to...@us...> wrote: > > >> Alan missed the fact that your SquirrelMail installation is not >> stored in >> web document root. Set alias or move it to your document root. > > > Hi Tomas, > > > I don't have alias and unalias here. > > > $ which Alias > $ which alias > both having no printout > > > Nor can I find it on Ubuntu repo > > $ apt-cache policy alias > alias: > Installed: (none) > Candidate: (none) > Version table: > > > Please advise which package provides this Unix command. TIA > > > Stephen L Its part of apache setup not a separate package. ------ William R. Mussatto Systems Engineer http://www.csz.com 909-920-9154 |
|
From: Tomas K. <to...@us...> - 2007-12-06 05:02:49
|
>> Alan missed the fact that your SquirrelMail installation is not >> stored in >> web document root. Set alias or move it to your document root. > > > Hi Tomas, > > > I don't have alias and unalias here. > > > $ which Alias > $ which alias > both having no printout > > > Nor can I find it on Ubuntu repo > > $ apt-cache policy alias > alias: > Installed: (none) > Candidate: (none) > Version table: > > > Please advise which package provides this Unix command. TIA > > Alias is Apache configuration option. I have provided link to httpd.apache.org site twice on this thread. You already use it in some /etc/apache2/conf.d/ configuration file. -- Tomas -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14186318 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Stephen L. <sa...@ya...> - 2007-12-06 06:39:38
|
--- Tomas Kuliavas <to...@us...> wrote: > > Please advise which package provides this Unix command. TIA > > > Alias is Apache configuration option. I have provided link to > httpd.apache.org site twice on this thread. You already use it in > some > /etc/apache2/conf.d/ configuration file. Oh, sorry. I thought it was a command line. Performed following steps:- $ sudo cp -p /etc/apache2/httpd.conf /etc/apache2/httpd.conf.bak.20071206 $ sudo nano /etc/apache2/httpd.conf adding following lines on the file; Alias /mail /usr/local/squirrelmail/www <Directory /usr/local/swuirrelmail/www> Order allow,deny Allow from all </Directory> Remark: It was an empty file? $ sudo /etc/init.d/apache2 restart * Forcing reload of web server (apache2)... [ OK ] On Firefox https://localhost/mail Started Squirrel Webmail. https://domain.com/mail Following warning popup; Security security Error: Domain Name Mismatch You have attempted to establish a connection with "www.domain.com". However, the security certificate presented belongs to "localhost". It is possible though unlikely, that someone may be trying to intercept your communication with this website. If you suspect the certicate shown does not belong to "www.domain.com". please cancel the connection and notify the site administrator. [Vies Certificate] [Cancel] [OK] * end * Clicking [OK] starts Squirrel webmail. How to fix the problem on the warning? TIA B.R. Stephen Liu Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Tomas K. <to...@us...> - 2007-12-06 07:33:03
|
> https://domain.com/mail > > Following warning popup; > Security > security Error: Domain Name Mismatch > You have attempted to establish a connection with > "www.domain.com". However, the security certificate > presented belongs to "localhost". It is possible though > unlikely, that someone may be trying to intercept your > communication with this website. > > > If you suspect the certicate shown does not belong to > "www.domain.com". please cancel the connection and notify > the site administrator. > ... > > How to fix the problem on the warning? TIA > Get signed SSL certificate. See http://www.cacert.org/ and https://www.godaddy.com/gdshop/ssl/ssl.asp?ci=9173 Or generate self signed sertificate with correct domain name instead of 'localhost'. If you use self signed certificates, browsers still show warning box. If you use cacert certificates, you will have to install cacert certificate authority certificate in order to get rid of warning box. If you use commercial certificates, warning box is displayed only when certificate expires. Please note that you are asking generic web server setup questions on SquirrelMail support forum and that warning box does not break your already working SquirrelMail setup. -- Tomas -- View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14187645 Sent from the squirrelmail-users mailing list archive at Nabble.com. |
|
From: Roland F. <rol...@fr...> - 2007-12-06 07:49:51
|
>> Following warning popup; >> ... >> How to fix the problem on the warning? TIA >> > > Get signed SSL certificate. > .... > Please note that you are asking generic web server setup questions on > SquirrelMail support forum and that warning box does not break your > already > working SquirrelMail setup. I was already wondering if i got subscribed to the "help me my server suddenly has linux installed and I don't know anything about it" mailing list or even the "how to install a server without reading any documentation" mailing list ;) Greets Roland. |
|
From: Stephen L. <sa...@ya...> - 2007-12-06 10:18:42
|
--- Tomas Kuliavas <to...@us...> wrote: > > > > > https://domain.com/mail > > > > Following warning popup; > > Security > > security Error: Domain Name Mismatch > > You have attempted to establish a connection with > > "www.domain.com". However, the security certificate > > presented belongs to "localhost". It is possible though > > unlikely, that someone may be trying to intercept your > > communication with this website. > > > > > > If you suspect the certicate shown does not belong to > > "www.domain.com". please cancel the connection and notify > > the site administrator. > > ... > > > > How to fix the problem on the warning? TIA > > > > Get signed SSL certificate. > > See http://www.cacert.org/ and > https://www.godaddy.com/gdshop/ssl/ssl.asp?ci=9173 > > Or generate self signed sertificate with correct domain name instead > of > 'localhost'. If you use self signed certificates, browsers still show > warning box. If you use cacert certificates, you will have to install > cacert > certificate authority certificate in order to get rid of warning box. > If you > use commercial certificates, warning box is displayed only when > certificate > expires. > > Please note that you are asking generic web server setup questions on > SquirrelMail support forum and that warning box does not break your > already > working SquirrelMail setup. Noted and thanks B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: Helmut H. <Hu...@t-...> - 2007-12-06 08:04:13
|
Hallo, Stephen,
Du (satimis) meintest am 06.12.07:
> I don't have alias and unalias here.
> $ which Alias
> $ which alias
> both having no printout
Just try (in the bash shell)
help alias
It's a built in command (outside of the "apache" world).
And apache's "alias" works in another way than bash's "alias".
Viele Gruesse!
Helmut
|