postfix canonical

| | Comments (0)

這個表格重寫 user@somesite 成 other@othesite

在 main.cf 加入 canonical_maps = hash:/etc/postfix/canonical

例一:將 alias name 重寫成 canonical name
test@mail.teco-ia.com.tw test@teco-ia.com.tw
(From: To: 均會重寫)
例二: 當成 forward 使用
test other@othesite

postmap /etc/postfix/canonical 更新 canonical.db
postfix reload 後生效

ref: http://www.laushu.idv.tw/apple/teach/mail_server/postfix_b.html

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on May 3, 2004 9:34 PM.

豆漿Linux was the previous entry in this blog.

Virtual PC is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.