<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.easytech.hk/web"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>EasyTech blogs</title>
 <link>http://www.easytech.hk/web/blog</link>
 <description></description>
 <language>zh-hant</language>
<item>
 <title>spamtrap</title>
 <link>http://www.easytech.hk/web/blog/20100930/spamtrap</link>
 <description>&lt;p&gt;發送垃圾郵件的人獲取電郵地址的方法大多數是利用 spider 在網頁中摘取或「亂撞」，例如一些常見的英文名: peter, mary, joe 等等。故此一般來說，我都會請客戶建立新 email address 時避免只用英文名，最多連姓氏。舉一個例子: 新同事叫 Chan Tai Man, Tony。Email address 最好改為 &lt;a href=&quot;mailto:tonychantm@yourcompany.com&quot;&gt;tonychantm@yourcompany.com&lt;/a&gt; ，那麼撞到機會就會很低。而 &lt;a href=&quot;mailto:tony@yourcompany.com&quot;&gt;tony@yourcompany.com&lt;/a&gt; 就可以用來做 spamtrap。&lt;/p&gt;
&lt;p&gt;建立 spamtrap 的目的是當垃圾郵件寄給多個收件人時 (multiple recipients) ，假若其中一個是 spamtrap email address，這個電郵就會被丟棄 (Discard)，方法如下:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100930/spamtrap&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100930/spamtrap#comments</comments>
 <category domain="http://www.easytech.hk/web/taxonomy/term/9">antispam</category>
 <category domain="http://www.easytech.hk/web/category/tags/email-server">Email Server</category>
 <category domain="http://www.easytech.hk/web/category/tags/postfix">postfix</category>
 <category domain="http://www.easytech.hk/web/category/tags/%E4%BC%81%E6%A5%AD%E9%9B%BB%E9%83%B5">企業電郵</category>
 <pubDate>Thu, 30 Sep 2010 04:49:02 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">46 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>Postfwd 應用篇 (Selective Greylisting)</title>
 <link>http://www.easytech.hk/web/blog/20100918/postfwd_use_selective_greylisting</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100916/postfwd_installation&quot;&gt;上文&lt;/a&gt;介紹了 Postfwd 的安裝方法。本文就以一個配置例子 (postfwd.cf) 來說明 postfwd 如何應用在 &lt;a href=&quot;http://www.easytech.hk/web/blog/20100915/selective_greylsiting&quot;&gt;selective greylisting&lt;/a&gt;。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100918/postfwd_use_selective_greylisting&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100918/postfwd_use_selective_greylisting#comments</comments>
 <category domain="http://www.easytech.hk/web/taxonomy/term/9">antispam</category>
 <category domain="http://www.easytech.hk/web/category/tags/email-server">Email Server</category>
 <category domain="http://www.easytech.hk/web/category/tags/%E4%BC%81%E6%A5%AD%E9%9B%BB%E9%83%B5">企業電郵</category>
 <pubDate>Sat, 18 Sep 2010 04:01:58 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">45 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>Postfwd 安裝篇</title>
 <link>http://www.easytech.hk/web/blog/20100916/postfwd_installation</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100915/selective_greylsiting&quot;&gt;上文&lt;/a&gt;提到使用選擇性灰名單 (Selective Greylisting) 的其中一個辦法是 Postfwd。現在就讓我先介紹安裝方法，尤其是在 CentOS Linux 上有些程序是要留意的。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;前題&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100916/postfwd_installation&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100916/postfwd_installation#comments</comments>
 <category domain="http://www.easytech.hk/web/taxonomy/term/9">antispam</category>
 <category domain="http://www.easytech.hk/web/category/tags/email-server">Email Server</category>
 <category domain="http://www.easytech.hk/web/category/tags/%E4%BC%81%E6%A5%AD%E9%9B%BB%E9%83%B5">企業電郵</category>
 <pubDate>Thu, 16 Sep 2010 04:20:14 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">44 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>Amazon Linux AMI</title>
 <link>http://www.easytech.hk/web/blog/20100915/amazon_linux_ami</link>
 <description>&lt;p&gt;Amazon EC2 終於出了自家的 &lt;a href=&quot;http://aws.amazon.com/amazon-linux-ami/&quot; target=&quot;_blank&quot;&gt;Linux AMI&lt;/a&gt;。這個 Linux AMI 是根據 CentOS 架構而「創造」出來的，有幾個特點:&lt;/p&gt;
