Jump to: navigation, search
MithiWiki Home > ConnectXf Home > ConnectXf Administration > Configuration > A particular user is not able to send mail or receive mail


Troubleshooting Icon.png
Troubleshooting
Product ConnectXf
Version All
Applies to Administrators
Level Advanced




A particular user is not able to send mail or receive mail

Symptoms

  • Normal mail flow is working, except for a particular user who cannot send or receive mail from anybody
  • Mail sent to this paritcular user, bounce to the receiver with the message "Mailaddress administratively disabled"
  • Sometimes it is observed that this particular affected user is a newly created user.

Diagnosis

  • Checked the '/var/log/messages' log file, to see what are the reported errors by the MTA
 Jan 17 11:23:38 myDomRelayServer smtpd: 1326779618.665546 qmail-smtpd 30072: mail from: jim@mydomain.com
 Jan 17 11:23:38 myDomRelayServer smtpd: 1326779618.668854 qmail-smtpd 30072: message denied because: Mailaddress is administratively disabled. (#5.2.1)
 Jan 17 11:23:39 myDomRelayServer smtpd: 1326779619.610578 qmail-smtpd 30072: mail from:
 Jan 17 11:23:39 myDomRelayServer smtpd: 1326779619.610617 qmail-smtpd 30072: rcpt to: jim@mydomain.com
 Jan 17 11:23:39 myDomRelayServer smtpd: 1326779619.613934 qmail-smtpd 30072: message denied because of recipient verify
 Jan 17 11:23:39 myDomRelayServer smtpd: 1326779619.613971 qmail-smtpd 30072: message denied because: Mailaddress is administratively disabled. (#5.2.1)

  • Confirm if the user is present and the account status is enabled

 [sushil@myDomRelayServer ~]$ sudo /mithi/mcs/bin/getuserproperties.sh --user jim --domain mydomain.com --output mail**accountstatus
 Result=SUCCESS 
 Message=getuserproperties completed successfully

 SUCCESSFUL Operations :
 Domain||User||E-mail id (mail)||Account status (accountstatus)||

 mydomain.com||jim||jim@mydomain.com||enabled||

  • Confirm whether the user attribute structure is properly constructed in LDAP. Check the CD node first (cd-Corporate Directory).
 [sushil@myDomRelayServer ~]$ ldapsearch -LLL -s sub -x -D "cn=manager,dc=connectserver" -w "<Admin password>" -b "o=cd,dc=connectserver" "(mail=jim@mydomain.com)"
 Should give an output like below:
 dn: cn=<unique user id>,ou=users,cn=<unique domain id>,ou=domains,ou=Enterprise,o=cd,dc=connectserver
 containerType: cd
 mithiParentName: mydomain.com
 objectClass: top
 objectClass: person

  • Check the entries in the MS node in LDAP (MS-Mail server)
 [sushil@myDomRelayServer ~]$ ldapsearch -LLL -s sub -x -D "cn=manager,dc=connectserver" -w "<Admin password>" -b "o=ms,dc=connectserver" "(mail=jim@mydomain.com)"
 [sushil@myDomRelayServer ~]$

Cause

  • This could be caused by an error in the user addition, due to which the structures in LDAP were not created completely.
  • Alternatively at some point, due to some corruption or human error, the entries from the MS node were deleted.

Resolution

The user MS node structure would have to be manually created in LDAP. Follow the steps given below to achieve this.

  • Create a sample ldif file using any other working user id

 ldapsearch -LLL -s sub -x -D "cn=manager,dc=connectserver" -w "<Admin password>" -b "o=ms,dc=connectserver" "(mail=amy@mydomain.com)" > XXX.ldif

The ldif file would look like this

  • Open the XXX.ldif file and change the name and password of user according to CD node info.


  • Add the user data into the MS node using below command.
ldapadd -xv -D "cn=Manager,dc=connectserver" -w "<Admin password>" -f XXX.ldif
  • Check the user is added in MS node.

 ldapsearch -LLL -s sub -x -D "cn=manager,dc=connectserver" -w "<Admin password>" -b "o=ms,dc=connectserver" "(mail=jim@mydomain.com)"
 Should provide some output

  • Regen the user properties
 /mithi/mcs/bin/regenuserproperties.sh --user jim --domain mydomain.com --properties messagestore**accountstatus**authserver**mithialias**maildeliverycommand**mailstorequotasize**mailstorequotapolicy