Category Archives: Mail

INN 裡 mailpost 需要修正的部份…

Tweet 上個禮拜把 Group.NCTU.edu.tw 遠端升級到 7.4-RELEASE (從 6.4-STABLE),但有人寫信反應,從 Ptt 透過信件貼到板上會失敗,找不到之前 patch 的重點,只好從頭開始一個一個解,總算是解決了: 當信件內沒有 Date header 時,mailpost 會送出錯誤的 Date 欄位。目前的解法是直接不送 Date 欄位。 當同一封信件寄到不同信箱時 Message-ID 會相同,不能直接帶入 newsgroup 中。目前的解法是無視信件內的 Message-ID,自己生一個。 現在這樣應該是正常了…

Posted in BBS, Computer, Mail, Murmuring, NCTU, Network, Programming, Usenet | Tagged , , , , , | Leave a comment

跑兩個不同 Profile 的 Chrome

Tweet 因為 Gmail 沒辦法很方便的切換帳號,所以得想辦法讓 cookie 分開存。 試著找套件來做到這件事情,但都不太好處理… 於是決定跑兩個不同 profile 的 Chrome (這樣 cookie 就會分開存了)。 script 長這樣: #!/bin/sh cd $HOME exec chromium-browser –user-data-dir=.config/chromium-2/ & 留個紀錄起來…

Posted in Browser, Computer, GoogleChrome, Mail, Murmuring, Network, Software, WWW | Tagged , , , , | 6 Comments

Google Apps 的 Uptime 計算方式調整 (對使用者有利的方向)

Tweet Google 改變了 Google Apps 對 Uptime 的計算方式:「Google Apps Removes Scheduled Downtime Clause From SLA; Gmail Had 99% Uptime in 2010」(TC)、「Destination: Dial Tone — Getting Google Apps to 99.99%」(Google 官方新聞稿)。 之前的條款內允許 Google 將「排定的維護停機」排除在 downtime 計算外,現在 Google 決定拿掉這條例外條款。然後在文章下面故意提到 Microsoft 的服務: Comparable … Continue reading

Posted in Cloud, Computer, Mail, Murmuring, Network, WWW | Tagged , , , | Leave a comment

分析 Y Combinator 的 Startup 所使用的服務…

Tweet 在 HN (Hacker News) 上看到的分析資料 (文章是 ReadWriteWeb 的):「The Services Used By Y Combinator Startups [Infographic]」,文章裡面分析了 Y Combinator「旗下」的 startup 所使用的服務。 統計資料在「Y Combinator」這邊,另外有「Quantcast Top 100」的資料也可以看看,這邊就不提 Quantcast Top 100 的情況了。 網站主機的部份,可以看到是 Amazon Web Services 與 Rackspace Cloud 兩家雲端服務最大,如果把同屬於 Rackspace 下的 Slicehost 一起併進去算的話就幾乎相同了。不過自己 … Continue reading

Posted in AWS, Cloud, Computer, DNS, Mail, Murmuring, Network, WWW | Tagged , , , , , , , , | 2 Comments

加拿大的反垃圾郵件法案由 Opt-out 改成 Opt-in

Tweet 在反垃圾郵件法案中提到的 Opt-out 是指「預設寄送,使用者可以選擇退出」,而 Opt-in 則是「預設不可以寄送,必須由使用者選擇加入」。這兩者最大的差異在於,Opt-out 後發信人就會知道這個信箱有人在看信,於是就把名單轉到境外發… 所以加拿大的法律從 Opt-out 改為 Opt-in 是很重要的進展:「Canada has An Opt-in Régime and a new Anti-spam Law」。 隔壁的美國到底要不要改呢…

Posted in Computer, Mail, Murmuring, Network, Political, Spam | Tagged , , , | 1 Comment

Bayesian spam filtering

Tweet 英文版維基百科條目:「Bayesian spam filtering」。 要判斷一個詞 spam 的機率是依照貝式定理: 這之中每個項目都可以先被計算起來,再來是機率的合併: 接下來是罕見字以及其他改善精確度的處理。 其實基本的觀念並不難,當初不知道為什麼一直沒看懂…

Posted in Computer, Mail, Murmuring, Network, Programming, Spam | Tagged , | Leave a comment

在 mutt 裡刪除重複的信件

Tweet 因為 mailing list 之類的東西我還是習慣在 mutt 裡讀 (操作起來比較快),而有時候會把 -announce 與 -users 都丟到同一個檔案裡,所以偶而會在一個檔案裡面有同時寄到多個 mailing list 而重複的信件… 之前是看到的時候就手動砍掉,不過用 Google 找了一下,發現早就有方法可以做了:「Tip: Remove Duplicate Emails with Mutt」。 變化一下就是用 D 然後輸入 ~=,當離開這個信件檔時就會刪除這些重複的信件。等下再來研究要怎麼樣在切換信件檔時自動執行這個命令…

Posted in Computer, Mail, Murmuring, Network, Software | Tagged , , , | Leave a comment

關於重設密碼的步驟

Tweet 這應該有很標準的程序,不過好像還是有很多站沒這樣做… 必要的步驟包括: 如果使用者只記得 username,輸入後告知使用者「已經發送確認信至 username 當初所註冊的信箱」。 如果使用者只記得 e-mail,輸入後告知使用者「已經發送確認信至該 e-mail」,如果該 e-mail 沒有被註冊也不要有不同的訊息,因為如果可以判斷 e-mail 有沒有不同的訊息,可以利用這個功能大致判斷某個人有沒有註冊這個服務。 基本上都要加上 CAPTCHA 以及對 IP rate limit 避免有人利用這個行為惡搞。 要注意的是要透過「確認信」的步驟再改密碼,而不能在要求重設密碼時就馬上把密碼改掉,不然就可以惡搞使用者。

Posted in Computer, Mail, Murmuring, Network, Security | Tagged , | 3 Comments

Amazon Simple Notification Service

Tweet Amazon Web Services 今天推出 Amazon Simple Notification Service (Amazon SNS),看起來比較像是 Simple Queue Service (Amazon SQS) 的變形:「Announcing Amazon Simple Notification Service」。 Amazon SQS 的架構是 poll-based,而 Amazon SNS 是 event-based,而且允許多個訂閱,可以用 HTTP/HTTPS,以及 Email/Email-JSON (這兩個東西…),另外也可以丟到 SQS。 價錢的部份,除了需要流量費用以外 (要注意的是只要 in/out SNS 就要收錢,而非跨出 Region 才收),另外也有 … Continue reading

Posted in AWS, Cloud, Computer, Mail, Murmuring, Network | Leave a comment

Google 對中國政策的重大宣佈

Tweet 三個小時前 (美西時間是 1/12 15:00PM) Google 在官方 blog 上宣佈了「A new approach to China」,內容包括了: 偵測到有大量試著存取 Gmail 的帳戶,被試著存取的帳戶是與人權團體人物有關的。沒有指明是誰發動的,只說明不只 Google 被攻擊。 不打算再繼續過濾 search result,就這點會在接下來幾個禮拜與中國政府商談,是否有辦法在合於中國法令的情況下給予使用者原始 search result。如果不成的話,會考慮關閉 Google.cn,甚至 Google 中國辦公室。(We have decided we are no longer willing to continue censoring our results on Google.cn, … Continue reading

Posted in Computer, Mail, Murmuring, Network, Political, Search Engine, Security, WWW | 4 Comments