How to fix Webmail Roundcube Server Error upon doing the search
Most likely some dovecot files under the email box have been broken
Go ahead and remove them and recheck
cd /home/user/mail/domain.com/info rm -fv dovecot*
Then recheck… Read the rest
Notes
Most likely some dovecot files under the email box have been broken
Go ahead and remove them and recheck
cd /home/user/mail/domain.com/info rm -fv dovecot*
Then recheck… Read the rest
You need to remove broken index files.
Try to use cPanel script:
/scripts/remove_dovecot_index_files --user USERNAME
If doesn’t work remove them manually
find . -type f -name "dovecot.index*" -exec rm -fv {} \;
System then re-generate them again… Read the rest
Find and remove existent maildirsize files:
find . -name maildirsize -exec rm -fv {} \;
Rebuild the files:
/scripts/generate_maildirsize --verbose --onlyrecalculate --confirm USERNAME… Read the rest
doveadm auth cache flush
Flush the authentication cache. By default the cache is flushed for all the users (which can also be done by sending SIGHUP to the auth process). You can also flush the cache for one or more users by providing their usernames.… Read the rest
How to calculate IMAP dovecot bandwidth:
less /var/log/maillog |grep Aug |grep DOMAIN.COM |grep -Po 'out\=.+?,' |cut -d '=' -f2 |tr -d ,|awk '{s+=$1} END {print "total: ", s, " bytes transferred over IMAP"}'
total: 83107245783 bytes transferred over IMAP
echo "83107245783/1024/1024" |bc 79257M ~80G
How to calculate POP3 dovecot bandwidth:
less /var/log/maillog |grep DOMAIN.COM… Read the rest
Install pure-ftpd
/scripts/setupftpserver pure-ftpd --force
Install proftpd
/scripts/setupftpserver proftpd --force
Install dovecot
/scripts/setupmailserver dovecot --force… Read the rest