Delete all MAILER-DAEMON notifications from Postfix queue:
Just run the following #mailq | tail -n +2 | head -n -2 | grep -v ‘^ *(‘ | awk ‘BEGIN { RS = “” } { if ($7 == “MAILER-DAEMON”) print $1 }’ | tr -d ‘*!’ | postsuper -d –
Just run the following #mailq | tail -n +2 | head -n -2 | grep -v ‘^ *(‘ | awk ‘BEGIN { RS = “” } { if ($7 == “MAILER-DAEMON”) print $1 }’ | tr -d ‘*!’ | postsuper -d –
So the only fix for this is to roll back to ESXi 6.5 after many calls with VMWare. The issue i came across was because i upgraded to 6.7 then did another upgrade to a 6.7 patch i couldnt just roll back my hosts to 6.5 – Vmware said i need to rebuild from scratch Read more about ESXi 6.7 Keep Getting PANIC bora/vmkernel/main/dlmalloc.c: 4924 – Usage error in dlmalloc[…]
To show whats in the queue #postqueue -p To force the queue to re-attempt a send #postqueue -f To delete the queue #postsuper -d all To delete a specific mail #postsuper -d queueid
vlan 1 name “DEFAULT_VLAN” ip address 10.1.1.3 255.255.255.0 dhcp-server exit dhcp-server pool “Lab” authoritative default-router “10.1.1.1” dns-server “10.1.1.97,10.1.1.1” domain-name “domain.com” network 10.1.1.0 255.255.255.0 range 10.1.1.200 10.1.1.254 exit dhcp-server enable
Login to your server with SSH Type crontab -l to display list of cron jobs, Type crontab -e to edit your crontab, Add 0 4 * * * /etc/init.d/mysqld restart to restart Mysql everyday at 4 AM, Add 0 5 * * * /etc/init.d/httpd restart to restart Apache everyday at 5 AM and Add 0 Read more about Add Cron Jobs – Linux / Suse[…]