Login
User:       Password:    
portal

The knowledgebase is organized into different categories. Choose a category for a list of articles or search the knowledgebase for articles related to your question.

Search Knowledgebase



Deleting an Email domain in Elastix

« Back

SYMPTOMS
  • Email domain cannot be deleted
  • Error message: failed to login to IMAP


SOLUTION
You may also find messages in /var/log/maillog like:
  • badlogin: localhost.localdomain [127.0.0.1] plaintext cyrus@localdomain SASL(-13): user not found: checkpass failed
  • badlogin: localhost [127.0.0.1] plaintext cyrus SASL(-13): authentication failure: checkpass failed

The following steps will address the issues presented by the default Elastix configuration so that Email domain deletion is functional. While not all steps may be required for a particular server, they will all be presented.
Customize these commands by entering your own information in the input fields.

Password:
sed -i '/^127.0.0.1/s/^.*$/127.0.0.1 localhost localhost.localdomain/' /etc/hosts

sed -i '/^sasl_pwcheck_method/s/auxprop/saslauthd/' /etc/imapd.conf

sed -i '/^sasl_auxprop_plugin/s/^/#/' /etc/imapd.conf

/etc/init.d/cyrus-imapd restart

sed -i 's/127.0.0.1/localhost/' /var/www/html/configs/email.conf.php

echo PASSWORD | /usr/sbin/saslpasswd2 -c cyrus -u localhost -p

sed -i '/^cyrususerpwd/s/=.*$/=PASSWORD/' /etc/elastix.conf

PASS="PASSWORD"

( echo "${PASS}"; sleep 2; echo "${PASS}" ) | passwd cyrus
You should now be able to perform a test login for the 'cyrus' user:
cyradm -u cyrus localhost
Enter your password (PASSWORD) at the prompt. If you get a login prompt, then authentication was successful. Type "exit" to exit the login shell. Now you should be able to delete the Email domain in the Elastix GUI.


« Back

Also Read

Powered by WHMCompleteSolution

Monday, 5th December 2022

IP: 3.225.221.130

Client Login

Email

Password

Remember Me

Forgotten Your Password?
Request a Password Reset


Webhosting Panel

>>> Panel Login

>>> Webmail

Search Knowledgebase