Skip to content

indimail-mta 2.10

Compare
Choose a tag to compare
@mbhangui mbhangui released this 21 May 08:36

DATE: Thursday 21 May 2020 01:43:22 PM IST

Announcing Release 2.10 of indimail-mta.

You can find the ChangeLog at the bottom of this notes.

The major changes in this release are

  • fixed core dump in qcount_dir.c
  • added checkpassword binary sys-checkpwd to authenticate system users for authenticated SMTP
  • Take envirnoment variables from $HOME/.defaultqueue condredirect dot-forward fastforward filterto forward maildirserial new-inject qmail-inject qmail-qread qnotify qreceipt replier rrforward rrt
  • New program ctrlnenv that can run a program after setting environment variables after matching addresses in text, cdb or MySQL database
  • New programs cdb-database, sql-database that can create cdb, MySQL database files for ctrlenv program
  • Added ability to disable Yahoo domainkeys, DKIM in dk-filter by setting NODK, NODKIM env variables.
  • docker-entrypoint: if mtab is missing, create /etc/mtab as link to /proc/self/mounts or /proc/mounts
  • qmail.c, qmail.h - fix integer signedness error in qmail_put() CVE-2005-1515
  • various - fixed integer signedness error
  • ofmipd - added maxcmdlen control file to limit command length

indimail-mta has two RPM / DEB / yum / apt repositories for most of the Linux Distros at

Stable Releases

Repository Location

http://download.opensuse.org/repositories/home:/indimail/

Install Instructions

https://software.opensuse.org/download.html?project=home%3Aindimail&package=indimail-mta

Currently, the list of supported distributions for indimail-mta is

* SUSE Linux distributions
      o openSUSE Tumbleweed
      o openSUSE_Leap_15.2
      o openSUSE_Leap_15.1
      o SUSE Linux Enterprise 15
      o SUSE Linux Enterprise 15_SP2
      o SUSE Linux Enterprise 15_SP1
      o SUSE Linux Enterprise 12 SP4
      o SUSE Linux Enterprise 12 SP3
      o SUSE Linux Enterprise 12 SP2
      o SUSE Linux Enterprise 12 SP1
      o SUSE Linux Enterprise 12

* Redhat based distributions
      o Fedora 32
      o Fedora 31
      o Red Hat Enterprise Linux 7
      o Red Hat Enterprise Linux 6
      o CentOS 7
      o CentOS 6

* Debian Distributions
      o Debian 10
      o Debian 9.0
      o Debian 8.0
      o Debian 20.04
      o Ubuntu 19.10
      o Ubuntu 19.04
      o Ubuntu 18.04
      o Ubuntu 17.04
      o Ubuntu 16.04

Bleeding Edge Releases

indimail-mta has RPM / yum repositories for the latest features being added. You will find
the RPMs at

Repository Location

http://download.opensuse.org/repositories/home:/mbhangui/

Install Instructions

https://software.opensuse.org/download.html?project=home%3Ambhangui&package=indimail-mta

Docker / Podman Images

indimail-mta has docker/podman images. See https://github.com/mbhangui/docker for more details

You can pull all the docker/podman image using the command

docker pull cprogrammer/indimail-mta:tag
or
podman pull cprogrammer/indimail-mta:tag

Replace 'tag' with one of the following
centos8
centos7
fc32
fc31
debian10
debian9
debian8
focal
bionic
xenial
Tumbleweed
Leap15.2

ChangeLog

