Как запустить белку (конфигурирование squirrelmail)

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС для молодых и начинающих системных администраторов.

Модераторы: SLEDopit, Модераторы разделов

paltusssss
Сообщения: 147

Как запустить белку

Сообщение paltusssss »

Здравствуйте!
Установил сегодня Squirrelmail и решил его запустить - не тут то было. В руководствах по настройке было сказано, что в файле /etc/httpd/conf.d/squirrelmail/mail.conf должна быть строка:
alias /webmail /usr/share/squirrelmail
С её помощью можно запустить белку введя localhost/webmail. Проблема в том, что после установки белки - нет ни файла mail.conf ни директории /usr/share/squirrelmail. Единственное что имеется - папка /etc/squirrelmail с четыремя файлами:
config.php
config_default.php
config_local.php
plugins
По гуглил - ничего конкретного не нашёл. Как же её запустить?
Спасибо сказали:
Аватара пользователя
Ленивая Бестолочь
Бывший модератор
Сообщения: 2760
ОС: Debian; gentoo

Re: Как запустить белку

Сообщение Ленивая Бестолочь »

какой дистрибутив, как ставили?
Солнце садилось в море, а люди с неоконченным высшим образованием выбегали оттуда, думая, что море закипит.
Спасибо сказали:
paltusssss
Сообщения: 147

Re: Как запустить белку

Сообщение paltusssss »

Ленивая Бестолочь писал(а):
10.10.2010 15:18
какой дистрибутив, как ставили?

Mandriva 2010 spring. Ставил через репозиторий urpmi squirrelmail. И всё. Инструкция по конфигурированию конечно была под цент ос, но я не думаю, что всё сильно отличается.
Спасибо сказали:
Аватара пользователя
Bizdelnick
Модератор
Сообщения: 21358
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Как запустить белку

Сообщение Bizdelnick »

paltusssss писал(а):
10.10.2010 18:09
Инструкция по конфигурированию конечно была под цент ос

Эмм... А этого мало?

Код: Выделить всё

