New in CWP Edge / LTSFree 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. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

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 December 01, 2026, 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.

Wonder

Quote from: DeanCTS on December 01, 2026, 12:41:01 AMYou should then configure the from email as well bro. Look below.


Thanks, but I believe we're talking about two different notification systems.

The Sender email setting under Admin Panel → Notifications appears to be intended for general CWP alerts (Info, Warning and Danger).

I'm specifically referring to the automatic SSL Certificate renewed emails generated by AutoSSL, which are sent independently of those notification settings.

As far as I can see, AutoSSL uses the email configured under CWP Settings → Edit Settings → Admin Email as both the recipient and the sender.

Does the Sender email setting under Notifications also control the sender of AutoSSL renewal emails? If so, could you confirm that?

That's the specific behavior I'm trying to clarify. Thanks!

DeanCTS

Quote from: Wonder on December 01, 2026, 09:04:29 PM
Quote from: DeanCTS on December 01, 2026, 12:41:01 AMYou should then configure the from email as well bro. Look below.


Thanks, but I believe we're talking about two different notification systems.

The Sender email setting under Admin Panel → Notifications appears to be intended for general CWP alerts (Info, Warning and Danger).

I'm specifically referring to the automatic SSL Certificate renewed emails generated by AutoSSL, which are sent independently of those notification settings.

As far as I can see, AutoSSL uses the email configured under CWP Settings → Edit Settings → Admin Email as both the recipient and the sender.

Does the Sender email setting under Notifications also control the sender of AutoSSL renewal emails? If so, could you confirm that?

That's the specific behavior I'm trying to clarify. Thanks!

I don't use php webmail but a quick glance tells me it don't impersonate:

From: root@cwp.praetorian.cloud
To: ivan@praetorian.cloud

Return-path: <root@cwp.praetorian.cloud>

The reason I have all email services disabled on my CWP is because I don't want to rely on crappy email software. Either configure your email and scripts with some cloud email service or run and manage your own proper email server but get away from these crappy php scripts which are bound to make issues like you describe.

There is really not much value in ssl renewal email notices... I never ever seen a failed renewal lol. You can even make Cloudflare do it all for you its free and you won't ever have to think about that crap in your life bro.
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

Just to clarify, this issue is about CWP AutoSSL renewal emails, not webmail or general notifications.

CWP uses the configured Admin Email as both the recipient and the sender (`From`). When using an external Gmail address, this causes authentication failures.

Could a CWP developer please review this behavior?

Ideally, AutoSSL should use a properly authenticated server address as the sender, while keeping Admin Email as the recipient, or allow both addresses to be configured separately.

Thanks!