The below command will list the domains in a postfix queue, with the numbers of mails for the domain.
Linux
That displays the queue summary and refreshes it every 30 seconds. Press Ctrl+C when you want to stop it.
sudo dnf update -y curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.shsudo sh webmin-setup-repo.sh sudo dnf install webmin -y sudo systemctl enable webminsudo systemctl start webmin sudo systemctl status webmin sudo firewall-cmd –add-port=10000/tcp –permanentsudo firewall-cmd –reload https://SERVER-IP:10000
Step 1 – Install the QEMU Guest Agent inside Debian sudo apt updatesudo apt install qemu-guest-agent -y Step 2 – Enable and Start the Service sudo systemctl enable qemu-guest-agentsudo systemctl start qemu-guest-agent Check its running sudo systemctl status qemu-guest-agent Step 3 – Enable the Guest Agent in Proxmox Now switch […]
Set up a virtual IP on proxmox cluster apt updateapt install keepalived -y nano /etc/keepalived/keepalived.conf run this on all nodes on the master node add this to the keepalived.conf vrrp_instance VI_1 {state MASTERinterface vmbr0virtual_router_id 51priority 150advert_int 1 } on the slave nodes add this to keepalived.conf vrrp_instance VI_1 {state BACKUPinterface […]
This adjusts the number of days to keep quarantined email etc/MailScanner/defaults /var/www/mailscanner/conf.php days to keep need to be edited in both the above files
The best way is to create a new firewalld zone and we add the specific IP to that zone. To start with lets create an appropriate zone, in this example we will call the zone webmin-access and open webmin to 1 specific IP address. The port will be 10000 tcp […]
nmap -sT targetIP/hostname nmap –script vuln targetIP/hostname -O trys to identify Operating System, example nmap -sT -O targetIP/hostnam
IP=”$(echo $SSH_CONNECTION | cut -d ” ” -f 1)”HOSTNAME=$(hostname)NOW=$(date +”%e %b %Y, %a %r”) echo ‘Someone from ‘$IP’ logged into ‘$HOSTNAME’ on ‘$NOW’.’ | mail -s ‘SSH Login Notification’ YOUR_EMAIL_ADDRESS — -f FROM_EMAIL_ADDRESS
The below will open tcp port 10000 on FirewallD to get access to webmin firewall-cmd –permanent –zone=public –add-port=10000/tcp A reload of FirwwallD is needed to activate the permanent rule into the running environment firewall-cmd –reload