如果需要为日历用户设置电子邮件别名,请使用 LDAP mailalternateaddress 属性。LDAP mail 属性用于提供主邮件地址,LDAP mailalternateaddress 属性用于电子邮件别名。这两个属性将把邮件地址映射为用户的日历 ID (calid)。
例如,要为名为 John Smith 且具有以下值的用户添加 mailalternateaddress 属性:
用户 ID (uid) 和 calid:johnsmith
电子邮件地址:john.smith@sesta.com
电子邮件别名的地址:johns@sesta.com 和 jsmith@sesta.com
使用以下 Calendar Server 实用程序命令:
# ./csuser -g John -s Smith -y password -l en -m john.smith@sesta.com \ -c johnsmith create johnsmith # ./csattribute -a mailalternateaddress=johns@sesta.com add johnsmith # ./csattribute -a mailalternateaddress=jsmith@sesta.com add johnsmith |