urpmq -l squirrelmail | grep doc
/usr/share/doc/squirrelmail
/usr/share/doc/squirrelmail/AUTHORS
/usr/share/doc/squirrelmail/COPYING
/usr/share/doc/squirrelmail/ChangeLog
/usr/share/doc/squirrelmail/INSTALL
/usr/share/doc/squirrelmail/README
/usr/share/doc/squirrelmail/README.themes
/usr/share/doc/squirrelmail/RPM.readme
/usr/share/doc/squirrelmail/ReleaseNotes.txt
/usr/share/doc/squirrelmail/UPGRADE
/usr/share/doc/squirrelmail/authentication.txt
/usr/share/doc/squirrelmail/contrib
/usr/share/doc/squirrelmail/contrib/.htaccess
/usr/share/doc/squirrelmail/contrib/conf.pl.8
/usr/share/doc/squirrelmail/contrib/decrypt_headers.php
/usr/share/doc/squirrelmail/contrib/squirrelmail.mailto.NT2KXP.reg
/usr/share/doc/squirrelmail/contrib/squirrelmail.mailto.Win9x.reg
/usr/share/doc/squirrelmail/ie_ssl.txt
/usr/share/doc/squirrelmail/index.html
/usr/share/doc/squirrelmail/index.php
/usr/share/doc/squirrelmail/index2.html
/usr/share/doc/squirrelmail/plugins
/usr/share/doc/squirrelmail/plugins/README.plugins
/usr/share/doc/squirrelmail/plugins/abook_import_export
/usr/share/doc/squirrelmail/plugins/abook_import_export/CHANGELOG
/usr/share/doc/squirrelmail/plugins/abook_import_export/INSTALL
/usr/share/doc/squirrelmail/plugins/abook_import_export/README
/usr/share/doc/squirrelmail/plugins/address_add
/usr/share/doc/squirrelmail/plugins/address_add/README
/usr/share/doc/squirrelmail/plugins/administrator
/usr/share/doc/squirrelmail/plugins/administrator/INSTALL
/usr/share/doc/squirrelmail/plugins/archive_mail
/usr/share/doc/squirrelmail/plugins/archive_mail/README
/usr/share/doc/squirrelmail/plugins/avelsieve
/usr/share/doc/squirrelmail/plugins/avelsieve/doc
/usr/share/doc/squirrelmail/plugins/avelsieve/doc/FAQ
/usr/share/doc/squirrelmail/plugins/avelsieve/doc/INSTALL
/usr/share/doc/squirrelmail/plugins/avelsieve/doc/README
/usr/share/doc/squirrelmail/plugins/avelsieve/doc/README-FIRST.BETA
/usr/share/doc/squirrelmail/plugins/avelsieve/doc/README.html
/usr/share/doc/squirrelmail/plugins/block_sender
/usr/share/doc/squirrelmail/plugins/block_sender/README
/usr/share/doc/squirrelmail/plugins/block_sender/tools
/usr/share/doc/squirrelmail/plugins/block_sender/tools/README.tools
/usr/share/doc/squirrelmail/plugins/bookmarks
/usr/share/doc/squirrelmail/plugins/bookmarks/README
/usr/share/doc/squirrelmail/plugins/bug_report
/usr/share/doc/squirrelmail/plugins/bug_report/README
/usr/share/doc/squirrelmail/plugins/calendar
/usr/share/doc/squirrelmail/plugins/calendar/README
/usr/share/doc/squirrelmail/plugins/change_ldappass
/usr/share/doc/squirrelmail/plugins/change_ldappass/INSTALL
/usr/share/doc/squirrelmail/plugins/change_ldappass/README
/usr/share/doc/squirrelmail/plugins/change_pass
/usr/share/doc/squirrelmail/plugins/change_pass/README
/usr/share/doc/squirrelmail/plugins/change_pass/doc
/usr/share/doc/squirrelmail/plugins/change_pass/doc/ChangeLog
/usr/share/doc/squirrelmail/plugins/change_pass/doc/FAQ
/usr/share/doc/squirrelmail/plugins/change_pass/doc/INSTALL
/usr/share/doc/squirrelmail/plugins/change_pass/doc/README
/usr/share/doc/squirrelmail/plugins/compatibility
/usr/share/doc/squirrelmail/plugins/compatibility/INSTALL
/usr/share/doc/squirrelmail/plugins/compatibility/README
/usr/share/doc/squirrelmail/plugins/delete_move_next
/usr/share/doc/squirrelmail/plugins/delete_move_next/README
/usr/share/doc/squirrelmail/plugins/demo
/usr/share/doc/squirrelmail/plugins/demo/INSTALL
/usr/share/doc/squirrelmail/plugins/demo/README
/usr/share/doc/squirrelmail/plugins/empty_folders
/usr/share/doc/squirrelmail/plugins/empty_folders/INSTALL
/usr/share/doc/squirrelmail/plugins/empty_folders/README
/usr/share/doc/squirrelmail/plugins/filters
/usr/share/doc/squirrelmail/plugins/filters/README
/usr/share/doc/squirrelmail/plugins/filters/bulkquery
/usr/share/doc/squirrelmail/plugins/filters/bulkquery/INSTALL
/usr/share/doc/squirrelmail/plugins/filters/bulkquery/README
/usr/share/doc/squirrelmail/plugins/folder_sizes
/usr/share/doc/squirrelmail/plugins/folder_sizes/INSTALL
/usr/share/doc/squirrelmail/plugins/folder_sizes/README
/usr/share/doc/squirrelmail/plugins/fortune
/usr/share/doc/squirrelmail/plugins/fortune/README
/usr/share/doc/squirrelmail/plugins/info
/usr/share/doc/squirrelmail/plugins/info/README
/usr/share/doc/squirrelmail/plugins/javascript_libs
/usr/share/doc/squirrelmail/plugins/javascript_libs/doc
/usr/share/doc/squirrelmail/plugins/javascript_libs/doc/README.html
/usr/share/doc/squirrelmail/plugins/javascript_libs/doc/scriptaculous
/usr/share/doc/squirrelmail/plugins/javascript_libs/doc/scriptaculous/CHANGELOG
/usr/share/doc/squirrelmail/plugins/javascript_libs/doc/scriptaculous/README
/usr/share/doc/squirrelmail/plugins/javascript_libs/lib
/usr/share/doc/squirrelmail/plugins/javascript_libs/lib/min
/usr/share/doc/squirrelmail/plugins/javascript_libs/lib/min/README.txt
/usr/share/doc/squirrelmail/plugins/junkfolder
/usr/share/doc/squirrelmail/plugins/junkfolder/README
/usr/share/doc/squirrelmail/plugins/ldifimport
/usr/share/doc/squirrelmail/plugins/ldifimport/README
/usr/share/doc/squirrelmail/plugins/listcommands
/usr/share/doc/squirrelmail/plugins/listcommands/README
/usr/share/doc/squirrelmail/plugins/login_image
/usr/share/doc/squirrelmail/plugins/login_image/README
/usr/share/doc/squirrelmail/plugins/mail_fetch
/usr/share/doc/squirrelmail/plugins/mail_fetch/README
/usr/share/doc/squirrelmail/plugins/newmail
/usr/share/doc/squirrelmail/plugins/newmail/HISTORY
/usr/share/doc/squirrelmail/plugins/newmail/README
/usr/share/doc/squirrelmail/plugins/quota_usage
/usr/share/doc/squirrelmail/plugins/quota_usage/FAQ
/usr/share/doc/squirrelmail/plugins/quota_usage/INSTALL
/usr/share/doc/squirrelmail/plugins/quota_usage/README
/usr/share/doc/squirrelmail/plugins/rewrap
/usr/share/doc/squirrelmail/plugins/rewrap/INSTALL
/usr/share/doc/squirrelmail/plugins/rewrap/README
/usr/share/doc/squirrelmail/plugins/secure_login
/usr/share/doc/squirrelmail/plugins/secure_login/INSTALL
/usr/share/doc/squirrelmail/plugins/secure_login/README
/usr/share/doc/squirrelmail/plugins/select_range
/usr/share/doc/squirrelmail/plugins/select_range/INSTALL
/usr/share/doc/squirrelmail/plugins/select_range/README
/usr/share/doc/squirrelmail/plugins/spam_buttons
/usr/share/doc/squirrelmail/plugins/spam_buttons/README
/usr/share/doc/squirrelmail/plugins/spam_buttons/docs
/usr/share/doc/squirrelmail/plugins/spam_buttons/docs/INSTALL
/usr/share/doc/squirrelmail/plugins/spam_buttons/docs/README
/usr/share/doc/squirrelmail/plugins/spamcop
/usr/share/doc/squirrelmail/plugins/spamcop/README
/usr/share/doc/squirrelmail/plugins/squirrelspell
/usr/share/doc/squirrelmail/plugins/squirrelspell/CRYPTO
/usr/share/doc/squirrelmail/plugins/squirrelspell/INSTALL
/usr/share/doc/squirrelmail/plugins/squirrelspell/PRIVACY
/usr/share/doc/squirrelmail/plugins/squirrelspell/UPGRADING
/usr/share/doc/squirrelmail/plugins/squirrelspell/doc
/usr/share/doc/squirrelmail/plugins/squirrelspell/doc/ChangeLog
/usr/share/doc/squirrelmail/plugins/squirrelspell/doc/README
/usr/share/doc/squirrelmail/plugins/test
/usr/share/doc/squirrelmail/plugins/test/INSTALL
/usr/share/doc/squirrelmail/plugins/test/README
/usr/share/doc/squirrelmail/plugins/translate
/usr/share/doc/squirrelmail/plugins/translate/README
/usr/share/doc/squirrelmail/plugins/username
/usr/share/doc/squirrelmail/plugins/username/INSTALL
/usr/share/doc/squirrelmail/plugins/username/README
/usr/share/doc/squirrelmail/plugins/windows
/usr/share/doc/squirrelmail/plugins/windows/INSTALL
/usr/share/doc/squirrelmail/plugins/yubikey
/usr/share/doc/squirrelmail/plugins/yubikey/README
/usr/share/doc/squirrelmail/plugins/yubikey/doc
/usr/share/doc/squirrelmail/plugins/yubikey/doc/CHANGELOG
/usr/share/doc/squirrelmail/plugins/yubikey/doc/INSTALL
/usr/share/doc/squirrelmail/plugins/yubikey/doc/README
/usr/share/doc/squirrelmail/presets.txt
/usr/share/doc/squirrelmail/release_notes_archive
/usr/share/doc/squirrelmail/release_notes_archive/1.2
/usr/share/doc/squirrelmail/release_notes_archive/1.2/Notes-1.2.0.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.2/Notes-1.2.1.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.2/Notes-1.2.2.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.2/Notes-1.2.3.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.2/Notes-1.2.4.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.2/Notes-1.2.5.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.2/Notes-1.2.6.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.3
/usr/share/doc/squirrelmail/release_notes_archive/1.3/Notes-1.3.0.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.3/Notes-1.3.1.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.3/Notes-1.3.2.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.0.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.1.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.10.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.10a.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.11.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.12.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.13.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.15.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.16.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.17.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.18.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.19.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.2.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.20-RC2.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.20RC1.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.3.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.3a.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.4.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.5.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.6.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.7.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.8.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.9.txt
/usr/share/doc/squirrelmail/release_notes_archive/1.4/Notes-1.4.9a.txt
/usr/share/doc/squirrelmail/russian_apache.txt
/usr/share/doc/squirrelmail/security.txt
/usr/share/doc/squirrelmail/translating.txt
/usr/share/doc/squirrelmail/translating_help.txt
/var/www/squirrelmail/plugins/avelsieve/doc
/var/www/squirrelmail/plugins/avelsieve/doc/CREDITS
/var/www/squirrelmail/plugins/avelsieve/doc/CREDITS.html
/var/www/squirrelmail/plugins/avelsieve/doc/DEVELOPMENT
/var/www/squirrelmail/plugins/avelsieve/doc/NEWS
/var/www/squirrelmail/plugins/avelsieve/doc/NEWS.html
/var/www/squirrelmail/plugins/avelsieve/doc/NOTES
/var/www/squirrelmail/plugins/avelsieve/doc/REPORTING_BUGS
/var/www/squirrelmail/plugins/avelsieve/doc/REPORTING_BUGS.html
/var/www/squirrelmail/plugins/avelsieve/doc/style
/var/www/squirrelmail/plugins/avelsieve/doc/style/avelsieve_meta.css
/var/www/squirrelmail/plugins/change_pass/doc
/var/www/squirrelmail/plugins/change_pass/doc/index.php
/var/www/squirrelmail/plugins/javascript_libs/doc
/var/www/squirrelmail/plugins/javascript_libs/doc/MINIFY-LICENSE
/var/www/squirrelmail/plugins/javascript_libs/doc/lightboxplus
/var/www/squirrelmail/plugins/javascript_libs/doc/lightboxplus/HOMEURL
/var/www/squirrelmail/plugins/javascript_libs/doc/lightboxplus/VERSION
/var/www/squirrelmail/plugins/javascript_libs/doc/modalbox
/var/www/squirrelmail/plugins/javascript_libs/doc/modalbox/HOMEURL
/var/www/squirrelmail/plugins/javascript_libs/doc/modalbox/VERSION
/var/www/squirrelmail/plugins/javascript_libs/doc/prototype
/var/www/squirrelmail/plugins/javascript_libs/doc/prototype/HOMEURL
/var/www/squirrelmail/plugins/javascript_libs/doc/scriptaculous
/var/www/squirrelmail/plugins/javascript_libs/doc/scriptaculous/HOMEURL
/var/www/squirrelmail/plugins/javascript_libs/doc/scriptaculous/MIT-LICENSE
/var/www/squirrelmail/plugins/javascript_libs/doc/scriptaculous/URL
/var/www/squirrelmail/plugins/javascript_libs/doc/scriptaculous/VERSION
/var/www/squirrelmail/plugins/javascript_libs/doc/shadedborder
/var/www/squirrelmail/plugins/javascript_libs/doc/shadedborder/HOMEURL
/var/www/squirrelmail/plugins/spam_buttons/docs
/var/www/squirrelmail/plugins/spam_buttons/docs/index.php
/var/www/squirrelmail/plugins/yubikey/doc
/var/www/squirrelmail/plugins/yubikey/doc/index.php
Пишите правильно:
в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик
Спасибо сказали:
paltusssss
Сообщения: 147

