Sun Java System Messaging Server 6 2005Q4 管理指南

重定郵件大小或收件者超出限制的郵件之目標

關鍵字:alternatechannelalternateblocklimitalternatelinelimitalternaterecipientlimit

MTA 能夠將收件者數量、郵件大小或郵件行數超過指定限制的郵件之目標重定至替代目標通道。這項功能透過一組通道關鍵字來實作,它們是:alternatechannelalternateblocklimitalternatelinelimitalternaterecipientlimit,這些關鍵字可置於任何目標通道上。alternatechannel 關鍵字使用單一引數,用於指定要使用的替代通道之名稱。其他每個關鍵字都需要一個整數引數,用於指定對應的臨界值。超過任何臨界值的郵件將在替代通道 (而非原始目標通道) 上形成佇列。

在以下通道區塊範例中,超過 5000 個區塊的大型郵件會從 tcp_big 通道而非 tcp_local 通道發往網際網路:


tcp_local smtp ...other keywords... alternatechannel tcp_big alternateblocklimit 5
tcp-daemon


tcp_big smtp ...rest of keywords...
tcp-big-daemon

以下是 alternate* 通道關鍵字的使用範例: