All public logs

Jump to navigation Jump to search

Combined display of all available logs of QmailToaster. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)
  • 22:24, 15 April 2024 Ebroch talk contribs created page Increase LV vm size (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 2024 Ebroch talk contribs created page Extract Packages from RPM (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 2024 Ebroch talk contribs created page Qmail LDAP Authentication (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 2024 Ebroch talk contribs created page Qmail Dovecot Authentication (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 2024 Ebroch talk contribs created page Qmqpd (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...")
  • 08:41, 31 March 2024 Ebroch talk contribs deleted page Fail2Ban (content was: "'''Basic fail2ban installation and setup''' ---- == Installation == Install EPEL Repos * For CentOS 5 i386: # rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm * For CentOS 4: # rpm -Uvh http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-10.noarch.rpm Instal fail2ban: # yum install fail2ban == Setup == To wor...", and the only contributor was "Ebroch" (talk))
  • 11:45, 30 March 2024 Ebroch talk contribs created page SOGo (Created page with "Back<br>")
  • 10:59, 30 March 2024 Ebroch talk contribs created page Qmail-greyd (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 2024 Ebroch talk contribs created page AWS (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 2024 Ebroch talk contribs created page Collaboration (RTC) (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 2024 Ebroch talk contribs created page Remote Access (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 2024 Ebroch talk contribs created page Desktop (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 2024 Ebroch talk contribs created page Software and Infrastructure (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 2024 Ebroch talk contribs created page Proxmox Backup & Restore (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 2024 Ebroch talk contribs created page Backup (Created page with "== Proxmox Backup & Restore ==")
  • 22:12, 29 March 2024 Ebroch talk contribs created page ClamAV & SA to EPEL (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 2024 Ebroch talk contribs created page Many-Domain conversion (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 2024 Ebroch talk contribs created page Many-Domain script (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:29, 29 March 2024 Ebroch talk contribs moved page Migrate Backend to Vconvert Backend
  • 21:28, 29 March 2024 Ebroch talk contribs moved page Backend to Migrate Backend
  • 21:19, 29 March 2024 Ebroch talk contribs moved page CDB to MySQL to Backend
  • 21:06, 29 March 2024 Ebroch talk contribs created page CDB to MySQL (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...")
  • 21:05, 29 March 2024 Ebroch talk contribs created page EL7 to EL 8 or 9 (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 2024 Ebroch talk contribs created page Migrate (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...")
  • 15:15, 29 March 2024 Ebroch talk contribs created page QmailToaster:About (Created page with "QmailToaster")
  • 00:09, 28 March 2024 Ebroch talk contribs created page DAViCal (Created page with "EL 8/9 Install OS // Disable selinux, update & reboot # sed -i-e "s|^SELINUX=.*$|SELINUX=disabled|" /etc/selinux/config # cat /etc/selinux/config # setenforce 0 # getenforce # yum -y update // Install PostgreSQL and dependencies # yum -y install httpd git php php-pgsql php-gettext postgresql-server perl-DBD-Pg perl-YAML // Install DAViCal calendar and contacts server # cd /usr/share # git clone https://gitlab.com/davical-project/davical.git && \ git cl...")
  • 00:07, 28 March 2024 Ebroch talk contribs created page Calendar (Created page with "== Davical ==")
  • 16:09, 27 March 2024 Ebroch talk contribs created page ActiveSync (Z-push) (Created page with "ActiveSync Z-push install # printf '%s\n' \ '[z-push]' \ 'name=Z-Push noarch Enterprise Linux 7 - \$basearch' \ 'baseurl=http://repo.z-hub.io/z-push:/final/RHEL_7' \ 'failovermethod=priority' \ 'enabled=1' \ 'gpgcheck=0' \ > /etc/yum.repos.d/z-push.repo # yum install z-push-common z-push-config-apache z-push-backend-imap z-push-ipc-sharedmemory # perl -pi -e 's#'\''IMAP_FOLDER_CONFIGURED'\'', false#'\''IMAP_FOLDER_CONFIGURED'\'', true#g' /usr/sh...")
  • 15:42, 27 March 2024 Ebroch talk contribs created page Afterlogic (Created page with " Installation # mkdir /usr/share/webmaillite && \ cd /usr/share/webmaillite && \ wget https://afterlogic.org/download/webmail_php.zip && \ yum -y install unzip && \ unzip webmail_php.zip && \ chown -R apache.apache /usr/share/webmaillite/data && \ chown -R apache.apache /usr/share/webmaillite/adminpanel # vi /usr/share/webmaillite/data/settings/config.json Change setting 'RedirectToHttps' to true # vi /usr/share/webmaillite/data/settings/modules/TwoFa...")
  • 15:35, 27 March 2024 Ebroch talk contribs created page Rainloop (Created page with " # Install rainloop 1) # wget https://www.rainloop.net/repository/webmail/rainloop-community-latest.zip or # https://www.rainloop.net/repository/webmail/rainloop-latest.zip 2) # unzip rainloop-community-latest.zip -d /usr/share/rainloop 3) # find /usr/share/rainloop -type d -exec chmod 755 {} \; 4) # find /usr/share/rainloop -type f -exec chmod 644 {} \; 5) # chown -R apache:apache /usr/share/rainloop 6a) # vi /etc/httpd/conf.d/rainloop.conf (Cent...")
  • 14:28, 27 March 2024 Ebroch talk contribs created page Roundcube (Created page with "Upgrade PHP 5.x to 7.x # yum -y install git yum-utils epel-release php-mysql roundcubemail # echo "create database roundcube character set utf8 collate utf8_bin" | mysql -uroot -p # echo "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY 'p4ssw3rd'" | mysql -uroot -p # mysql -uroot -p roundcube < /usr/share/roundcubemail/SQL/mysql.initial.sql # cp -p /etc/httpd/conf.d/roundcubemail.conf /etc/httpd/conf.d/roundcubemail.conf.bak && \ wget -O /etc/roundcubemail/...")
  • 14:25, 27 March 2024 Ebroch talk contribs created page Webmail (Created page with "== Roundcube == == Rainloop == == Afterlogic ==")
  • 14:21, 27 March 2024 Ebroch talk contribs deleted page Adding Horde Webmail to Toaster (content was: "The Horde Project is a PHP framework for webmail and related applications. Go to [http://www.horde.org The Horde Project] for more details. The instructions below for Centos 5.x come from a meld of a post from Anil Aliyan on the Qmail-Toaster list and [http://wiki.horde.org/CentOS5InstallationNotes The Horde Wiki]. == '''Setup''' == '''Step 1.''' Install some additional appli...", and the only contributor was "Ebroch" (talk))
  • 14:20, 27 March 2024 Ebroch talk contribs created page Horde (Created page with "The Horde Project is a PHP framework for webmail and related applications. Go to [http://www.horde.org The Horde Project] for more details. The instructions below for Centos 5.x come from a meld of a post from Anil Aliyan on the Qmail-Toaster list and [http://wiki.horde.org/CentOS5InstallationNotes The Horde Wiki]. == '''Setup''' == '''Step 1.''' Install some additional applications and their dependencies to your server. Note, as far as I know all of these applicati...")
  • 13:36, 27 March 2024 Ebroch talk contribs created page Nextcloud (Created page with "Assumes Apache, MySQL, & PHP installed Assumes Firewall ports are opened Necessary php packages dnf install php-mbstring php-gd php-pecl-zip php-xml php-json unzip Nextcloud package wget https://download.nextcloud.com/server/releases/latest.zip unzip latest.zip -d /var/www/html mkdir /var/www/html/nextcloud/data chown -R apache:apache /var/www/html/nextcloud/* chcon -h system_u:object_r:httpd_sys_content_t /var/www/html/nextcloud/ -R Database Setup MYSQLPW=$password c...")
  • 13:26, 27 March 2024 Ebroch talk contribs created page Open-Xchange (Created page with " #!/bin/bash # Enter domain, mx(local postfix), imap server, postmaster account password, and ox/mysql administrative password DOMAIN=domain.tld MX=localhost.localdomain IMAP=mx.domain.tld POSTMASTERPW=postpass MYSQLPW=mysqlpw [ ! $DOMAIN ] && echo "No domain" && exit 1 echo $DOMAIN [ ! $MX ] && echo "No mx" && exit 1 echo $MX [ ! $IMAP ] && echo "No mx" && exit 1 echo $IMAP [ ! $POSTMASTERPW ] && echo "No postmaster password" && exit 1 echo $POSTMASTERPW [ ! $MYSQL...")
  • 13:22, 27 March 2024 Ebroch talk contribs created page Groupware (Created page with "=== Open X-change=== === Nextcloud=== === Horde===")
  • 13:02, 27 March 2024 Ebroch talk contribs created page IMAP/SMTP Authentication tests (Created page with "<pre> IMAPS, SMTPS, & Submission connection test script #!/bin/bash read -p "Enter a valid remote email account to which QMT will send mail: " ruser if [ -z "$ruser" ] then echo "No remote user entered, exiting..." exit 1 fi user=postmaster host=`hostname -I` DOMAINS=/home/vpopmail/domains user=postmaster DOMAINS=/home/vpopmail/domains for domain in `ls $DOMAINS` do pass=`/home/vpopmail/bin/vuserinfo $user@$domain | grep "c...")
  • 12:58, 27 March 2024 Ebroch talk contribs created page Qmail queue (Created page with "Queue creation # qmailctl stop # mv /var/qmail/queue /var/qmail/queue.bak # queue_repair.py -c --split 23 --no-bigtodo /var/qmail # qmailctl start Queue repair # qmailctl stop # queue_repair.py -r # qmailctl start # qmailctl queue More to come...")
  • 23:01, 26 March 2024 Ebroch talk contribs created page Dspam w/PostgreSQL (Created page with "<pre> Assumes Dspam is already installed (1) Install and start postgresql # dnf install postgresql-server postgresql-contrib dspam-pgsql # postgresql-setup --initdb # systemctl enable --now postgresql # systemctl status postgresql (2) Edit postgres files: # /var/lib/pgsql/data/postgresql.conf listen_addresses = '0.0.0.0' # IPv4 listen_addresses = '*' # IPv4/6 port = 5432 # /var/lib/pgsql/data/pg_hba.conf # IPv4 local connections: #hos...")
  • 22:56, 26 March 2024 Ebroch talk contribs created page Alias Domains (Created page with " Create alias domain Qmail & Dovecot 1) Create alias domain table and insert alias domain a) # mysql -u root -p vpopmail b) MariaDB [vpopmail]> create table aliasdomains ( domain char(96) not null, alias char(96) not null); c) MariaDB [vpopmail]> insert into aliasdomains (domain,alias) values ('domain.com','domain.org'); 2) Change dovecot mysql password query password_query = SELECT CONCAT( pw_name ,'@', pw_domain ) AS user, \ pw_passwd AS password, \...")
  • 22:51, 26 March 2024 Ebroch talk contribs created page Shutting down Qmail manually (Created page with "<pre> If for whatever reason qmail is started twice or already started shut it down manually... # qmailctl stop # ps aux | grep svscan | grep -v grep root 6398 0.0 0.0 4416 912 pts/0 S 13:32 0:00 svscan # kill 6398 # ps aux | grep supervise | grep -v grep root 6400 0.0 0.0 4248 916 pts/0 S 13:32 0:00 supervise send root 6401 0.0 0.0 4248 880 pts/0 S 13:32 0:00 supervise log root 6402...")
  • 22:16, 26 March 2024 Ebroch talk contribs created page Control Files List (Created page with "<pre> Qmail Control Files Qmail is controlled by a large set of control files stored in /var/qmail/control. Unlike some other MTAs that group everything into one huge file that they have to parse to figure out what's what, qmail puts each different kind of information into a separate file, so that each file needs little or no parsing. All files are lines of plain text (although a few files are compiled into CDB databases before use). Some, noted below, allow comment l...")
  • 22:05, 26 March 2024 Ebroch talk contribs created page PHP upgrade 7.x to 8.1 (Created page with " 4) Requires Squirrelmail upgrade 5) # dnf update squirrelmail or manually 5) # cp /etc/httpd/conf.d/squirrelmail.conf /etc/httpd/conf.d/squirrelmail.conf.bak 6) # dnf remove squirrelmail 7) # wget http://snapshots.squirrelmail.org/squirrelmail-20230327_0200-SVN.stable.tar.gz 8) # tar zxvf squirrelmail-20230327_0200-SVN.stable.tar.gz 9) # cp -Rp squirrelmail.stable/squirrelmail /usr/share 10) # cp /etc/httpd/conf.d/squirrelmail.conf.bak /etc/h...")
  • 22:05, 26 March 2024 Ebroch talk contribs created page Securing SquirrelMail (Created page with "== 1 == == PHP upgrade 7.x to 8.1 ==")
  • 22:02, 26 March 2024 Ebroch talk contribs created page 7.x to 8.x (Created page with "Tested EL8 Derivatives<br> 1) # dnf module reset php 2) # dnf module install php:remi-8.1 3) # dnf update Squirrelmail Update necessary")
  • 21:59, 26 March 2024 Ebroch talk contribs created page PHP (Created page with "== 7.x to 8.x ==")
  • 19:10, 26 March 2024 Ebroch talk contribs created page Vpopmail daemon (Created page with " # cd /var/qmail/supervise && qmailctl stop # install -d -m1751 vpopmaild && chmod 1700 vpopmaild && chown qmaill:qmail vpopmaild && install -d -m751 vpopmaild/log && chmod 0700 vpopmaild/log # printf '%s\n' \ '#!/bin/sh' \ 'QMAILDUID=`id -u vpopmail`' \ 'NOFILESGID=`id -g vpopmail`' \ 'VPOPD=/home/vpopmail/bin/vpopmaild' \ '' \ 'exec 2>&1' 'exec /usr/bin/tcpserver -vRHD -u "$QMAILDUID" -g "$NOFILESGID" 127.0.0.1 89 $VPOPD' \ >./vpopmaild/run # printf '%s\...")
  • 19:09, 26 March 2024 Ebroch talk contribs created page Vpopmail (Created page with "== Vpopmail daemon ==")
  • 17:28, 26 March 2024 Ebroch talk contribs created page LDA (Created page with "Install Dovecot Pigeonhole with Sieve protocol enabled Local Delivery Agent (LDA), enable ManageSieve server, specify Sieve rule locations, create Sieve files and set permissions, and restart Dovecot # yum install dovecot-pigeonhole # vi /etc/dovecot/local.conf (Add) mail_location = maildir:~/Maildir protocols = $protocols sieve plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/.sieve } service managesieve-login { inet_listener sieve { port = 4190...")
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)