Re: Как запустить белку

Сообщение paltusssss »

Заглянул в файл /usr/share/doc/squirrelmail/INSTALL Спасибо, что он хоть не на японском.

Код: Выделить всё

Installing SquirrelMail
=======================

Table of Contents:
  0.  (QUICK!)   Quick install guide
  1.  (PHP)      Configure your webserver to work with PHP
  2.  (IMAP)     Setting up IMAP (not covered)
  3.  (INSTALL)  Obtaining and installing SquirrelMail
  4.  (RUN)      Running SquirrelMail
  5.  (CHARSETS) Russian Charsets
  6.  (LOCALES)  Translations of SquirrelMail


0. QUICK INSTALL GUIDE
----------------------

Each of these steps is covered in detail below.

- Install webserver and PHP (at least 4.1.0).
- Install IMAP server (see docs of that server).
- Unpack the SquirrelMail package in a web-accessible location.
- Select a data-dir and attachment dir, outside the webtree (e.g. in /var).
  The data-dir (for user prefs) should be owned by the user the webserver
  runs as (e.g. www-data). The attachment dir (for uploading files as
  attachments) should be file mode 0730 and in the same group as the
  webserver.
- Run config/conf.pl from the command line. Use the D option to load
  predefined options for specific IMAP servers, and edit at least the
  Server Settings and General Options (datadir).
