Ispmanager 6 business documentation

Issues with mail


Cannot create a mailbox

In the log file you can see the following error:

'Try to use Email password management interface before it was created' in func 'email::PasswdInterface* const email::pwd()'

This error can occur if the configuration file doesn't contain the directive EmailAuth.


Message with DKIM does not pass validation

In the message headers:

dkim=invalid reason=pubkey_syntax

The problem is that on CentOS, DKIM does not generate the key correctly - extra brackets and spaces are generated.

To solve the problem you need to:

  1. Fix the TXT entry for the domain.
  2. Fix the record in the /etc/opendkim/keys/test.dom.txt file.
  3. Bring everything to the following format:
    cat /etc/opendkim/keys/
    dkim._domainkey IN  TXT "v=DKIM1; k=rsa; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3bFrhfb1ofI3Ix13094HuTPz91i81MHnAqjPbb1boig17/AViH2tWBpOULVK2W5+WYpZEE4Z/x7H4yxIP7B7i7l8LrjXgKXLVtU9dbmjXn4PyVrlyM8E5azDLhArARa+i5Lrtv34waixnO6s9xRgqLeplMfz+r7UmzV3UP52XzQIDAQAB"; ----- DKIM key dkim for