&lt;p&gt;1. 安全性 (Security) 。一向而來，如果在 Amazon 上運行 EC2，我們一向都是使用第三者的 AMI，但這些 AMI 的質素如何，有沒有 verify 過是否沒有 trojan 等的軟件。現在由 Amazon 自己的 AMI 和 yum repository，安全性當然是較好。&lt;/p&gt;
&lt;p&gt;2. 簡潔 (Simplicity)。Amazon 的 Linux AMI 已經將一些不需的 packages (尤其是 cloud computing 環境下)，已經移除下來。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100915/amazon_linux_ami&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100915/amazon_linux_ami#comments</comments>
 <category domain="http://www.easytech.hk/web/category/tags/aws-ec2">aws ec2</category>
 <pubDate>Wed, 15 Sep 2010 09:34:57 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">43 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>Selective Greylisting (選擇性灰名單)</title>
 <link>http://www.easytech.hk/web/blog/20100915/selective_greylsiting</link>
 <description>&lt;p&gt;在眾多對付垃圾郵件技術之中，其中一項最有效的方法是灰名單 (Greylisting)。它的原理是如果對方是第一次寄信到本機，本機就會通知對方稍後再寄來。假若對方是正常的電郵系統，它是會處理尚未寄出的郵件，會再嘗試再寄 (一般最多會試五天)，因為本機已記錄上次來訪的 ip address (正確來說叫 &lt;a href=&quot;http://en.wikipedia.org/wiki/Greylisting&quot; target=&quot;_blank&quot;&gt;triplet&lt;/a&gt;) ，所以第二來信就會收到。而垃圾郵件大部份是經 botnet 寄出，不是一個正常的電郵系統，不會儲存未寄郵件。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100915/selective_greylsiting&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100915/selective_greylsiting#comments</comments>
 <category domain="http://www.easytech.hk/web/taxonomy/term/9">antispam</category>
 <category domain="http://www.easytech.hk/web/category/tags/email-server">Email Server</category>
 <category domain="http://www.easytech.hk/web/category/tags/%E4%BC%81%E6%A5%AD%E9%9B%BB%E9%83%B5">企業電郵</category>
 <pubDate>Wed, 15 Sep 2010 06:10:05 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">42 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>VPS</title>
 <link>http://www.easytech.hk/web/blog/20100914/vps</link>
 <description>&lt;p&gt;作為一個系統管理員 (System Adminitrator) ，是要不斷地試各種的系統和程式不同組合。以前的做法是在實體硬件起一個 Operating System ，再安裝其他要試的軟件。後來再進一步的做法是在&amp;nbsp; Virtual Machine (VM) 上安裝。例如一個 CentOS VM 就可以很容易拷貝出另一 VM ，再試另一軟件組合。但這兩種做法是都不可能使「街外」網絡連接到這些試驗機器。例如要試電郵伺服器 (Email Server)，機器要連上互聯網才可以接收郵件。當然可以做的辦法是在辦公室的 Gateway 開放出來。但這會衍生管理和安全問題。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100914/vps&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100914/vps#comments</comments>
 <category domain="http://www.easytech.hk/web/category/tags/vps">vps</category>
 <pubDate>Tue, 14 Sep 2010 08:18:05 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">41 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>Amazon EC2 Micro Instances</title>
 <link>http://www.easytech.hk/web/blog/20100913/ec2-micro-instance</link>
 <description>&lt;p&gt;上星期尾 Amazon 新增了一個 EC2 的&lt;a href=&quot;http://aws.typepad.com/aws/2010/09/new-amazon-ec2-micro-instances.html&quot; target=&quot;_blank&quot;&gt; Micro Instances 服務&lt;/a&gt;(t1.micro)。主要特點有:&lt;/p&gt;
&lt;p&gt;1. 平。以 Linux Micro Instance 為例，價錢只是美金 $0.02/hour。如果是 Spot Micro Instance，價錢更為平宜，在 Prcing History 看到曾經低至 $0.009/hour。&lt;/p&gt;
&lt;p&gt;2. 較低的 spec。613MB RAM 和一個可偶爾「超頻」的 CPU。&lt;/p&gt;
&lt;p&gt;3. 要由 EBS boot。即你的 AMI 一定要放在較貴的 EBS 內。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100913/ec2-micro-instance&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100913/ec2-micro-instance#comments</comments>
 <category domain="http://www.easytech.hk/web/category/tags/aws-ec2">aws ec2</category>
 <pubDate>Mon, 13 Sep 2010 03:48:04 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">40 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>Email Disclaimer</title>
 <link>http://www.easytech.hk/web/blog/20100907/global_disclaimer</link>
 <description>&lt;p&gt;有客戶要求在所有發出之電郵加上「公司聲明」 Global Email Disclaimer，這在 MailScanner 中是很容易的，只需要在 Sign Clean Messages 這設定改為 yes。有關 global disclaimer 則在這裡設定:&lt;/p&gt;
&lt;p&gt;Inline HTML Signature = %report-dir%/inline.sig.html&lt;br /&gt;Inline Text Signature = %report-dir%/inline.sig.txt&lt;/p&gt;
&lt;p&gt;不過客戶要求只要發出之外部電郵才需要 disclaimer，內部的不需要。這樣便要在 Sign Clean Messages 這設定改為 ruleset。例如 disclaimer.rules 這 ruleset:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100907/global_disclaimer&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100907/global_disclaimer#comments</comments>
 <category domain="http://www.easytech.hk/web/category/tags/mailscanner">mailscanner</category>
 <pubDate>Tue, 07 Sep 2010 08:18:21 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">39 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>CBLLESS  的設定</title>
 <link>http://www.easytech.hk/web/blog/20100902/cblless_setup</link>
 <description>&lt;p&gt;Spamassassin 在原有的 DNSBL lookup 沒有加入&lt;a href=&quot;http://anti-spam.org.cn/&quot; target=&quot;_blank&quot;&gt;中國反垃圾郵件聯盟&lt;/a&gt;所提供的黑名單服務，如果 Spamassassin 要加入這這黑名單 lookup，根據這裡提供的資料，可以在 .cf 檔內加入:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.easytech.hk/web/blog/20100902/cblless_setup&quot; target=&quot;_blank&quot;&gt;閱讀全文&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.easytech.hk/web/blog/20100902/cblless_setup#comments</comments>
 <category domain="http://www.easytech.hk/web/taxonomy/term/9">antispam</category>
 <category domain="http://www.easytech.hk/web/taxonomy/term/8">spamassassin</category>
 <pubDate>Thu, 02 Sep 2010 09:34:45 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">38 at http://www.easytech.hk/web</guid>
</item>
<item>
 <title>MailScanner FileType Check</title>
 <link>http://www.easytech.hk/web/blog/20100901/mailscanner_filetype_check</link>
 <description>&lt;p&gt;MailScanner 除了使用 antivirus engine 來檢查郵件 attachment 有沒有病毒外，也會根據 FileType Check 來檢查 attachment 是那類檔案，它是使用 file command 來測試。但假如 attachment 是一個中文(其它語言也有可能出現)文字檔，file command 的magic string test 可能會誤判附件為 DOS/EXE 檔。故提議更改 MailScanner.conf 內 File Command 為&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;File Command = /usr/bin/file -i&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</description>
 <comments>http://www.easytech.hk/web/blog/20100901/mailscanner_filetype_check#comments</comments>
 <category domain="http://www.easytech.hk/web/category/tags/mailscanner">mailscanner</category>
 <pubDate>Wed, 01 Sep 2010 04:53:31 +0000</pubDate>
 <dc:creator>barry</dc:creator>
 <guid isPermaLink="false">37 at http://www.easytech.hk/web</guid>
</item>
</channel>
</rss>