- Browse to http://example.com/yourwebmaillocation/src/configtest.php
  to test your configuration for common errors.
- Browse to http://example.com/yourwebmaillocation/ to log in.


1. CONFIGURE YOUR WEBSERVER TO WORK WITH PHP
--------------------------------------------

  If your webserver does not already have PHP you must configure it
  to work with PHP. You need at least PHP v4.1.0. SquirrelMail uses
  the standard suffix .php for all PHP files.

  You can find PHP at http://php.net. See the documentation that
  comes with PHP for instructions how to set it up.

  The PHP IMAP extension is NOT necessary at all (but won't harm)!
  Below is a list of optional PHP extensions:

  --with-ldap
    Required for LDAP addressbooks

  --with-pear and --with-mysql
    For MySQL storage of preferences or addressbooks. You will need PHP
    compiled with --with-pgsql option, if you want to use PostgreSQL instead
    of MySQL. You will need PHP with appropriate database extension, if you
    want to use any other database.

  --with-openssl
    Required for encrypted IMAP or SMTP connections (TLS)

  --with-mcrypt
    Can be used by SquirrelSpell plugin for encryption of personal
    dictionaries

  --with-iconv or --with-recode
    Can be used by Eastern charset decoding functions

  --enable-mbstring
    Required for Japanese translation. Optional for translations that
    use non-ISO-8859-1 charset

  It is highly advised to NOT turn on register_globals, as this can lead
  to security holes. If you must use register_globals for some applications,
  turn it on locally for only those directories, or turn it off for the
  SquirrelMail folder.
  If you want your users to attach files to their mails, make sure
  File Uploads in php.ini is set to On.


2. SETTING UP IMAP
------------------

  This depends a lot on the server your choose. See the documentation
  that comes with your server.

  If you're concerned about people accessing it directly, you can
  limit access to only the IP of the webserver.


3. OBTAINING AND INSTALLING SQUIRRELMAIL
----------------------------------------

  SquirrelMail is constantly being improved. Therefore you should always
  get the newest version around. Look at http://squirrelmail.org
  to see what it is. If you want to be bleeding edge you might want to
  consider using the latest SVN version (with the latest and most
  fashionable bugs).

a. Download SquirrelMail

  Get SquirrelMail from the address above if you do not have it or are
  uncertain if you have the newest version. Untar (again tar xvfz
  filename.tgz) SquirrelMail in a directory that is readable for your
  webserver.

b. Setting up directories

  SquirrelMail uses two directories to store user configuration and
  attachments that are about to be sent. You might want to have these
  directories outside of your web tree.

  The data directory is used for storing user preferences, like
  signature, name and theme. When unpacking the sources this directory
  is created as data/ in your SquirrelMail directory. This directory
  must be writable by the webserver. If your webserver is running as
  the user "nobody" you can fix this by running:

    $ chown -R nobody:nobody data

  Keep in mind that with different installations, the web server could
  typically run as userid/groupid of nobody/nobody, nobody/nogroup,
  apache/apache or www-data/www-data.  The best way to find out is to read
  the web server's configuration file.

  There also needs to be a directory where attachments are stored
  before they are sent. Since personal mail is stored in this
  directory you might want to be a bit careful about how you set it
  up. It should be owned by another user than the webserver is running
  as (root might be a good choice) and the webserver should have directory
  write and execute permissions, but should not have read
  permissions. You could do this by running these commands (still
  granted that the webserver is running as nobody/nobody):

    $ cd /var/local/squirrelmail/
    $ mkdir attach
    $ chgrp -R nobody attach
    $ chmod 730 attach

  If you trust all the users at your system not to read mail they are
  not supposed to read, you can simply use /tmp as you attachments
  directory.

  If a user is aborting a mail but has uploaded some attachments to it
  the files will be lying around in this directory forever if you do not
  remove them.  To fix this, it is recommended to create a cron job that
  deletes everything in the attachment directory.  Something similar
  to the following will be good enough:

    $ cd /var/local/squirrelmail/attach && rm -f *

  However, this will delete attachments that are currently in use by people
  sending email when the cron job runs.  You can either (1) make sure that
  the cron job runs at an obscure hour and hope that nobody gets upset, or
  (2) you can run a modified version of the commands above.  Check out the
  man pages for other commands such as 'find' or 'tmpreaper'.

  One sample script you could set up that would erase all attachments, but
  wouldn't erase preferences, address books, or the like (just in case your
  attachment directory is the same as your data directory) might look like
  this:

    $ find /var/local/squirrelmail/attach -type f -atime +2 -exec rm {} \;

  Remember to be careful with whatever method you do use, and to test out
  the command before it potentially wipes out everyone's preferences.

