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...")
  • 10:53, 16 March 2024How to integrate qms-analog for nicely log stats (hist | edit) ‎[250,882 bytes]Ebroch (talk | contribs) (Created page with "Tried a while ago qmailrocks and liked qms-analog option and sometimes would have saved me from long log debugging on qmailtoaster. now I have some time and decided to refresh qms-analog script to new qmail-scanner. '''BEWARE''' this patch might contain some errors please use it only in testing environment ! '''Install Dependencies''' cpan Time::HiRes DB_File Sys::Syslog MIME::Base64 yum install sharutils unzip perl-suidperl '''Download qmailanalog''' wget...")
  • 10:52, 16 March 2024Hardening your toaster (hist | edit) ‎[4,007 bytes]Ebroch (talk | contribs) (Created page with "Having done a basic install of QMT on Centos 5.4, I wanted to add a number of security-related features to protect my server. === SSH === Create a normal system user and set a password: <pre> adduser -g wheel <username> passwd <username> </pre> The above already added the user to the group wheel, so that you can later become root using '''su -'''. Edit '''/etc/ssh/sshd_config''' and set the option ''PermitRootLogin'' to ''no''. Now, restart sshd by running: <pre>...")
  • 10:50, 16 March 2024QMT Failover replication Setup (hist | edit) ‎[20,182 bytes]Ebroch (talk | contribs) (Created page with "==QMT Failover replication Setup== Craig Smith - 26th October 2006 - craig@doc-net.com Thanks to Jake for taking the time to review this for me before posting. It always helps to have a sounding board and Jake was kind enough to be that board for me. This page gives you a procedure to configure a backup qmt server that will be available for failover in the event of primary server failure. The backup server will only ever be 10 minute out from the primary.(depending...")
  • 10:50, 16 March 2024Disabling Domain Keys (hist | edit) ‎[332 bytes]Ebroch (talk | contribs) (Created page with "Unfortunately, domain keys are broken in Toaster. It's recommended that you disable them for the time being. This will be disabled in future releases anyway, until a suitable fix can be found. To disable domain keys: cd /var/qmail/bin ln -sf qmail-queue.orig qmail-queue And then restart qmail: qmailctl restart That's it!")
  • 10:49, 16 March 2024Convert Vpopmail alias into qmail alias (hist | edit) ‎[1,296 bytes]Ebroch (talk | contribs) (Created page with "From P.V.Anthony <pvanthony@singnet.com.sg> ---------------------- valias2dotqmail -------------------------------- !/bin/bash ################################################################# # script to convert alias stored in database back to .qmail-alias # # Example. # copy the script into the /home/vpopmail/domains/domain.com # then run: sh valias2dotqmail # ################################################################ # file name for the...")
  • 10:49, 16 March 2024Colorfull QMail Logging (hist | edit) ‎[4,692 bytes]Ebroch (talk | contribs) (Created page with "Info from AM (agmsoft@gmail.com) to displaying your Qmail log in color Add this line on your /etc/multitail.conf, if not exist create it. # QMT COLORS # QMT: clamd colorscheme:clamd cs_re:blue:^....-..-.. ..:..:.. cs_re:magenta:: cs_re:green:/var/qmail/simscan/.*(: OK) cs_re:red:/var/qmail/simscan/.*(: [^ ]* FOUND) cs_re:yellow:/var/qmail/simscan/.*( ERROR) # # QMT: qmail-smtp colorscheme:qmail-smtp cs_re:cyan:: cs_re:blue:^....-..-.. ..:..:.. cs_re:magen...")
  • 10:48, 16 March 2024CHKUSR - Enable characters for Blackberry devices (hist | edit) ‎[4,934 bytes]Ebroch (talk | contribs) (Created page with "== Intro == This tip is simply a step by step to recompile chkusr to allow the '/' character. == Why? == (PULLED FROM: [http://wiki.qmailtoaster.com/index.php/FAQs#I_keep_getting_.225.1.0_-_Unknown_address_error_571-.27sorry.2C_sender_address_has_invalid_format_.28.235.7.1_-_chkuser.29.27.22_errors.2C_especially_from_people_with_Blackberry_devices._What_can_I_do.3F This FAQ] ) I keep getting "5.1.0 - Unknown address error 571-'sorry, sender address has invalid format...")
  • 10:48, 16 March 2024MailingList Archiving (hist | edit) ‎[8,567 bytes]Ebroch (talk | contribs) (Created page with "If you want to setup Mailinglist Archiving system like Mail-Archive.com, you may want to install [http://www.mhonarc.org/ MHonArc] and [http://www.mhonarc.org/mharc/ mharc]. But for simplity I have create a scripts to install them which can be directly run at QMailToaster or QMT-ISO box Install how to: # vi install-mailarchive.sh #!/bin/sh # This script installs MHonArc (www.mhonarc.org), # Namazu (www.namazu.org), Procmail (www.procmail.org) # then install (www....")
  • 10:48, 16 March 2024Mailman (hist | edit) ‎[19,015 bytes]Ebroch (talk | contribs) (Created page with "Some folks like myself may prefer a more user-friendly and robust List Management package for their toaster than what ezmlm-toaster provides. '''[http://www.gnu.org/software/mailman/index.html Mailman, the GNU Mailing List Manager]''' is a full featured, widely used and well supported List Manager which can be used in place of, or along side of ezmlm-toaster. (Running both together shouldn't be a problem that I can think of as long as domain and list names are kept separ...")
  • 10:47, 16 March 2024Ezmlm Related Stuff (hist | edit) ‎[417 bytes]Ebroch (talk | contribs) (Created page with "If you're getting errors about the address not being in the To: or CC: lines, enable the -T flag in your list file: edit your listfile (/home/vpopmail/domains/yourdomain.com/.qmail-yourlist) Change this line: |/usr/bin/ezmlm-reject '/home/vpopmail/domains/yourdomain.com/yourlist' To this: |/usr/bin/ezmlm-reject -T '/home/vpopmail/domains/yourdomain.com/yourlist'")
  • 10:47, 16 March 2024Bulk import emails into EzMLM (hist | edit) ‎[1,152 bytes]Ebroch (talk | contribs) (Created page with "Ever had a large list of email addresses that you wanted to import into a mailing list, or converting from another mail program? It's possible. If you put all of your email addresses into a text file (Unix format), one email address per line, you can import them into your mailing list (which you already created, right?). Each address MUST contain a @ symbol. The import will stop at the first emtpy line, EOF, or the first email in an invalid format (no @ symbol). You ca...")
  • 10:46, 16 March 2024Outlook problems and possible solutions (hist | edit) ‎[3,260 bytes]Ebroch (talk | contribs) (Created page with "This was taken from an email I sent to a user regarding their Outlook issues that they insisted were a server issue. Basically Outlook can have hangs for just about any reason. I'm not going to try and keep these links current so if you find a broken one and a new link, please update this page! - Jake Do you have Office SP2 installed? http://www.microsoft.com/downloads/details.aspx?FamilyID=57E27A97-2DB6-4654-9DB6-EC7D5B4DD867&displaylang=en If you have, are you al...")
  • 10:44, 16 March 2024Dspam (hist | edit) ‎[3,613 bytes]Ebroch (talk | contribs) (Created page with "<pre> Install Dspam: wget https://raw.githubusercontent.com/qmtoaster/dspam/master/dspamdb.sh chmod 755 dspamdb.sh ./dpsamdb.sh Running the script 'dspamdb.sh' creates the dspam database, installs dspam, and starts the dspam service. If dspam is implemented for a domain, every email received by that domain will have a dspam signature in the header and a matching signature will automatically be entered in the dspam maria/mysql database. At this point there has been no tr...")
  • 10:42, 16 March 2024Scanning External non locally hosted domains (hist | edit) ‎[970 bytes]Ebroch (talk | contribs) (Created page with "===Scanning External non locally hosted domains=== Thanks to Erik Espinoza for these details. ;To scan an external domain or do a 3rd party spamassassin scanning service it is really rather easy. Follow the steps below. *1.Have Domain X's MX record changed to point to the spamassassin server. *2.On SA server, add Domain X's Domain to the /var/qmail/control/rcpthosts file. *3.ON SA server add the receiving server's address for Domain X to the smtproutes file. Examp...")
  • 10:41, 16 March 2024Prevent Spam from valid sender/recipient (hist | edit) ‎[1,855 bytes]Ebroch (talk | contribs) (Created page with "'''How to prevent spam from a spoofed local account.''' Example SMTP Log: 08-27 05:54:35 CHKUSER accepted sender: from <valid.email@account.no::> remote <[113.22.203.172]:unknown:113.22.203.172> rcpt <> : sender accepted 08-27 05:54:35 CHKUSER accepted rcpt: from <valid.email@account.no::> remote <[113.22.203.172]:unknown:113.22.203.172> rcpt <valid.email@account.no> : found existing recipient 08-27 05:54:35 policy_check: local valid.email@account.no -> local valid....")
  • 10:41, 16 March 2024How to redirect/bounce mail for sa-learn (hist | edit) ‎[2,749 bytes]Ebroch (talk | contribs) (Created page with "== How to bounce/redirect mail == As I've mentioned, forwarding mail into a spamtrap registers your email address as being a spam source; not good. Instead, we want to use the redirect or bounce feature available in a number of mail programs. Many thanks to all the contributors, listed in parentheses. '''AOL's integrated email client''' Redirecting mail is not available. (Dave Goldsmith) '''Eudora''' Select the message, go to the "Message" menu, choose redir...")
  • 10:40, 16 March 2024Install Razor (hist | edit) ‎[43 bytes]Ebroch (talk | contribs) (Created page with "This how to came from Gilbert T. Gutierrez, Jr. Operations Manager of [http://phoenixinternet.net/ Phoenix Internet] based on [http://wiki.apache.org/spamassassin/RazorSiteWide RazorSiteWide] <br> Create temporer razor folder <blockquote><code> mkdir razor<br> cd razor </code></blockquote> Install razor-agents-sdk <blockquote><code> wget http://prdownloads.sourceforge.net/razor/razor-agents-sdk-2.07.tar.bz2?download<br> tar xvjf razor-agents-sdk-2.07.tar.bz2<br> c...")
  • 10:40, 16 March 2024Install Pyzor (hist | edit) ‎[2,216 bytes]Ebroch (talk | contribs) (Created page with "===Install Pyzor=== Jake Vickers <jake@v2gnu.com> September 19, 2006 Scott Hughes - Updated - June 9, 2009 <blockquote>"Pyzor is a collaborative, networked system to detect and block spam using identifying digests of messages."<br /> (from the Pyzor website: http://pyzor.sourceforge.net/)</blockquote> Installing Pyzor is rather easy. You need to have python installed first. Here are the steps to install from source: Download pyzor from Sourceforge (http://s...")
  • 10:39, 16 March 2024Disabling Spam checking for a particular address or domain (hist | edit) ‎[1,235 bytes]Ebroch (talk | contribs) (Created page with "his tip shows how to disable Spam processing using simscan in your toaster. I added this tip after needing to disable spam checking for a given domain. I had a program which automatically generated emails for events and sent them using a perl script. The perl smtp module was not sending a header that Spam Assasin liked so every mail sent was being tagged as spam. Here are the steps I used to quit processing mails sent from this domain. First I located the simcontrol f...")
  • 10:39, 16 March 2024Adding greylisting to QMT (hist | edit) ‎[1,500 bytes]Ebroch (talk | contribs) (Created page with "'''Note, this method is deprecated, in favor of using spamdyke. Based on: http://www.kabewm.com/?p=19 and http://thomas.mangin.me.uk/software/qmail-greylist.html Download qmail-greyd and configure it <pre> cd /var/qmail/bin wget http://thomas.mangin.me.uk/data/source/qmail-greyd chmod +x qmail-greyd mkdir /var/qmail/grey chown vpopmail.vchkpw /var/qmail/grey </pre> Add ,GREY=”" to the :allow statement at the bottom of /etc/tcprules.d/tcp.smtp <pre>...")
  • 10:38, 16 March 2024Account verification using badmailto (hist | edit) ‎[2,190 bytes]Ebroch (talk | contribs) (Created page with "===Account verification using badmailto=== If you do not use a catchall account, then any incoming mail to an undefined account will be bounced or deleted, depending the CatchAll setting. However, if you choose to use a catchall account (for whatever reason), you can specify characteristics of invalid account names using entries in the badmailto control file to reject mail to invalid account names. For instance, if none of your account names contain the dash (-) ch...")
  • 10:30, 16 March 2024Enable/Disable POP3/SMTP/IMAP/Webmail access for a whole domain (hist | edit) ‎[1,181 bytes]Ebroch (talk | contribs) (Created page with "Below is a set of scripts to enable/disable POP3, SMTP, IMAP/Webmail and relaying for every user in a given domain. Create a script file, paste the code, and chmod +x it and you are done. Enjoy! [Credits to Eric Shubert for the original scripting.] ---- #!/bin/sh # script to change settings for all users in a domain # and disable POP3/SMTP/IMAP/Webmail Access. # SM - 24/11/10 # USAGE> ./disable_domain.sh yourdomain.net domain=$1 vpmdir=/home/vpopmail acc...")
  • 10:30, 16 March 2024Vpopmail - roaming users configuration (hist | edit) ‎[2,297 bytes]Ebroch (talk | contribs) (Created page with "===Vpopmail - roaming users configuration=== If you want to use the vpopmail roaming users configuration option here area few steps to follow : 1. rpm -Uvh vpopmail-toaster*.src.rpm go to (if you didnt set your own .rpmmacros config) /usr/src/redhat/SPECS and edit the file vpopmail-toaster.spec look for the configure options .. (./configure --prefix ....) line and change --disable-roaming-users into --enable-roaming-users .. If you want to add/re...")
  • 10:29, 16 March 2024Maintain Trash and Spam folder (hist | edit) ‎[5,310 bytes]Ebroch (talk | contribs) (Created page with " #!/bin/bash # qtprune.sh # # This file can be put in /etc/cron.daily # and will prune Trash/Spam directories # Nov 7, 2006 # # 3/5/2007 Added date configuration capability # # Erik A. Espinoza <espinoza@kabewm.com # # # # Number of days for Trasn TRASH_DAYS="28" # Number of days for Spam SPAM_DAYS="28" # Find Trash Dir PATH_TRASH="`find /home/vpopmail/domains -type d -name .Trash`" # Find Spam Dir PATH_SPAM="`find /home/vpopmail/domains -type d -nam...")
  • 10:29, 16 March 2024Bulk User Adding For Qmail Toaster (hist | edit) ‎[1,486 bytes]Ebroch (talk | contribs) (Created page with "Greetings, With help from the script PakOgah sent me I have created a bulk user adding script! It reads a text file which has entries like FIRSTNAME LASTNAME USERNAME And automatically adds the users in the text file, creates a comment field sets a default quota and password Suggestions are welcome. The script is attarched. Its still missing some functionality but its work in progress Kisakye ALex akisakye@ucu.ac.ug #!/bin/sh # # BULK USER ADDING FOR QMAIL TOASTER...")
  • 10:28, 16 March 2024Automatic account expirations (hist | edit) ‎[5,927 bytes]Ebroch (talk | contribs) (Created page with "== Information == From: http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg16395.html Below is a script to delete in-active account autimaticaally deleted from system. When I say in-active, it look from table vpopmail.lastauth. It's very suitable for enterprise/business mailserver which has many employees and maybe some of them are contract employees with medium turnover, and lacks of IT resource. And may not for ISP / Hosting company which has paying cu...")
  • 10:28, 16 March 2024Attachment size limitations (hist | edit) ‎[1,001 bytes]Ebroch (talk | contribs) (Created page with "===Attachment size limitations=== The default setting for 'databytes' is 20971520 which is a sane, default number. But MIME overhead is fairly high, so that 20m limit means you may not be able to receive attachments larger that 12-15m. That may seem to not be a problem, but if you host a domain that deals in large attachments for data transfer, you may need to increase that number in /var/qmail/control/databytes. You could set that to 0 (not advisable) to accept atta...")
  • 10:27, 16 March 2024Account Creation and Deletion Date (hist | edit) ‎[3,008 bytes]Ebroch (talk | contribs) (Created page with "== Background == My Helpdesk was audited by external auditor regarding date of creation and deletion of email accounts. I can't find it the exact date by looking /home/vpopmail folders. So I ask the community and Bharath Chari kind enough to provide the tweaks. == Notes == # Use this tips with qmailtoaster's version >= vpopmail-5.4.17 with mysql backend (not LDAP). # Use only with MySQL version 5.0 or newer which has trigger feature. # This trigger only work with vpopma...")
  • 10:25, 16 March 2024User Tips & Tricks (hist | edit) ‎[2,593 bytes]Ebroch (talk | contribs) (Created page with "== Account Management == === Account Creation and Deletion Date === === Attachment size limitations === === Automatic account expirations === === Bulk User Adding For Qmail Toaster === === Maintain Trash and Spam folder === === Roaming pop3 users (vpopmail) === === Enable/Disable POP3/SMTP/IMAP/Webmail access for a whole domain === == Anti Spam == === Account verification using badmailto === === ...")
  • 10:25, 16 March 2024Troubleshooting (hist | edit) ‎[11,612 bytes]Ebroch (talk | contribs) (Created page with "==DNS== Typical /etc/hosts: 127.0.0.1 server.yourdomain.com localhost.localdomain localhost Typical /etc/resolv.conf without dns caching: search yourdomain.com nameserver ip-address-of-first-nameserver nameserver ip-address-of-second-nameserver Typical /etc/resolv.conf with dns caching: search yourdomain.com nameserver 127.0.0.1 [http://www.mxtoolbox.com/SuperTool.aspx The SuperTool at MXToolbox.com] is a nice tool for testing DNS records, blacklists, and o...")
(newest | oldest) View (newer 100 | ) (20 | 50 | 100 | 250 | 500)