Change Admin email and antivirus notification email zmlocalconfig -e smtp_destination=admin@domain.com zmlocalconfig -e smtp_destination=adm...
postfix mailq command
To check postfix Mail Queue mailq or, postqueue -p To requeue all messages from mailque postqueue -f To requeue a specific messages from mai...
Enforcing a match between FROM address and sasl username Zimbra
If the exception db is not used zmprov mcf zimbraMtaSmtpdSenderLoginMaps proxy:ldap:/opt/zimbra/conf/ldap-slm.cf +zimbraMtaSmtpdSenderRest...
Zimbra modify network
Zimbra modify network zmprov ms mail.example.com zimbraMtaMyNetworks '127.0.0.0/8 10.0.5.10/24' postfix reload
Allow internal domain in zimbra
Allow internal domain zmprov mcf zimbraAmavisOriginatingBypassSA TRUE zmantispamctl restart zmantivirusctl restart zmamavisdctl restart
Install lets encrypt SSL in Nginx Ubuntu 22.04
Update Package Repository sudo apt update Install Certbot package sudo apt-get install python3-certbot-nginx certbot Run command to enable s...
Passwordless authentication between two Linux servers
Passwordless authentication between two Linux servers Jenkins & web server On Jenkins Server Generate SSH Key: Generate an SSH key pair....
Allow Port in firwalld linux
Allow port in Linux firewall sudo firewall-cmd --permanent --add-port=10050/tcp sudo firewall-cmd --reload Check allowed port and sudo fir...
run a script every 30 seconds using a cron job in Linux
# run a script every 30 seconds using a cron job in Linux #!/bin/bash #cat script.sh while true; do # Your script commands go here ...
Generate randam key using base64 encode
#Generate 32-bye random key head -c 32 /dev/urandom | base64
PHP Fix date & time issue in Ubuntu Apache/nginx server
Go to the php.ini file and fix date.timezone region sudo vim /etc/php/8.2/fpm/php.ini or, sudo vim /etc/php/8.2/apache2/php.ini date.timezon...
Git checkout/push executable shell file
git add --chmod=+x script.sh git commit -m "Adding executable shell script file"
Docker access container from root user
docker exec -it --user root container_name bash
How to redirect www to non-www domain in AWS load balancer
Set AWS ALB rule to redirect www domain to non www Go to Application Load Balancer > Select ALB Name > Listeners and rules, Cli...
Install letsencrypt SSL certificate in Linux
Install letsencrypt package in Ubuntu 22.04 Update the local package index sudo apt update Install certbot package for apache sudo apt inst...
Subscribe to:
Posts
(
Atom
)