New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Show redirects
(newest | oldest) View (newer 20 | ) (20 | 50 | 100 | 250 | 500)
  • 22:24, 15 April 2024Increase LV vm size (hist | edit) ‎[11,093 bytes]Ebroch (talk | contribs) (Created page with "Proxmox - Increase VM Disk Size Posted Oct 1, 2016 By harryvasanth 9 min read Steps These are the steps to increase the disk size of the VMs in Proxmox Add new disk in Proxmox VE UI Partition the new disk Create a new physical device (using pvcreate) Extend the existing volume group Extend the logical volume Extend the file system (ext4 in my case) Check current storage First lets check how much space left on the VM: root@jupyterhub:~# df -h Filesystem...")
  • 16:15, 15 April 2024Extract Packages from RPM (hist | edit) ‎[1,537 bytes]Ebroch (talk | contribs) (Created page with " # wget http://repo.qmailtoaster.com/8/spl/sqlmd/mariadb/testing/x86_64/qmail-1.03-3.3.7.qt.md.el8.x86_64.rpm List all packages in .rpm file # rpm -lqp qmail-1.03-3.3.7.qt.md.el8.x86_64.rpm # rpm -lqp qmail-1.03-3.3.9.qt.md.el8.x86_64.rpm |grep qmail-s /var/qmail/bin/qmail-send /var/qmail/bin/qmail-showctl <span style="color:red">/var/qmail/bin/qmail-smtpd</span> /var/qmail/bin/qmail-start /var/qmail/man/cat5/qmail-spamt.0.bz2 /var/qmail/man/cat5/qmail-spamthro...")
  • 10:41, 14 April 2024Qmail LDAP Authentication (hist | edit) ‎[924 bytes]Ebroch (talk | contribs) (Created page with "# wget https://raw.githubusercontent.com/qmtoaster/source/main/qldapauth.c # gcc -o qdovauth qdovauth.c # mv qdovauth /home/vpopmail/bin # chown vpopmail:vchkpw /home/vpopmail/bin/qdovauth # chmod 755 /home/vpopmail/bin/qdovauth Add services to Dovecot configuration file service stats { unix_listener stats-reader { user = vpopmail group = vchkpw mode = 0660 } unix_listener stats-writer { user = vpopmail group = vchkpw mode = 0660...")
  • 01:01, 12 April 2024Qmail Dovecot Authentication (hist | edit) ‎[1,285 bytes]Ebroch (talk | contribs) (Created page with "To authenticate against Dovecot instead of vpopmail download and compile https://raw.githubusercontent.com/qmtoaster/source/main/qdovauth.c this file")
  • 23:20, 3 April 2024Qmqpd (hist | edit) ‎[7,775 bytes]Ebroch (talk | contribs) (Created page with "<pre> QMQP is a protocol designed to be used by clients for queuing messages to a smart host that handles the delivery. This relieves clients of the burden of maintaining a queue and retrying temporarily undeliverable messages. The protocol is defined at http://cr.yp.to/proto/qmqp.html. QMQP is similar to QMTP in that it minimizes the round trips necessary for handing messages to servers, but it doesn't implement relay control—so access to QMQP servers must be restrict...")
  • 11:45, 30 March 2024SOGo (hist | edit) ‎[22 bytes]Ebroch (talk | contribs) (Created page with "Back<br>")
  • 10:59, 30 March 2024Qmail-greyd (hist | edit) ‎[4,300 bytes]Ebroch (talk | contribs) (Created page with "#!/usr/bin/python # Before running this script make sure to have done : # mkdir /var/qmail/grey # chown qmaild.nofiles /var/qmail/grey # test with env TCPREMOTEIP="127.0.0.1" GREY="" ./greyd /bin/bash -c env | grep RB # and do not forget to delete the folder and file created before going in production # Design similar to http://www.jonatkins.com/page/software/qgreylist import os import sys import time minute = 60 hour = 60*60 day = 60*60*24 # Configuration start con...")
  • 01:56, 30 March 2024AWS (hist | edit) ‎[464 bytes]Ebroch (talk | contribs) (Created page with " 1. AWS cloud backup Install AWS pkgs on mail server (once) a. # yum install awscli awstats Configure keys from your AWS account on mail server (once) b. # aws configure From mail server create AWS bucket for backup (once) c. # aws s3 mb s3://my-bucket --region us-west-1 Synchronize mail store to AWS d. # aws s3 sync /home/vpopmail/domains/mydomain.com s3://my-bucket/mydomain.com")
  • 01:54, 30 March 2024Collaboration (RTC) (hist | edit) ‎[1,262 bytes]Ebroch (talk | contribs) (Created page with " 1. Openfire Collaboration a. # yum -y install java-1.7.0-openjdk libstdc++ b. # wget -O openfire-*.rpm http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire-*.rpm c. # yum -y localinstall openfire-*.rpm d. Open firewall #!/bin/sh for port in 5222 5223 7070 7443 5269 5275 5276 5262 5263 9090 9091 7777 5229 do echo -n "Opening port: $port : " tput setaf 2 firewall-cmd --zone=public --add-port=$port/tcp --permanen...")
  • 01:48, 30 March 2024Remote Access (hist | edit) ‎[1,421 bytes]Ebroch (talk | contribs) (Created page with " 1. Remote Desktop Server a. Install Xfce Desktop (above) b. # yum install xrdp && systemctl enable xrdp && systemctl start xrdp && echo "xfce4-session" > ~/.Xclients && chmod a+x ~/.Xclients c. # firewall-cmd --zone=public --add-port=3389/tcp --permanent && firewall-cmd --reload d. Access email server with Windows/Linux Remote Desktop Client, and accept default configuratioin 2. VNC Server a. Install Desktop (above) b. # yum install tigervnc-server t...")
  • 01:44, 30 March 2024Desktop (hist | edit) ‎[311 bytes]Ebroch (talk | contribs) (Created page with " 1. Destkops a. Xfce # yum -y install epel-release gnome-classic-session control-center gnome-terminal nautilus-open-terminal liberation-mono-fonts # yum -y groupinstall "Xfce" "base-x" # systemctl set-default graphical.target # reboot")
  • 01:34, 30 March 2024Software and Infrastructure (hist | edit) ‎[508 bytes]Ebroch (talk | contribs) (Created page with " Create RPM build environment CentOS 6/7/8 # yum -y groupinstall "Development Tools" # yum install epel-release rpmdevtools mock # useradd build # passwd build # visudo Under root ALL=(ALL) ALL Add build ALL=(ALL) ALL $ su - build $ rpmdev-setuptree Command: mkdir # mkdir options <dir> Examples: # mkdir myProject # mkdir -p myProject/{src,doc,tools,db} # mkdir -p myProject/{src,doc/{api,system},tools,db}")
  • 22:16, 29 March 2024Proxmox Backup & Restore (hist | edit) ‎[2,132 bytes]Ebroch (talk | contribs) (Created page with "<pre> Backup VM (default, snapshot) # vmid=120 # vzdump $vmid INFO: starting new backup job: vzdump 120 INFO: Starting Backup of VM 120 (qemu) INFO: status = stopped INFO: update VM 120: -lock backup INFO: backup mode: stop INFO: ionice priority: 7 INFO: VM Name: qmt.devel.maria.rhel8 INFO: include disk 'scsi0' 'local-zfs:vm-120-disk-0' 10G INFO: creating archive '/var/lib/vz/dump/vzdump-qemu-120-2019_04_03-14_16_37.vma' INFO: starting kvm to execute...")
  • 22:16, 29 March 2024Backup (hist | edit) ‎[96 bytes]Ebroch (talk | contribs) (Created page with "== Proxmox Backup & Restore ==")
  • 22:12, 29 March 2024ClamAV & SA to EPEL (hist | edit) ‎[497 bytes]Ebroch (talk | contribs) (Created page with " This script will remove the QT version of ClamAV and replace it with EPEL's version. This will mitigate wait times, hopefully, for newer versions of ClamAV and reduce workload for the QT lead. CentOS 7 # curl -O https://raw.githubusercontent.com/qmtoaster/scripts/master/clam-cos7.sh && chmod 755 ./clam-cos7.sh && ./clam-cos7.sh CentOS 8 # curl -O https://raw.githubusercontent.com/qmtoaster/scripts/master/clam-cos8.sh && chmod 755 ./clam-cos8.sh && ./clam-cos8.sh")
  • 22:05, 29 March 2024Many-Domain conversion (hist | edit) ‎[4,621 bytes]Ebroch (talk | contribs) (Created page with "1. Stop services qmailctl stop && systemctl stop dovecot 2. Install and enable higher priority QMT MD repo, and Install QMT MD packages. CentOS 7/QMT only wget -O /etc/yum.repos.d/qmt-md.repo https://raw.githubusercontent.com/qmtoaster/mirrorlist/master/qmt-md-centos7.repo yum-config-manager --enable qmt-md-current wget -P /etc/yum.repos.d https://raw.githubusercontent.com/qmtoaster/scripts/master/dovecot.repo yum makecache yum clean all yum update dovecot qmail ezm...")
  • 21:55, 29 March 2024Many-Domain script (hist | edit) ‎[2,840 bytes]Ebroch (talk | contribs) (Created page with " #!/bin/sh # This script converts the vpopmail db traditionally used by QMT with domain # tables (domain_tld) to the vpopmail table containing many domains (md). # In addition to this vpopmail db conversion appropriate replacement packages # must be installed to interact with the converted vpopmail db, specifically, # CentOS 7/8 pkgs designated with 'md'. The conversion was necessary not only # for Dovecot's dsync utility to utilize commands like `doveadm user '*'`...")
  • 21:06, 29 March 2024Vconvert Backend (hist | edit) ‎[803 bytes]Ebroch (talk | contribs) (Created page with "1) Migration to new host a) On destination host Install QMT/CentOS 7, instructions here. toaststat (make sure all services are running) b) On source [cdb] host dhost=192.168.1.3 (change destination [mysql] host to suit) ssh-keygen ssh-copy-id $dhost ssh $dhost (test, no password should be required) # The first rsync migrates the bulk of the email database with vpasswd files except those queued during sync rsync --progress -zv -are ssh /home/vpopmail/domains/ root@$dho...") originally created as "CDB to MySQL"
  • 21:05, 29 March 2024EL7 to EL 8 or 9 (hist | edit) ‎[4,296 bytes]Ebroch (talk | contribs) (Created page with " '''On destination host''' Install Rocky 8 or 9 qmailctl stop && systemctl stop dovecot '''On source host''' <span style="color:red">Source host most likely EL7</span> # dhost=192.168.1.3 <span style="color:red">Change IP address for your needs</span> # ssh-keygen # ssh-copy-id $dhost # ssh $dhost<br> '''''First rsync email db''''' # rsync --progress -zv -are ssh /home/vpopmail/do...")
  • 19:00, 29 March 2024Migrate (hist | edit) ‎[182 bytes]Ebroch (talk | contribs) (Created page with " On destination host Install CentOS 7/8 QMT, instructions here. toaststat (make sure all services are running) qmailctl stop && systemctl stop dovecot On source host dhost=192.168.1.3 (change to suit) ssh-keygen ssh-copy-id $dhost ssh $dhost (test, no password should be required) # The first rsync migrates the bulk of the email database except those queued during sync rsync --progress -zv -are ssh /home/vpopmail/domains/ root@$dhost:/home/vpopmail/domains q...")
(newest | oldest) View (newer 20 | ) (20 | 50 | 100 | 250 | 500)