How to Resolve Issues with SMTP Not Sending Emails in cPFence?

If your SMTP setup in cPFence is not sending emails, it may be due to compatibility issues with certain SMTP providers, such as MXRoute and ZeptoMail, that don’t support modern configuration variables. This guide will help you adjust your SMTP configuration to ensure proper functionality.

Steps to Fix SMTP Sending Issues

  1. Open the SMTP Configuration File:
    nano /etc/s-nail.rc
  2. Update the SMTP Configuration:

    Replace the current SMTP settings in the file with the updated configuration below:

    Original Configuration:

    # cPFence SMTP Configuration - START
    set v15-compat
    set from="[email protected] (cp.xxx)"
    set mta=smtps://smtp%40xxx.cc:[email protected]:465
    # cPFence SMTP Configuration - END

    Updated Configuration:

    # cPFence SMTP Configuration - START
    set smtp=smtps://smtp.xxx.cc:465
    set smtp-auth=login
    set [email protected]
    set smtp-auth-password=password
    set ssl-verify=ignore
    set from="[email protected] (cp.xxx)"
    # cPFence SMTP Configuration - END
  3. Save and Close the File:

    Press Ctrl + O to save the file and Ctrl + X to exit the editor.

  4. Test Your SMTP Configuration:

    Send a test email using the following command:

    mailx -v -s 'SMTP Test Email from cPFence' '[email protected]' <<< 'This is a test email to confirm the SMTP configuration for cPFence notifications.'

    Replace [email protected] with your test email address.

Important Notes

  • This workaround resolves the issue with SMTP not sending emails by using legacy-compatible configuration variables.
  • Monitor your SMTP provider for updates regarding modern variable support, as older variables may become obsolete in the future.

Need Help?

If the issue persists or you require additional assistance, don’t hesitate to contact our support team through your client portal. We’re here to help!

  • smtp
  • 1 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to Update cPFence Software & Signatures ?

cPFence software and virus signatures are automatically updated by default, ensuring continuous...

How to Know the Current Installed cPFence Version ?

To check the currently installed version of cPFence and see if an update is available, you can...

How to Uninstall cPFence ?

If you need to remove cPFence from your system, follow the steps below to uninstall the software....

Resolving Delays in cPFence Command Execution

If you notice that cPFence commands are taking an unusually long time to complete, this is likely...

Is cPFence Compatible with Cloudflare and Quic.Cloud?

Yes, cPFence is fully compatible with both Cloudflare and Quic.Cloud. In fact, we recommend using...