I've set up OpenDKIM for a virtual domain. I've created the key using the selector as default. I've got other virtual domains that use s=mail. After sending an email using the server as SMTP I see in the logs the following line:
I thought that the selector added to the header was added based on the signing table. Where is it set?
Here are my OpenDKIM configuration files:
opendkim.keytable
opendkim.signingtable
Here's a DNS query:
Jun 30 16:39:34 acme opendkim[3069]: 1AJ8C151533: DKIM-Signature field added (s=mail, d=myvirtualdomain.xyz)
I thought that the selector added to the header was added based on the signing table. Where is it set?
Here are my OpenDKIM configuration files:
opendkim.keytable
default._domainkey.myvirtualdomain.xyz myvirtualdomain.xyz:mail:/usr/local/etc/mail/keys/myvirtualdomain.xyz/default.private
opendkim.signingtable
*@myvirtualdomain.xyz default._domainkey.myvirtualdomain.xyz
Here's a DNS query:
Code:
drill default._domainkey.myvirtualdomain.xyz TXT
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 59336
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; default._domainkey.myvirtualdomain.xyz. IN TXT
;; ANSWER SECTION:
default._domainkey.myvirtualdomain.xyz. 86400 IN TXT "v=DKIM1; k=rsa; p=xxxxxxxxxxxxxxxxxxxxxxxxxxx"
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 131 msec
;; SERVER: 207.192.69.5
;; WHEN: Thu Jun 30 20:00:39 2022
;; MSG SIZE rcvd: 483