c. Setting up SquirrelMail

  There are three ways to configure SquirrelMail.  In the config/ directory,
  there is a perl script called conf.pl that will aid you in the
  configuration process.  This is the recommended way of handling
  the config.

  There's also a plugin called 'administrator' for the webinterface but you'll
  have to be able to at least log in to SquirrelMail first.

  You can also copy the config/config_default.php file to config/config.php
  and edit that manually.

  After you've created a configuration, you can use your webbrowser to
  browse to http://your-squirrelmail-location/src/configtest.php.
  This will perform some basic checks on your configuration to make sure
  everything works like it should.


4. RUNNING SQUIRRELMAIL
-----------------------

  Point your browser at the URL at which SquirrelMail is installed.  A
  possible example of this is:
     http://example.com/squirrelmail

  It should be pretty straight forward to use. Some more documentation
  might show up one day or another.


5. RUSSIAN CHARSETS
-------------------

  For information on how to make SquirrelMail work with Russian
  Apache, see the russian_apache.txt in the doc/ subdirectory.


6. TRANSLATIONS
---------------

  In order to use translated versions of SquirrelMail, you need
  to download and install locale packages that contain translations
  that you want to use with SquirrelMail.

  Locale packages can be downloaded from SquirrelMail SourceForge
  project page.

     http://sourceforge.net/project/showfiles.php?group_id=311&package_id=110388

  Each translation contains an install script that copies the required files
  into their appropriate locations. If you can't run that script, you can
  extract the contents of a translation package into your SquirrelMail
  directory.

  NOTE No.1: *-src.tar.gz, *-src.tar.bz2 and *-src.zip archives do not contain
  compiled translation files. You will need to run the "compilelocales" script
  in order to get all gettext binary translations.

  NOTE No.2: You might need to restart your webserver before using translations.
  If you can't do that, install your translations _before_ you use SquirrelMail.


