For this to work you need few things to be installed on your system. Check your system manual on how to install them.
- RPM based systems - rpm-build, gcc, g++, autoconf, automake, libtool, aclocal, rpmdevtools
- Debian based systems - build-essentials, cdbs, debhelper, gnupg2
- Arch Linux - base-devel
$ cd /usr/local/src
$ git clone https://github.com/indimail/libqmail.git
$ git clone https://github.com/indimail/indimail-mta.git
$ git clone https://github.com/indimail/indimail-virtualdomains.git
Common library used by indimail, indimail-mta, ezmlm-idx, tinydnssec packages
$ cd /usr/local/src/libqmail
$ ./create_rpm # for RPM
$ ./create_debian # for deb
$ ./create_archpkg # for zst (Arch Linux)
$ cd /usr/local/src/indimail-mta/libdkim-x
$ ./create_rpm # for RPM
$ ./create_debian # for deb
$ ./create_archpkg # for zst (Arch Linux)
$ cd /usr/local/src/indimail-mta/libsrs2-x
$ ./create_rpm # for RPM
$ ./create_debian # for deb
$ ./create_archpkg # for zst (Arch Linux)
Essential component required for providng MTA functions
$ cd /usr/local/src/indimail-mta/indimail-mta-x
$ ./create_rpm # for RPM
$ ./create_debian # for deb
$ ./create_archpkg # for zst (Arch Linux)
Optional component. Required only if you require a Name Service Switch & extra PAM modules for authentication
$ cd /usr/local/src/indimail-virtualdomains/indimail-auth
$ ./create_rpm # for RPM
$ ./create_debian # for deb
$ ./create_archpkg # for zst (Arch Linux)
Optional. You require this if you want IMAP/POP3 or fetchmail to retrieve your mails
$ cd /usr/local/src/indimail-virtualdomains/indimail-access
$ ./create_rpm # for RPM
$ ./create_debian # for deb
$ ./create_archpkg # for zst (Arch Linux)
Optional. Required only if you want utilities like altermime, ripmime, flash menu, mpack and fortune
$ cd /usr/local/src/indimail-virtualdomains/indimail-utils
$ ./create_rpm # for RPM
$ ./create_debian # for deb
$ ./create_archpkg # for zst (Arch Linux)
Optional. Required only if you want to use bogofilter to filter SPAM mails
$ cd /usr/local/src/indimail-virtualdomains/bogofilter-x
$ ./create_rpm # for RPM
$ ./create_debian # for deb
$ ./create_archpkg # for zst (Arch Linux)
Installing and configuration is much simplied when you use the Binary Packages Build. The pre, post instlation scripts do all the hard work for you.
For RPM based distributions
$ sudo rpm -ivh file.rpm
For Debian based distributions
$ sudo dpkg -i file.deb
For Arch Linux
$ sudo pacman -U file.zst