Mail send not working - CyberPanel + Cloudflare

Majority of problems get solved with just updating cyberpanel.

1 Like

I continuously have this problem every time I update Cyberpanel and this is what works for me (Ubuntu 20.04).

  1. On your server, check your directory structure and verify that ‘/usr/libexec/dovecot/deliver’ exists.
  2. If it does not, the correct location will probably be ‘/usr/lib/dovecot/deliver’. Note ‘lib’ instead of ‘libexec’
  3. Edit ‘/etc/postfix/’ and modify the line at the bottom from:
dovecot   unix  -       n       n       -       -       pipe
    flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}

to (changing ‘libexec’ to ‘lib’)

dovecot   unix  -       n       n       -       -       pipe
    flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}t}

Then restart dovecot, postfix and check the status:

$ sudo service dovecot restart && service postfix restart;
$ sudo service dovecot status && service postfix status;

Once I do this, I can now receive (and send) emails again.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.