Насколько я понимаю, все эти муки нужны для установки из исходников. А если установка производилась готовым rpm-пакетом. разве он не должен был прописать всё сам.
Спасибо сказали:
Аватара пользователя
danger08
Сообщения: 715
ОС: Linux (CentOS, Ubuntu)

Re: Как запустить белку

Сообщение danger08 »

Оффтоп, но попробуйте RoundCube Webmail :happy:
В установке он очень простой, правда, не знаю насчёт RPM (ставлю обычно из исходников).
Блогосайт - http://www.fateyev.com
Спасибо сказали:
Аватара пользователя
Bizdelnick
Модератор
Сообщения: 21358
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Как запустить белку

Сообщение Bizdelnick »

paltusssss писал(а):
11.10.2010 17:18
Заглянул в файл /usr/share/doc/squirrelmail/INSTALL

А я бы заглянул в index.html и RPM.readme в первую очередь.
Пишите правильно:
в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик
Спасибо сказали:
paltusssss
Сообщения: 147

Re: Как запустить белку

Сообщение paltusssss »

Bizdelnick писал(а):
12.10.2010 14:13
А я бы заглянул в index.html и RPM.readme в первую очередь.

Хотел найти эти файлы поиском и начал вбивать в командной строке squirr... мне подставилась строка squirrelmail-conf. Я её запустил и попал в:

