SquirrelMail 安裝與設定 plugin

  • 找尋與下載 plugin - http://squirrelmail.org/plugins.php
  • 將 plugin 檔案下載到 /usr/share/squirrelmail/plugins
  • 依據每個 plugin 的說明設定該 plugin 相關 config 檔案 Exp. config.php
  • 以下是啟用 filter plugin 的範例
    • 使用 root 進入設定功能
      cd /usr/share/squirrelmail/config/
      ./conf.pl
    • 選擇設定 8. Plugins
      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 >> 8
    • 選擇啟用 14. filters Plugin
      SquirrelMail Configuration : Read: config.php (1.4.0)
      ---------------------------------------------------------
      Plugins
        Installed Plugins
          1. delete_move_next
          2. squirrelspell
          3. newmail
      
        Available Plugins:
          4. message_details
          5. bug_report
          6. listcommands
          7. sent_subfolders
          8. spamcop
          9. calendar
          10. fortune
          11. translate
          12. info
          13. abook_take
          14. filters
          15. administrator
          16. mail_fetch
      
      R   Return to Main Menu
      C   Turn color off
      S   Save data
      Q   Quit
      
      Command >> 14
    • 儲存設定檔
      SquirrelMail Configuration : Read: config.php (1.4.0)
      ---------------------------------------------------------
      Plugins
        Installed Plugins
          1. delete_move_next
          2. squirrelspell
          3. newmail
          4. filters
      
        Available Plugins:
          5. message_details
          6. bug_report
          7. listcommands
          8. sent_subfolders
          9. spamcop
          10. calendar
          11. fortune
          12. translate
          13. info
          14. abook_take
          15. administrator
          16. mail_fetch
      
      R   Return to Main Menu
      C   Turn color off
      S   Save data
      Q   Quit
      
      Command >> S
      
      
      Data saved in config.php
      Press enter to continue...
    • 離開設定功能
      SquirrelMail Configuration : Read: config.php (1.4.0)
      ---------------------------------------------------------
      Plugins
        Installed Plugins
          1. delete_move_next
          2. squirrelspell
          3. newmail
          4. filters
      
        Available Plugins:
          5. message_details
          6. bug_report
          7. listcommands
          8. sent_subfolders
          9. spamcop
          10. calendar
          11. fortune
          12. translate
          13. info
          14. abook_take
          15. administrator
          16. mail_fetch
      
      R   Return to Main Menu
      C   Turn color off
      S   Save data
      Q   Quit
      
      Command >> Q
      
      
      Exiting conf.pl.
      You might want to test your configuration by browsing to
      http://your-squirrelmail-location/src/configtest.php
      Happy SquirrelMailing!
    • 這樣用戶透過網頁就可出現設定郵件過濾功能

  • tech/mail/squirrelmail_plugin.txt
  • 上一次變更: 2013/03/26 16:23
  • jonathan