PHP-FIG 與 PSR – PHP Coding Standard

受到近年 Ruby 等新語言急起直追影響, PHP 世界的開發者終於提起勁來,
想要解決 PHP 標準過於鬆散,開發者之間各自為政無法合作的局面。

PHP-FIG 在 2009 年 php|tek 開發者大會中成立,旨在制定一些編程標準,
讓不同人寫的 Framework 或 Library 能互相組合使用,
從而避免 “Reinvent the wheel” 浪費開發時間。

未知道它們是甚麼前 先解釋這兩個奇怪的縮寫

PHP-FIG = PHP Framework Interoperability Group
PSR = PHP Specification Request

Continue reading “PHP-FIG 與 PSR – PHP Coding Standard”

Ubuntu Postfix Mail Server 設定筆記 (五) MUA (Roundcube Webmail 及 Sieve 整合)

然之前已設定好 SMTP 、IMAP 及 POP3,已經可以使用 Thunderbird 等收發郵件。
但 Webmail 有時候還是比較方便。另外如果有類似 Gmail 的 Filter 功能就更好了。

還好現在在很多 FOSS 的 Webmail Client,
例如 RoundCube 和 OpenWebMail 等,原理都是用 IMAP/POP3 登入本機伺服器。

RoundCube 的介面比較接近現代網頁,就用它吧!
Sieve 是一種 “mail filtering language”,dovecot 也有 dovecot-sieve 提供其 implementation。
managesieved 貼在 dovecot 下提供通訊介面以管理每個 Mail User 的 Sieve 設定。

本文會安裝這三個 Package 並把它們整合在一起。

2017-04-26 更新: 更新文章格式

Continue reading “Ubuntu Postfix Mail Server 設定筆記 (五) MUA (Roundcube Webmail 及 Sieve 整合)”