Files
webmin/postfix/help/virtual.zh_TW.auto.html
2020-04-23 18:10:56 +03:00

1 line
2.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<header>虛擬域</header>可選的虛擬表為本地和非本地收件人或域指定重定向。重定向由cleanup8守護程序使用。重定向是遞歸的。 <p>虛擬重定向僅應用於收件人的信封地址並且不影響郵件頭。如果願意可以考慮使用Sendmail規則集<tt>S0</tt><a href=canonical>通常</a> ,使用<a href=canonical>規範映射</a>來重寫標頭和信封地址。 <p>對虛擬域的典型支持如下所示: <ul><li> <b><tt>virtual.domain</tt></b>映射到... <b><tt>anything</tt></b> (右側內容無關緊要) <li> <b><tt>user1@virtual.domain</tt></b>映射到... <b><tt>address1</tt></b> <li> <b><tt>user2@virtual.domain</tt></b>映射到...地址2 <b><tt>address2, address3</tt></b> </ul>這樣SMTP服務器接收郵件<tt>virtual.domain</tt>並拒絕郵件<tt>unknown@virtual.domain</tt>無法送達。 <p>虛擬表的格式如下,按此處列出的順序嘗試映射: <ul><li> <b><tt>user@domain</tt></b>映射到... <b><tt>address, address, ...</tt></b> <tt>user@domain</tt>郵件重定向到<tt>address</tt> 。此形式具有最高優先級。 <li> <b><tt>user</tt></b>映射到... <b><tt>address, address, ...</tt></b> :當站點在<tt>$mydestination</tt>列出或在<tt>$inet_interfaces</tt>列出時當site等於<tt>$myorigin</tt>時, <tt>user@site</tt>郵件將重定向到<tt>address</tt> 。此功能與<a href=aliases>本地別名</a>數據庫的功能重疊。區別在於虛擬映射可以應用於非本地地址。 <li> <b><tt>@domain</tt></b>映射到... <b><tt>address, address, ...</tt></b> <tt>domain</tt>任何用戶的郵件都重定向到<tt>address</tt> 。這種形式的優先級最低。 </ul>在上述所有形式中當address的形式為<tt>@otherdomain</tt> ,結果是<tt>@otherdomain</tt>中的同一用戶。這僅適用於擴展中的第一個地址。 <p>地址擴展當搜索失敗並且地址localpart包含可選的收件人定界符例如 <tt>user+foo@domain</tt> )時,將重複搜索未擴展的地址(例如, <tt>user@domain</tt> ),並將不匹配的地址擴展傳播到擴張的結果。匹配順序為: <tt>user+foo@domain</tt> <tt>user@domain</tt> <tt>user+foo</tt> <tt>user</tt><tt>@domain</tt><hr>