Zimbra – deleting all email in queue by sender Rumi, August 17, 2018January 15, 2022 As root user execute: /opt/zimbra/postfix/sbin/postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } / sender@mail\.com/ { print $1 }' | tr -d '*' | /opt/zimbra/postfix/sbin/postsuper -d - To Delete ALL Messages From Queue /opt/zimbra/postfix/sbin/postsuper -d ALL or /opt/zimbra/common/sbin/postsupe -d ALL Another way to do this: mailq | awk '{print $1}' | postsuper -d - To Delete ALL Messages From The Deferred Queue /opt/zimbra/postfix/sbin/postsuper -d ALL deferred To Delete ALL Messages From The Hold Queue /opt/zimbra/postfix/sbin/postsuper -d ALL hold There’s a nice Zimbra wiki page with detailed on cleaning up mail queues. https://wiki.zimbra.com/wiki/Managing-The-Postfix-Queues Related Administrations Configurations (Linux) zimbra
Fixing Yum Update on Centos 8 Stream Error: Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist July 24, 2023 I had installed a minimalist CentOS 8 on one of my servers. Installation went successful, however, when I tried to update the system using yum update I see this error message: Failed to download metadata for repo. Below is the complete error. [root@autocontroller ~]# yum update CentOS-8 – AppStream 70 B/s |… Read More
Add a User To Group www-data ( Apache Group ) October 10, 2019 The procedure is as follows: Open the terminal application. Login to Ubuntu server using ssh. Add a new user named foo to www-data group by running useradd -g www-data foo command. Add an existing user bar to Apache’s www-data group on Ubuntu using usermod -a -G www-data bar command. Verify new modification on Linux… Read More
Install LAMP with PHP 7.4 on FastCGI/CGI configuration on CentOS 7 March 24, 2021 Step 1 – Setup Yum Repository In the first step install all the required yum repositories in your system used in the remaining tutorial for various installations. You are adding REMI, EPEL, Webtatic & MySQL community server repositories in your system. CentOS / RHEL 7 yum install epel-release rpm -Uvh… Read More