主题: 邮件别名的的地址无法发送邮件
因为自己配置出错,现在经过修复,已经可以发送和接收邮件了,但别名的邮件地址无法发送,发送时报
550 5.1.1 recipient address
rejected:user unknow in virtual mailbox table
我的iredmail环境是 iredmail+ad
邮件别名地址,我是在AD里添加通讯组并设置邮件地址,统一放置在mailgroup的ou组织单元里
我检查了我ldap_virtual_alias_maps.cf
server_host = x.x.x.x
server_port = 389
version = 3
bind = yes
start_tls = no
#bind_dn = cn=vmail,dc=x,dc=x
#bind_pw = NPg2o2HVcMpw7TlUjzdpJJV4i85dve
bind_dn = account
bind_pw = xxyyx@$*FD5546&*&^%
search_base = ou=mailgroup,ou=x,dc=x,dc=cn
scope = sub
query_filter = (&(mail=%s)(accountStatus=active)(enabledService=mail)(enabledService=deliver)(|(objectClass=mailList)(objectClass=mailAlias)(&(objectClass=mailUser)(enabledServ
ice=forward))))
result_attribute= mailForwardingAddress
debuglevel = 0
日志的报错信息是
Mar 30 10:07:56 mailsrv postfix/smtpd[32006]: NOQUEUE: reject: RCPT from unknown[x]: 550 5.1.1 <x@x>: Recipient address rejected: User unknown in virtual mailbox table; from=<x@x> to=<ray_xiao@x> proto=ESMTP helo=<MICROSOF-2D6DFB>