TXT DKIM record

Discussion in 'ISPConfig 3 Priority Support' started by francoisPE, Sep 22, 2021.

  1. francoisPE

    francoisPE Active Member HowtoForge Supporter

    Hello,
    I have ispc 3.2.6 on ubuntu20.04 server.
    I face a strange situation.
    I have an API script to set DNS TXT record (DKIM)
    it tested it and it worked.
    I run my script for a new domain.
    When calling API with dns_txt_get function I obtain
    Code:
       [123] => Array
            (
                [id] => 139
                [sys_userid] => 2
                [sys_groupid] => 3
                [sys_perm_user] => riud
                [sys_perm_group] => riud
                [sys_perm_other] =>
                [server_id] => 4
                [zone] => 7
                [name] => xxx._domainkey.xxx.com.
                [type] => TXT
                [data] => v=DKIM1; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0cx60b42PO2g   shorten                   
                [aux] => 0
                [ttl] => 3600
                [active] => Y
                [stamp] => 2021-09-21 14:07:08
                [serial] => 0
            )
    
    I review dbispconfig dns_rr table and see same record...
    But, /etc/bind/pri.xxx does not contain any TXT DKIM record... and mxtoolbox on line tool told me there is no DKIM for my domain !

    I tried to find out a log where I can see an error... I found nothing.

    Can you help me where to look in log... ?
    I tried
    Code:
    grep name /var/log/syslog
    grep mydomainname /var/log/syslog
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. francoisPE

    francoisPE Active Member HowtoForge Supporter

    I find out my mistake.
    I sent same server_id for email and DNS.
    So, I changed :
    table dns_rr => server_id = DNS server id
    table mail_user => server_id = POSTFIX/DOVECOT server id
    Could you please confirm I am correct for table mail_user ?
     
  4. francoisPE

    francoisPE Active Member HowtoForge Supporter

    I saw strange values for uid/gid in mail_user table.
    uid = -1, gid = -1
    Is that correct ?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    That's ok.
     

Share This Page