顯示頁面舊版反向連結Fold/unfold all回到頁頂 本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。 ====== 安裝設定 WebMail (squirrelmail) ====== ===== - 下載安裝 SquirrelMail ===== <cli> yum install squirrelmail cd /usr/share/squirrelmail/config ./conf.pl </cli> ===== - 手動更改參數檔 ===== <cli> vi /etc/squirrelmail/config.php </cli> <file> : $squirrelmail_default_language = 'zh_TW'; : </file> ===== - 安裝提供使用者自行更改密碼的 plugins ===== <note> 先參考 **[[tech:poppassd]]** </note> <cli> cd /usr/share/squirrelmail/plugins wget http://www.squirrelmail.org/plugins/change_pass-2.7a-1.4.x.tar.gz tar -zxvf change_pass-2.7a-1.4.x.tar.gz cd /usr/share/squirrelmail/config ./conf.pl # 選 8. Plugins -> 將 Available Plugins: 內的 change_pass 加入模組 -> 選 S 儲存設定 -> 選 Q 後離開 </cli> ===== - 設定 apache 定義檔 ===== <cli> vi /etc/httpd/conf.d/squirrelmail.conf </cli> <file> : Alias /webmail /usr/share/squirrelmail </file> <cli> service httpd restart </cli> <note> * 如果只要設定特定 IP 可以存取 webmail 就在這個 squirrelmail.conf 設定檔內增加以下的限制 <file> : <Location /webmail> order deny,allow Deny from all Allow from 127.0.0.1 Allow from 192.168.0 </Location> </file> * 如果不希望自動轉至 https 協定, 可以在這個 squirrelmail.conf 設定檔內更改為以下的設定 <file> : # this section makes squirrelmail use https connections only, for this you # need to have mod_ssl installed. If you want to use unsecure http # connections, just remove this section: <Directory /usr/share/squirrelmail> RewriteEngine on # RewriteCond %{HTTPS} !=on # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R] </Directory> : </file> </note> ===== 參考網頁 ===== * [[http://kalug.linux.org.tw/~lloyd/LLoyd_Hand_Book/book/squirrelmail-webmail-config.html|LLoyd Huang Hand Book Squirrelmail webmail 安裝設定]] * http://squirrelmail.org/wiki/UsingSSL {{tag>mail squirrelmail 安裝}} tech/mail/squirrelmail.txt 上一次變更: 2021/01/16 14:38由 jonathan