New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

SSL renewal notifications rejected by Gmail – DKIM authentication failure

Started by Wonder, November 24, 2026, 08:44:01 PM

Previous topic - Next topic

Wonder

Hello,

I've noticed an issue with CWP's automatic SSL renewal notification emails. Gmail rejects these messages because DKIM authentication is missing.

Environment:
- AlmaLinux 10
- Postfix + OpenDKIM
- CWP LTS and Edge (I've experienced this across different versions).

CWP Settings → Edit Settings:
- Admin Email: external Gmail address.
- Root forwarder: enabled, forwarding system emails to the same Gmail address.

The problem;

When CWP successfully renews an SSL certificate, it sends a notification using the external Gmail address as the visible sender, while the actual envelope sender is the server's local root account.

The headers look like this:

Return-Path: <root@[server-hostname]>
To: [Gmail address]
From: Centos Web Panel <[Gmail address]>
Subject: SSL Certificate renewed

The message has no DKIM signature, and Gmail rejects it with:

550-5.7.30 Your email has been blocked because DKIM
authentication didn't pass.

Postfix then generates a delivery failure notification, which is also forwarded to Gmail and ends up in the spam folder.

On another CWP server, where Admin Email is configured with an address belonging to the server's own domain, everything works correctly:

SPF: PASS
DKIM: PASS
DMARC: PASS

The notification is signed by OpenDKIM and Gmail accepts it.

I've experienced this behaviour with both LTS and Edge, so it doesn't appear to be specific to a particular release.

I think CWP should use an email address belonging to the server's own domain as the sender, while keeping the external Admin Email as the notification recipient.

Is there a way to configure this separately, or could this be addressed in CWP?

I'd prefer to keep receiving system notifications at my external Gmail address without having to modify CWP scripts or compromise email authentication.

Thanks!

DeanCTS

Quote from: Wonder on November 24, 2026, 08:44:01 PMHello,

I've noticed an issue with CWP's automatic SSL renewal notification emails. Gmail rejects these messages because DKIM authentication is missing.

Environment:
- AlmaLinux 10
- Postfix + OpenDKIM
- CWP LTS and Edge (I've experienced this across different versions).

CWP Settings → Edit Settings:
- Admin Email: external Gmail address.
- Root forwarder: enabled, forwarding system emails to the same Gmail address.

The problem;

When CWP successfully renews an SSL certificate, it sends a notification using the external Gmail address as the visible sender, while the actual envelope sender is the server's local root account.

The headers look like this:

Return-Path: <root@[server-hostname]>
To: [Gmail address]
From: Centos Web Panel <[Gmail address]>
Subject: SSL Certificate renewed

The message has no DKIM signature, and Gmail rejects it with:

550-5.7.30 Your email has been blocked because DKIM
authentication didn't pass.

Postfix then generates a delivery failure notification, which is also forwarded to Gmail and ends up in the spam folder.

On another CWP server, where Admin Email is configured with an address belonging to the server's own domain, everything works correctly:

SPF: PASS
DKIM: PASS
DMARC: PASS

The notification is signed by OpenDKIM and Gmail accepts it.

I've experienced this behaviour with both LTS and Edge, so it doesn't appear to be specific to a particular release.

I think CWP should use an email address belonging to the server's own domain as the sender, while keeping the external Admin Email as the notification recipient.

Is there a way to configure this separately, or could this be addressed in CWP?

I'd prefer to keep receiving system notifications at my external Gmail address without having to modify CWP scripts or compromise email authentication.

Thanks!

You can't impersonate Gmail email account from the server via unauthenticated email. Use your own email domain where you actually control DKIM records.
Systems Administrator at Major American MSP
Experienced with Windows, CentOS, Alma, Rocky, VMware, Proxmox, HyperV, Azure, Cisco and Security.
Currently working on developing a useful and neat CWP addon/module to contribute my share to the community.

Wonder

Quote from: DeanCTS on November 30, 2026, 11:53:27 PMYou can't impersonate Gmail email account from the server via unauthenticated email. Use your own email domain where you actually control DKIM records.
Thanks for your reply.

I understand that, and that's exactly the issue I'm trying to point out.

I'm not trying to impersonate a Gmail account. I've simply configured my Gmail address as the **Admin Email** in CWP to receive system notifications.

However, CWP automatically uses that same address as the **From** address when sending SSL renewal notifications, which causes the authentication failure.

Ideally, CWP should use a valid sender address from the server itself (for example, root@server.example.com), as it already does for other system notifications, while keeping the configured Admin Email as the recipient. Alternatively, CWP could provide a separate setting for the notification sender address.

The Admin Email field doesn't indicate that the address will also be used as the sender, so I assumed it was only intended to receive administrative notifications.

Is there a way to configure the sender separately, or could CWP handle these notifications differently?

DeanCTS

Quote from: Wonder on <strong>Today</strong> at 12:21:55 AM
Quote from: DeanCTS on November 30, 2026, 11:53:27 PMYou can't impersonate Gmail email account from the server via unauthenticated email. Use your own email domain where you actually control DKIM records.
Thanks for your reply.

I understand that, and that's exactly the issue I'm trying to point out.

I'm not trying to impersonate a Gmail account. I've simply configured my Gmail address as the **Admin Email** in CWP to receive system notifications.

However, CWP automatically uses that same address as the **From** address when sending SSL renewal notifications, which causes the authentication failure.

Ideally, CWP should use a valid sender address from the server itself (for example, root@server.example.com), as it already does for other system notifications, while keeping the configured Admin Email as the recipient. Alternatively, CWP could provide a separate setting for the notification sender address.

The Admin Email field doesn't indicate that the address will also be used as the sender, so I assumed it was only intended to receive administrative notifications.

Is there a way to configure the sender separately, or could CWP handle these notifications differently?

You should then configure the from email as well bro. Look below.

Systems Administrator at Major American MSP
Experienced with Windows, CentOS, Alma, Rocky, VMware, Proxmox, HyperV, Azure, Cisco and Security.
Currently working on developing a useful and neat CWP addon/module to contribute my share to the community.