Dkim 2048 key added but another new issue duplicate headers
The DKIM signature of your message is:
v=1;
a=rsa-sha256;
c=relaxed/relaxed;
d=bolthires.com;
s=default;
t=1749101273;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:to:to:cc:mime-version:mime-version:content-type:content-type:content-transfer-encoding:content-transfer-encoding;
bh=l+zqqCaCeZL0FleAxHGVwhLGHMDcBTXkSA5KY/LPeJw=;
b=eznloAerOL1XPvkV+j7K9YXm6Vxj7bfkuRZRm4k7xrRkLAzfo+wIFL5s48ikZHup7zPRPngEOyRAuXqHGF4UcZrij7vVWD5iwmzYDR4gpQsStBZdHdbhQvj8iX1WAOAkLqRv7i7PAbFMzeWPQed63mKGcSKCUCYiavtcvTgPXf5vh3EF+3qldBrdnLcU3RW5lNaMTyl5CycEZctm2wekyhB9oSqfbSEu/Cpc8BExZOSwdZ2FKB5UEPgBb+f8Z5iWHexqSZsLzzu5sJCWUFgE+2Dp04NLvBvrtlxLjZ0JvbInDqi0BfG4hiOOMnnM0hgWMmH0HYxBApuUmRLprZkYxw==
Your public key is:
"v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkMT/SsSAEo64HcbeLrQs9IoPAbrpI7CT9nBKRayVIYJMO0aT9HOJUr5GrpkIYl3vwb0g3RE9l7HFwbQMDRczgnydzo/ZtRibklItRP+6QOhHu8iQmWz8cFS8lK4/LOa0TAvkGn94jT0xqmR7Y/jSCBIgxGhYrSLPdfGz8MDVY9XT0b2Pl0WmRK011a0Tm7MZoLKuYjAmbLrNRj19I+k5XBLzwWAKpB3hhLzTC8mWagNPnOgDkjzqkkDtusRp6DOW9iAAUNwzsXWTAAr8CMuq/ZM6NNIWxuGW25en7d6ZHcj8DCFTl0YfvQcfv1nNe3rH35nKKEZ/8kX2yj9+mP/vUwIDAQAB" Key length: 2048bits
Your DKIM signature is not valid
h:from:from
Yes, I've noticed this too. However, it's currently unclear whether this directly impacts email deliverability rates. The root cause is still under investigation.
due to this dkim failed getting in gmail , so sort out this 2048 key and duplicate from in header,
i tried with cursor for this issue
// Build email message with headers headerString := fmt.Sprintf("From: %s\r\n", from) + fmt.Sprintf("To: %s\r\n", strings.Join(recipients, ",")) + fmt.Sprintf("Subject: %s\r\n", message.MailTitle()) + "MIME-Version: 1.0\r\n" + "Content-Transfer-Encoding: quoted-printable\r\n" + "X-Mailer: BillionMail\r\n" + message.MailHeader() + "\r\n" + message.MailText() + "\r\n"
replaced with
// Filter out standard headers to avoid duplication standardHeaders := map[string]struct{}{ "From": {}, "To": {}, "Subject": {}, "MIME-Version": {}, "Content-Transfer-Encoding": {}, "Content-Type": {}, } filteredHeaders := make(map[string]string) for k, v := range message.Headers { if _, isStandard := standardHeaders[k]; !isStandard { filteredHeaders[k] = v } }
// Build email message with headers headerString := fmt.Sprintf("From: %s\r\n", from) + fmt.Sprintf("To: %s\r\n", strings.Join(recipients, ",")) + fmt.Sprintf("Subject: %s\r\n", message.MailTitle()) + "MIME-Version: 1.0\r\n" + "Content-Transfer-Encoding: quoted-printable\r\n" + "X-Mailer: BillionMail\r\n" for key, value := range filteredHeaders { headerString += fmt.Sprintf("%s: %s\r\n", key, value) } headerString += "\r\n" + message.MailText() + "\r\n"
built this cd /opt/BillionMail/core go build -o billionmail still getting same issue
How is it possible to change the length of the key to 2048 bits? The setup created a 1024-bit one.
opendkim-genkey -b 2048 -d example.com -s default
After getting key, txt replace in old keys
On Mon, 9 Jun 2025, 11:42 am Marksmen IT, @.***> wrote:
marksmenit left a comment (aaPanel/BillionMail#50) https://github.com/aaPanel/BillionMail/issues/50#issuecomment-2954756405
How is it possible to change the length of the key to 2048 bits? The setup created a 1024-bit one.
— Reply to this email directly, view it on GitHub https://github.com/aaPanel/BillionMail/issues/50#issuecomment-2954756405, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMXQDRBXPDT5OF5QGD7SD3L3CUQVRAVCNFSM6AAAAAB6UPAVGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNJUG42TMNBQGU . You are receiving this because you authored the thread.Message ID: @.***>