使用Sendmail通配符收据/ etc / mail / virtusertable

我试图在SendMail中定义通配符收据,从我在这个文档中看到的http://www.sendmail.org/m4/features.html#virtusertable我明白,这将是一个正确的语法内/ etc / mail / virtusertable

old+*@domain1.com [email protected] [email protected] [email protected] 

我期望第一条规则匹配像[email protected]收据,但它不。 第二个规则工作正常,所以我假设localdomains和类似的东西都configuration正确,但如何匹配通配符像第一条规则? 发送到[email protected]将返回“not such user”错误。

谢谢。

我期望第一条规则匹配像[email protected]收据,但它不

是。 它不是, 也不是 。 +符号在virtusertable中有特殊的含义

但如何匹配像第一条规则的通配符?

任何join的地址,其中+是localpart的一部分将被匹配

如果要将old*@domain1.com转换为old+*@domain1.com(稍后在virtuser中进行处理),则可以使用LOCAL_RULE_0中的正则expression式来重写Just tonote – 使用sendmail -d60.5 -bv old123重新编译虚拟引擎的debugging序列@ domain1.com