Release 2.10 Start 23/03/2020

  • 23/03/2020
  1. renamed indimail-mta-2.x to indimail-mta-x (unversioned directory)
  2. qlocal_upgrade.sh - --fixmysql_libs changed to --fixsharedlibs
  3. added qcount_dir() function to calculate maildir quota and counts
  4. etrn.c, maildirsize.c - use qcount_dir() instead of loadLibrary() to load count_dir() function from libindimail
  5. indimail_stub.c - BUG. Absense of control file shouldn't be treated as in error in loadLibrary() function
  6. svctool - fixes for libwatch service errors when indimail-mta is installed without MySQL
  • 27/03/2020
  1. use existing scan.conf, freshclam.conf to create clamd, freshclam config files in /etc/indimail
  2. qmail-lspawn, qmail-rspawn - fixed bug with setup_qlargs(), setup_qrargs()
  • 01/04/2020
  1. qcount_dir.c - Fixed alloc_re() core dump
  2. maildirsize.c - fixed typo in error message
  3. sys-checkpwd.c - refactored code. Added from systpass binary of indimail package
  4. svctool - added option to enable authenticated smtp
  5. svctool - renamed option to enforce authenticated smtp as --forceauthsmtp
  • 03/04/2020
  1. use environment variables $HOME/.defaultqueue before filterto.c forward.c maildirserial.c new-inject.c qmail-inject.c qmail-qread.c qnotify.c qreceipt.c replier.c rrforward.c rrt.c
  • 05/04/2020
  1. svctool - imap service creation bug - fixed creation of few variables that were failing because of absence of variables directory
  • 07/04/2020
  1. maildirsize.c - added getopt to allow command line argument for user and optional directory
  2. maildirsize.c - omit ./Maildir when directory is specfied on command line
  3. systemd/indimail - fixed path of sysv script for start/stop svscan services
  • 08/04/2020
  1. spawn-filter.c - fixed spamignore control file not being read
  2. qmail-daned.c - set controldir variable in cdb_match() function
  3. added cdb-database, ctrlenv program to for setting environment variables from control files, cdb, MySQL db
  4. hier.c - added cdb-database, ctrlenv
  • 08/04/2020
  1. sqlmatch.c - removed extra arguments to check_db()
  2. sql-database - new program to prepare MySQL database for ctrlenv
  • 09/04/2020
  1. dk-filter - added variables NODK, NODKIM to disable domainkeys, dkim
  2. libdkim (dkimsign.cpp) - check for null domain after DKIMDOMAIN replacement
  • 10/04/2020
  1. ctrlenv.c - added feature to add multiple environment variables
  • 11/04/2020
  1. dkimsign.cpp, dk-filter - renamed DKIMDOMAIN to BOUNCEDOMAIN
  • 12/04/2020
  1. added missing libsrs2, libqmail to indimail-mini
  • 14/04/2020
  1. qmail-qmqpc.c - fixed control filename for timeoutremote
  2. added /usr/bin/irmail to indimail-mini
  • 15/04/2020
  1. fixed qmailctl success/failure for openSUSE tumbleweed
  • 22/04/2020
  1. svctool - fixed initscript name to svscan from indimail
  • 24/04/2020
  1. svctool - fixed checking for /etc/debian_version file
  • 28/04/2020
  1. svctool - fix for MySQL root password change - use SET PASSWORD instead of ALTER USER for older versions
  2. svctool - fix for MySQL community server in create_mysql_rootuser()
  • 29/04/2020
  1. docker-entrypoint - removed deletion of /service/mysql.3306/down
  2. svctool - fix for mariadb db creation on xenial
  3. change scope of variable strnum, rwhconfig_err to local
  4. define function prototypes as extern
  5. dns_name.c, dns_ip.c, dns_txt.c, dns.h - define dns_resolve_tx as extern in dns_resolve.c
  6. indimail-mta.spec - add qmail supplementary group to qscand user
  • 01/05/2020
  1. svctool - fixed updation of mysql_lib control on 64bit systems having mysql-community-libs
  • 03/05/2020
  1. svctool - fixed update-alternatives path for debian10
  • 04/05/2020
  1. docker-entrypoint: create /etc/mtab as link to /proc/self/mounts / /proc/mounts if missing
  2. docker-entrypoint: start apache if argument to podman/docker entrypoint is webmail
  • 06/05/2020
  1. docker-entrypont: start apache, php-fpm using svc command for webmail entrypoint
  • 09/05/2020
  1. indimail-mta.spec - reduced memory softlimit
  • 10/05/2020
  1. svctool - added option to specify databytes on command line
  • 11/05/2020
  1. added -Wshadow to conf-cc & fixed shadowing of global variables by local variables
  • 12/05/2020
  1. qmail.c - c89 function prototypes
  2. qmail.c, qmail.h - fix integer signedness error in qmail_put() CVE-2005-1515
  3. ofmipd.c - fixed integer signedness error
  4. ofmipd.c - c89 function prototypes
  5. ofmipd.c - added maxcmdlen control file to limit command length
  • 14/05/2020
  1. quote.c - fix integer signedness error
  • 15/05/2020
  1. qmail-local.c - use unsigned variables for array offsets of cmds variable
  2. qmail-send.c - converted function prototypes to c89 standard
  3. qmail-send.c - use unsigned int to store return value of str_len
  4. qsmook.c - use unsigned int to store return value of str_len
  5. sendmail.c - use unsigned int to store return value of str_len
  • 19/05/2020
  1. qmail-local.c - avoid race creating file in Maildir/tmp
  2. ofmipd.c: fixed shadowing of now by a global declaration
  3. load_mysql.h: fixed typedef for MYSQL_RES
  • 20/05/2020
  1. svctool: run qmail-daemon/qmail-start under softlimit 50 Mb