ZhangHuangbin wrote:acomav wrote:Now, where do I start the troubleshooting process because shadowAddress is not being added as it should be?
Wait a sec. So iRedAdmin-Pro didn't add it for you? This might be a bug of iRedAdmin-Pro.
Could you please show me step-by-step instruction to reproduce it?
Hi,
Sorry for the delay. I had a long weekend.
Yes, that is exactly what I am saying. Here is some information with LDIF dumps.
1. I create a new domain: domain1.com
LDIF
dn: domainName=domain1.com,o=domains,dc=iredmail,dc=xxxx,dc=com,dc=au
accountSetting: defaultLanguage:en_US
accountSetting: defaultQuota:1024
accountStatus: active
domainCurrentAliasNumber: 0
domainCurrentListNumber: 0
domainCurrentUserNumber: 0
domainName: domain1.com
enabledService: mail
mtaTransport: dovecot
objectClass: mailDomain
I then add a user to this domain: mailbox1
LDIF:
dn: mail=mailbox1@domain1.com,ou=Users,domainName=domain1.com,o=domains,dc=iredmail,dc=xxxxx,dc=com,dc=au
accountStatus: active
amavisLocal: TRUE
cn: Mailbox test
enabledService: internal
enabledService: doveadm
enabledService: lib-storage
enabledService: indexer-worker
enabledService: mail
enabledService: dsync
enabledService: smtp
enabledService: smtpsecured
enabledService: pop3
enabledService: pop3secured
enabledService: imap
enabledService: imapsecured
enabledService: deliver
enabledService: lda
enabledService: lmtp
enabledService: recipientbcc
enabledService: senderbcc
enabledService: managesieve
enabledService: managesievesecured
enabledService: sieve
enabledService: sievesecured
enabledService: forward
enabledService: shadowaddress
enabledService: displayedInGlobalAddressBook
enabledService: sogo
homeDirectory: /var/vmail/vmail1/domain1.com/m/a/i/mailbox1-2017.07.25.08.20.57/
mail: mailbox1@domain1.com
mailMessageStore: vmail1/domain1.com/m/a/i/mailbox1-2017.07.25.08.20.57/
mailQuota: 1073741824
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
preferredLanguage: en_US
shadowLastChange: 0
sn: mailbox1
storageBaseDirectory: /var/vmail
uid: mailbox1
userPassword: {SSHA}x3G4NLa4fIY2r1Hxxxxxxxxx4EEKphF7PFfHA==
I then enable and add a new domain alias: domainalias.com
I add this the standard way in the GUI. Screenshot attached.
Here is the LDIF dump of domain1.com afterwards.
dn: domainName=domain1.com,o=domains,dc=iredmail,dc=onthenet,dc=com,dc=au
accountSetting: defaultLanguage:en_US
accountSetting: defaultQuota:1024
accountStatus: active
domainAliasName: domainalias.com
domainCurrentAliasNumber: 0
domainCurrentListNumber: 0
domainCurrentUserNumber: 0
domainName: domain1.com
enabledService: mail
enabledService: domainalias
mtaTransport: dovecot
objectClass: mailDomain
That all looks good.
Now, here is the LDIF dump for the user: mailbox1.
dn: mail=mailbox1@domain1.com,ou=Users,domainName=domain1.com,o=domains,dc=iredmail,dc=xxxx,dc=com,dc=au
accountStatus: active
amavisLocal: TRUE
cn: Mailbox test
enabledService: internal
enabledService: doveadm
enabledService: lib-storage
enabledService: indexer-worker
enabledService: mail
enabledService: dsync
enabledService: smtp
enabledService: smtpsecured
enabledService: pop3
enabledService: pop3secured
enabledService: imap
enabledService: imapsecured
enabledService: deliver
enabledService: lda
enabledService: lmtp
enabledService: recipientbcc
enabledService: senderbcc
enabledService: managesieve
enabledService: managesievesecured
enabledService: sieve
enabledService: sievesecured
enabledService: forward
enabledService: shadowaddress
enabledService: displayedInGlobalAddressBook
enabledService: sogo
homeDirectory: /var/vmail/vmail1/domain1.com/m/a/i/mailbox1-2017.07.25.08.20.57/
mail: mailbox1@domain1.com
mailMessageStore: vmail1/domain1.com/m/a/i/mailbox1-2017.07.25.08.20.57/
mailQuota: 1073741824
objectClass: inetOrgPerson
objectClass: mailUser
objectClass: shadowAccount
objectClass: amavisAccount
preferredLanguage: en_US
shadowLastChange: 0
sn: mailbox1
storageBaseDirectory: /var/vmail
uid: mailbox1
userPassword: {SSHA}x3G4NLa4fIY2r1H3xxxxxxEKphF7PFfHA==
Notice there is no "shadowAddress" attribute?
Please let me know what other information I may provide to help troubleshoot.
Kind Regards.
Post's attachmentsScreen Shot 2017-07-25 at 8.22.23 am.png
Screen Shot 2017-07-25 at 8.22.23 am.png 56.03 kb, file has never been downloaded.
You don't have the permssions to download the attachments of this post.