New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Show redirects
(newest | oldest) View (newer 100 | ) (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...")
  • 00:09, 28 March 2024DAViCal (hist | edit) ‎[4,699 bytes]Ebroch (talk | contribs) (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 2024Calendar (hist | edit) ‎[54 bytes]Ebroch (talk | contribs) (Created page with "== Davical ==")
  • 16:09, 27 March 2024ActiveSync (Z-push) (hist | edit) ‎[2,570 bytes]Ebroch (talk | contribs) (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 2024Afterlogic (hist | edit) ‎[2,234 bytes]Ebroch (talk | contribs) (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 2024Rainloop (hist | edit) ‎[1,586 bytes]Ebroch (talk | contribs) (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 2024Roundcube (hist | edit) ‎[2,289 bytes]Ebroch (talk | contribs) (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 2024Webmail (hist | edit) ‎[96 bytes]Ebroch (talk | contribs) (Created page with "== Roundcube == == Rainloop == == Afterlogic ==")
  • 14:20, 27 March 2024Horde (hist | edit) ‎[8,529 bytes]Ebroch (talk | contribs) (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 2024Nextcloud (hist | edit) ‎[2,167 bytes]Ebroch (talk | contribs) (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 2024Open-Xchange (hist | edit) ‎[10,492 bytes]Ebroch (talk | contribs) (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 2024Groupware (hist | edit) ‎[115 bytes]Ebroch (talk | contribs) (Created page with "=== Open X-change=== === Nextcloud=== === Horde===")
  • 13:02, 27 March 2024IMAP/SMTP Authentication tests (hist | edit) ‎[3,341 bytes]Ebroch (talk | contribs) (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 2024Qmail queue (hist | edit) ‎[285 bytes]Ebroch (talk | contribs) (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 2024Dspam w/PostgreSQL (hist | edit) ‎[3,931 bytes]Ebroch (talk | contribs) (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 2024Alias Domains (hist | edit) ‎[1,294 bytes]Ebroch (talk | contribs) (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 2024Shutting down Qmail manually (hist | edit) ‎[1,690 bytes]Ebroch (talk | contribs) (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 2024Control Files List (hist | edit) ‎[13,922 bytes]Ebroch (talk | contribs) (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 2024PHP upgrade 7.x to 8.1 (hist | edit) ‎[1,829 bytes]Ebroch (talk | contribs) (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 2024Securing SquirrelMail (hist | edit) ‎[56 bytes]Ebroch (talk | contribs) (Created page with "== 1 == == PHP upgrade 7.x to 8.1 ==")
  • 22:02, 26 March 20247.x to 8.x (hist | edit) ‎[187 bytes]Ebroch (talk | contribs) (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 2024PHP (hist | edit) ‎[49 bytes]Ebroch (talk | contribs) (Created page with "== 7.x to 8.x ==")
  • 19:10, 26 March 2024Vpopmail daemon (hist | edit) ‎[1,101 bytes]Ebroch (talk | contribs) (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 2024Vpopmail (hist | edit) ‎[57 bytes]Ebroch (talk | contribs) (Created page with "== Vpopmail daemon ==")
  • 17:28, 26 March 2024LDA (hist | edit) ‎[1,450 bytes]Ebroch (talk | contribs) (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...")
  • 17:28, 26 March 2024Dovecot (hist | edit) ‎[44 bytes]Ebroch (talk | contribs) (Created page with "== LDA ==")
  • 16:13, 26 March 2024EzMLM Commands (hist | edit) ‎[2,579 bytes]Ebroch (talk | contribs) (Created page with " 1. Create a mailing list A. Create domain 1) # /home/vpopmail/bin/vadddomain mydomain.com 'password' B. Create ezmlm mailling list w/features ezmlm flags Flags: -5 List owner Flags: -Afpqut (No archive, Subject prefix, Public, Service requests, List members only, Trailer) 1) # ezmlm-make -5 postmaster@mydomain.com -Afpqut \ /home/vpopmail/domains/mydomain.com/mydomain-list \ /home/vpopma...")
  • 15:55, 26 March 2024Fail2ban (hist | edit) ‎[5,823 bytes]Ebroch (talk | contribs) (Created page with "# Install fail2ban # yum install fail2ban -y # Create the filter definition files in filter.d # cat >/etc/fail2ban/filter.d/qmail-smtp-authnotavail.conf << EOL [Definition] #Looks for failed auth outside TLS to SMTP failregex = 503 auth not available \(\#5\.3\.3\) - <HOST> ignoreregex = EOL # cat >/etc/fail2ban/filter.d/qmail-smtps-auth.conf<< EOL [Definition] #Looks for failed password logins to SMTP failregex = vchkpw-smtps: password fail ([^)]*) [^@]*@[^:]*:<HOST>...")
  • 15:52, 26 March 2024Spam Throttle (hist | edit) ‎[492 bytes]Ebroch (talk | contribs) (Created page with "Spam Throttle: If you are interested in implementing spam throttle, read the following man pages: man qmail-spamthrottle man qmail-spamt mail qmail-newst If you just want some reasonable defaults, do this: echo "::1501:120000::1000::::" > /var/qmail/control/spamt echo "." >> /var/qmail/control/spamt /var/qmail/bin/qmail-newst")
  • 15:29, 26 March 2024Amavis (hist | edit) ‎[7,918 bytes]Ebroch (talk | contribs) (Created page with " For testing until production stability proven. Get Amavis Qmail queue # grep "release 7" /etc/centos-release # [ "$?" = "0" ] && cos=7 || cos=8 # echo $cos # wget -O /var/qmail/bin/qmail-queue.smtp https://github.com/qmtoaster/amavis/blob/main/qmail-queue.smtp.cos${cos}?raw=true # chown qmailq:qmail /var/qmail/bin/qmail-queue.smtp # chmod 4711 /var/qmail/bin/qmail-queue.smtp Build Your Own qmail-queue.smtp Install Amavis & edit config, run clamd under Amavis, star...")
  • 14:30, 26 March 2024Simscan (hist | edit) ‎[8,220 bytes]Ebroch (talk | contribs) (Created page with "== Ramdisk ==")
  • 12:55, 20 March 2024Secure Qmail web administration (hist | edit) ‎[2,160 bytes]Ebroch (talk | contribs) (Created page with "Secure QMT Apache configuration file (/etc/httpd/conf/toaster.conf). Use 'aclnet' parameters suited for your configuration. <pre> <toaster.conf> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] Define aclnet "172.16.1.0/24 192.168.9.0/24 127.0.0.1" <IfModule mod_alias.c> ScriptAlias /mail/ /usr/share/toaster/cgi-bin/ Alias /admin-toaster /usr/share/toaster/htdocs/admin/ Alias /stats-toaster/ /usr/share/toast...")
  • 10:05, 20 March 2024Initial Configuration (hist | edit) ‎[910 bytes]Ebroch (talk | contribs) (Created page with "Add a domain: /home/vpopmail/bin/vadddomain your-domain.com Add a user: /home/vpopmail/bin/vadduser you@your-domain.com Edit /etc/php.ini and set register_globals = On service httpd restart Bring up your browser and go to: http://www.your-domain.com/admin-toaster/ Username: admin Password: toaster Change your password . . . Edit /etc/php.ini and set register_globals = Off service httpd restart Check your m...")
  • 16:17, 18 March 2024QMT Wiki (hist | edit) ‎[3,080 bytes]Ebroch (talk | contribs) (Created page with "Download latest MediaWiki # cd /var/www # https://releases.wikimedia.org/mediawiki/1.41/mediawiki-1.41.0.tar.gz # tar zxvf mediawiki-1.41.0.tar.gz # tee /root/sql.cnf<<EOF [client] user=root password='mypass' host=localhost EOF # mysqladmin --defaults-extra-file=$credfile create mediawiki # mysql --defaults-extra-file=$credfile -e "CREATE USER mediawiki@localhost IDENTIFIED BY 'p4ssw3rd'" # mysql --defaults-extra-file=$credfile -e "GRANT ALL PRIVILEGES ON mediawi...")
  • 11:10, 16 March 2024Wish List (hist | edit) ‎[8,644 bytes]Ebroch (talk | contribs) (Created page with "Have you found a patch, or know of some free software you'd like to see included with the Qmail-Toaster? You've come to the right place! Please edit a section below with your request. ====rblsmtpd & tcpserver timeouts==== '''Requestor:''' Jean-Paul van de Plasse '''Date:''' 1/9/07 '''Status:''' On Devel Site (1/14/2007) '''Description:''' If I am not mistaken the timeout is default 60 secs per rbl, normally one would think this would not give to much problems. But t...")
  • 11:10, 16 March 2024Replacing Courier IMAP with Dovecot IMAP (hist | edit) ‎[11,378 bytes]Ebroch (talk | contribs) (Created page with "If your QMT is running Courier IMAP and you're experiencing poor IMAP performance with large mailboxes, this is your solution. Dovecot runs efficiently on relatively low powered hosts, with accounts having in excess of 10G of mail. Thanks go to Phil and Scott for contributing to the first wiki content regarding dovecot. Their work helped to lay the foundation for getting dovecot integrated into QMT. Since then, this process has become much simpler. Dovecot is schedule...")
  • 11:07, 16 March 2024Autorespond-toaster (hist | edit) ‎[4,125 bytes]Ebroch (talk | contribs) (Created page with "'''Change Log''' * Wed Nov 01 2006 Erik A. Espinoza <espinoza@forcenetworks.com> 2.0.4-1.3.2 ** Add Fedora Core 6 support * Mon Jun 05 2006 Nick Hemmesch <nick@ndhsoft.com> 2.0.4-1.3.1 ** Add SuSE 10.1 support * Sat May 13 2006 Nick Hemmesch <nick@ndhsoft.com> 2.0.4-1.2.9 ** Add Fedora Core 5 support * Sun Nov 20 2005 Nick Hemmesch <nick@ndhsoft.com> 2.0.4-1.2.8 ** Add SuSE 10.0 and Mandriva 2006.0 support * Sat Oct 15 2005 Nick Hemmesch <nick@ndhsoft.com> 2.0.4-1.2.7 **...")
  • 11:06, 16 March 2024Project Change Log (hist | edit) ‎[6,957 bytes]Ebroch (talk | contribs) (Created page with "The following change log is from the prior main web site. '''08/06/2012''' - Updated all packages to current upstream releases. These packages carry a 1.4.n QMT version. '''07/31/2011''' - Updated clamav to 0.97.2. This is a bugfix release and if you were experiencing issues with odd hangs of clamav it is recommended you upgrade. For more information, [http://git.clamav.net/gitweb?p=clamav-devel.git;a=blob_plain;f=ChangeLog;hb=clamav-0.97.2 here are the release notes]....")
  • 11:06, 16 March 2024Change Logs (hist | edit) ‎[493 bytes]Ebroch (talk | contribs) (Created page with "====Project Change Log==== ====autorespond-toaster==== ====clamav-toaster==== ====control-panel-toaster==== ====courier-authlib-toaster==== ====courier-imap-toaster==== ====daemontools-toaster==== ====djbdns==== ====ezmlm-toaster==== ====isoqlog-toaster==== ====libdomainkeys-toaster==== ====maildrop-toaster==== ====qmailadmin-toaster==== ====qmailmrtg-toaster==== ====qmail-toaster==== ====ripmime-toaster====...")
  • 11:01, 16 March 2024Webmail Client (hist | edit) ‎[565 bytes]Ebroch (talk | contribs) (Created page with "(This page is still underdevelopment) Below are lists of Webmail Client that can be use with QmailToaster == AfterLogic lite == http://www.afterlogic.com/products/webmail-lite == atmail == http://atmail.org/ == eGroupware == http://www.egroupware.org/ == Hastymail == http://www.hastymail.org/ == Horde == http://www.horde.org/ == Nutsmail == http://nutsmail.com == RoundCube == http://roundcube.net == Squirrelmail == http://squirrelmail.org/ == SquirrelOutlook ==...")
  • 11:01, 16 March 2024Squirrelmail Global Address Book (hist | edit) ‎[4,585 bytes]Ebroch (talk | contribs) (Created page with "From: http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg14851.html Below are my way to provide Squirrelmail Global Address Book for my users. 1. create sqweb_gabook.sh and sqweb_gabook.php in one folder 2. chmod +x sqweb_gabook.sh 3. edit parameters on both files 4. run sqweb_gabook.sh for first time 5. edit squirrelmail config to load your newly created global address book. More info: http://www.squirrelmail.org/docs/admin/admin-7.html#ss7.5 6. to...")
  • 11:01, 16 March 2024Clickable Banner (hist | edit) ‎[1,398 bytes]Ebroch (talk | contribs) (Created page with "* Login as root to your server * Go to Squirrelmail folder cd /usr/share/squirrelmail/src * Make a backup of the original login.php cp login.php login.php.org * Edit the file login.php vi login.php * Add the text right at the bottom of the file, after: <pre> do_hook('login_bottom'); ?> <div style="text-align: center;"><a h ref=" your_url " target="_blank"> <img height="60" width="468" alt="any text h...")
  • 11:00, 16 March 2024Resolving apparent login failures with SMTP and POP (hist | edit) ‎[1,451 bytes]Ebroch (talk | contribs) (Created page with "Following upgrades or initial installations, you may find that your mail client is unable to connect successfully to your SMTP submission port or to the POP3 port. Some mail clients will report this as a password error; others may simply report a generic problem. One possibility is that the 'vchkpw' daemon does not have enough memory to run. You can test this by hand-simulating a POP session with, for example: '''telnet yourhost.com pop3''' Trying 1.2....")
  • 10:59, 16 March 2024How to set up a mail list so that you can email ALL of your domains at one time (hist | edit) ‎[2,269 bytes]Ebroch (talk | contribs) (Created page with "Have you ever wanted to email all the user accounts on all domains on your server at the SAME time (server downtime notifications, etc)? Now you can and the best part is that it is very simple to do! The first thing you need to do is to create a mailinglist on your default domain (does not have to be the default domain, however usually this is your domain anyway). I would suggest making the name of the list something obtuse (not easy to guess so as to prevent spam) and...")
  • 10:58, 16 March 2024How to Setup DKIM with Qmail Toaster (hist | edit) ‎[6,498 bytes]Ebroch (talk | contribs) (Created page with " 1. Global key (default for all domains) # yum install perl-XML-Simple perl-Mail-DKIM perl-XML-Parser # wget https://raw.githubusercontent.com/qmtoaster/dkim/master/qmail-remote # wget https://raw.githubusercontent.com/qmtoaster/dkim/master/signconf.xml # mkdir /var/qmail/control/dkim # mv signconf.xml /var/qmail/control/dkim/ # chown -R qmailr:qmail /var/qmail/control/dkim/ CentOS 7 # dknewkey /var/qmail/co...")
  • 10:56, 16 March 2024TCP Server limits configuration (hist | edit) ‎[3,713 bytes]Ebroch (talk | contribs) (Created page with "http://iserve01.i-serve.net/ucspi-tcp-toaster-0.88-1.3.4.src.rpm The variables are: (1) MAXLOAD maximum 1-minute load average * 100. For example, if you have line :allow,MAXLOAD="350" in your rules file from which you created .cdb, the connection will be accepted only if load average is below 3.50 (2) MAXCONNIP maximum connections from one IP address. tcpserver's -c flag defines maximum number of allowed connections, but it can be abused i...")
  • 10:55, 16 March 2024Rsync your backups (hist | edit) ‎[5,585 bytes]Ebroch (talk | contribs) (Created page with "== Rsync your backups == This is a quick guide on how to setup rsync to replicate your backups made using the backup script to other servers across the Internet. Why would you do this? Lets say that you're already making backups using the backup script. Now lets say the hard drive physically fails. How do you get all of your emails, accounts, domains, etc. back? You don't. Start rebuilding them by hand. Enter rsync. It's an easy way to allow you to copy/move your fil...")
  • 10:55, 16 March 2024Recovering from a blown upgrade (hist | edit) ‎[2,087 bytes]Ebroch (talk | contribs) (Created page with "===Recovering from a blown upgrade=== A few weeks ago someone posted a message about how he did an upgrade on a production server and it stopped working. He was getting the message "451 qq write error or disk full (#4.3.0)" I had this same problem happen today. While I do not know what caused it, I suspect that not turning off monit had something to do with it, as monit would have tried to restart qmail every few minutes. Again, this is just a suspicion. The tangibl...")
  • 10:55, 16 March 2024Rebuilding cdb files (hist | edit) ‎[816 bytes]Ebroch (talk | contribs) (Created page with "===Rebuilding cdb files=== I cannot seem to remember the commands to rebuild the cdbs, so I bashed one up to do it for me, automagically...put it in /etc/cron.hourly...this way all your cdbs are never more than an hour old. #!/bin/bash #rebuilds simcontrol.cdb /var/qmail/bin/simscanmk sleep 2 #rebuilds simversions.cdb /var/qmail/bin/simscanmk -g sleep 2 #rebuilds badloadertypes--rare-ok to comment out /var/qmail/bin/qmail-badloadertypes sleep 2 #rebuilds badm...")
  • 10:54, 16 March 2024Qmail Log Backup Script (hist | edit) ‎[1,651 bytes]Ebroch (talk | contribs) (Created page with "Qmail Log Backup Script to backup your qmail log files without increasing the value of logsize and logcount control files by tar.gz-ed to another folder Filename: /etc/cron.daily/backupqmaillog.sh so it can run everyday. #!/bin/bash # # qmaillog backup utility # version 0.1 # pakogah@pala.bo-tak.info # 4 Aug 2007 # this qmaillog backup utility by default will backup # today qmail's send and smtp log into /home/backuplog # and keep it for the next 7 days # enh...")
  • 10:54, 16 March 2024MySQL - Tuning for QMT (hist | edit) ‎[1,921 bytes]Ebroch (talk | contribs) (Created page with "For those who aren't MySQL DBA's, here is a good start to tuning the QMT MySQL. Here is a guy that wrote a nice script for testing the current performance and makes recommendations for improvement. http://www.day32.com/MySQL and for additional tool you can use MySQLTuner from http://mysqltuner.com In order for the script to have a good snapshot of what is happening, your MySQL should be running for at least 48 hours. When I ran it, it recommended the following: long...")
(newest | oldest) View (newer 100 | ) (20 | 50 | 100 | 250 | 500)