Код: Выделить всё

 SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
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 off
S   Save data
Q   Quit

Command >>


Получается я случайно запустил conf.pl. Подскажите пожалуйста, что делать дальше, что бы я своими экспериментами ничего не напортил.

P.S. С одним разобрался. Squirrelmail-conf - это мастер по конфигурированию /etc/squirrelmail/config.php, что бы его не нужно было править вручную. Отредактировал 1-й и 10-й пункт, сохранил. Нашёл в директории /var/www/squirrelmail следующие файлы:

Код: Выделить всё

class/      help/     index.php  src/
conf/       images/   locale/    themes/
functions/  include/  plugins/


В браузере вбил http://localhost/squirrelmail
Получил в ответ Access denied per /etc/httpd/conf/webapps.d/squirrelmail.conf
Содержимое файла /etc/httpd/conf/webapps.d/squirrelmail.conf

Код: Выделить всё

# squirrelmail.conf

Alias /squirrelmail /var/www/squirrelmail

<Directory /var/www/squirrelmail>
    Order allow,deny
    Allow from 127.0.0.1
    Deny from all
    ErrorDocument 403 "Access denied per /etc/httpd/conf/webapps.d/squirrelmail.conf"

    php_admin_value session.bug_compat_42 0
    # Otherwise can't send mails
    php_admin_value safe_mode 0
    # Misc
    php_flag register_globals   off
    # Other increased PHP parameters
    php_admin_value memory_limit    64M
    php_admin_value post_max_size   17M
    php_admin_value upload_max_filesize 16M
    php_admin_value max_execution_time 120
</Directory>

Поясните пожалуйста, в чём ошибка. Думаю, что то не хватает в апаче?
Как теперь запустить белку?
Спасибо сказали:
Аватара пользователя
danger08
Сообщения: 715
ОС: Linux (CentOS, Ubuntu)

Re: Как запустить белку

Сообщение danger08 »

paltusssss писал(а):
12.10.2010 18:19
В браузере вбил http://localhost/squirrelmail
Получил в ответ Access denied per /etc/httpd/conf/webapps.d/squirrelmail.conf

Проверьте права доступа к `/etc/httpd/conf/webapps.d/squirrelmail.conf`, он должен быть доступен для чтения пользователю, из-под которого запускается веб-сервер.
Блогосайт - http://www.fateyev.com
Спасибо сказали:
paltusssss
Сообщения: 147

Re: Как запустить белку

Сообщение paltusssss »

danger08 писал(а):
13.10.2010 15:37
Проверьте права доступа к `/etc/httpd/conf/webapps.d/squirrelmail.conf`, он должен быть доступен для чтения пользователю, из-под которого запускается веб-сервер.

# ls -l /etc/httpd/conf/webapps.d/squirrelmail.conf
-rw-r--r-- 1 root root 620 2010-06-21 17:08 /etc/httpd/conf/webapps.d/squirrelmail.conf

У рута чтение и запись. У группы и всех остальных - чтение.

В файле /etc/httpd/conf/webapps.d/squirrelmail.conf закомментировал строку dany from all и запустил
http://localhost/squirrelmail получив наконец то окно для ввода пароля. Но радоваться - рано! Так как ни один зарегистрированный пользователь не может войти в свой почтовый ящик.

Как всё это можно победить?
Спасибо сказали: