recipient_bcc_maps 可以監察某收件者信, 寄給指定 Email
sender_bcc_maps 可以監察某寄件者信, 寄給指定 Email
在 main.cf 加入
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
sender_bcc_maps = hash:/etc/postfix/sender_bcc
設定檔 recipient_bcc, sender_bcc 的格式是
第一個欄位是被監察者的 Email, 第二個欄位是轉寄的 Email,
若要監察某人進出的信, 兩個檔案都要加.
設好後
postmap recipient_bcc_maps sender_bcc_maps
postfix reload
若是要監察所有進出的信, 用 always_bcc
Leave a comment