QmailAdmin

November 18, 2026 by Roberto Puzzanghera 206 comments

qmailAdmin is a free software package that provides a web interface for managing a qmail system with virtual domains. It provides admin for adding/deleting users, Aliases, Forwards, Mailing lists and Autoresponders.

Changelog

A special thanks to @yitzhaq for his great contribution to 1.3.0 release.

  • Nov 18, 2026 (version 1.3.0)
    - New 1.3.0 fixes several security vulnerabilities. Old versions should be upgraded as soon as possible.

    Security fixes by @yitzhaq in #15 and #16

    • Fixed a privilege escalation where ordinary mailbox users could invoke commands reserved for domain administrators.
    • Fixed a cross-Site Scripting (XSS) due to missing HTML escaping of user-controlled data.
    • Fixed an injection through CR/LF characters in user-supplied values.
    • Fixed CGI parsing and buffer-handling issues, including out-of-bounds memory accesses and potential crashes or memory corruption.

    What's New

    • alias.c can now display the :default option (on the way with next vpopmail-6.7.0) in #10
    • logdir moved to /var/log/vpopmail just like in next vpopmail-6.7.0 by #13
    • Template and CSS fixes for the add/modify user pages and error headings by @yitzhaq and Esteban Manchado Velázquez (@emanchado) in #11
    • modusergo: don't read control/defaultdelivery by @yitzhaq in #12
    • Sessions: random session ids in a cookie, request token, https only by @yitzhaq in #14
    • Permissions, input checks and output escaping by @yitzhaq in #15
    • Memory safety: bounded copies, CGI input parsing by @yitzhaq in #16
    • Mailing lists: moderator and digest commands for older ezmlm-idx by @yitzhaq in #17
    More info in the Changelog

Qmail and Vpomail licence and commit attribution history violation

November 15, 2026 by Roberto Puzzanghera 0 comments

I regret having to clutter this space with a rant prompted by a negative incident that has caused me considerable annoyance.

If you are -or have been- a contributor to this project, a supporter, a user, or simply someone who values ​​the philosophy of free software, please be aware that Brian O'Reilly ("fade") has cloned my qmail and vpopmail repositories and distributed our collective work while taking full credit for it himself. Look here:

You can see that, across the various branches of his repositories, every single commit appears as his own personal work; furthermore, his qmail and vpopmail repositories are not even identified as forks of my original ones.

If you navigate in my vpopmail and qmailadmin repos, you can find all commit's attribution history intact since the software was shipped by the Inter7's programmers. Brian O'Reilly has instead attributed to himself other people work and, by doing so, he has violated the licences.

This is not just a lack of respect; it is, quite frankly, dishonest behavior.

I ask Debian users to let me know if you come across any qmail/vpopmail packages distributed by this individual. In the meantime, I have filed a DMCA takedown notice with GitHub.

VqAdmin

November 18, 2026 by Roberto Puzzanghera 49 comments

vqadmin is a web based control panel that allows system administrators to perform actions which require root access — for example, adding and deleting domains.

As you can see, VqAdmin has a new version with a new skin, all my patches (with ALI's patch included) and a lot of work in polishing the code. I also solved all autotools and C compilation warnings and changed a couple of things in order to rebuild the HTML theme (have a look at the changelog for more details). As always, your contributions in the comments are welcome.

PS: the apache side has some modification as well.

Have fun!

Changelog

  • Nov 18, 2026 (v. 2.4.8)
    - show :default info in alias.c in #5
    - Dropped control/defaultdelivery from qmail control files in #6
    - Added 'policy' to control files in 7661dea
    - Removed all maildrop references, as vpopmail 5.7 dropped it in 8f5f2f9
  • Feb 18, 2026 (v 2.4.7)
    - 'show domain's users' page lists valiases too #4
    - bug fix in mod_domain.html: Mailing Lists domain limit was not copied correctly (ecce453)
  • Jan 31, 2026
    - relaylimits added to control files 4c5a859
    - disabled maintainer mode to avoid autotools regeneration on user builds #3
  • Jan 25, 2026
    - Domain's users listed alphabetically by domain and username #2 451da48
    - Dropped simsizelimit control file 868b8b2
  • Dec 06, 2024 (version 2.4.3)
    - added a patch to highlight users with restrictions and with admin privileges (PR #1, thanks Bai Borko)
    - added control files notlshosts_auto and tlsserverciphers

Installing ClamAV

November 17, 2026 by Roberto Puzzanghera 24 comments

Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed especially for e-mail scanning on mail gateways.

Changelog

  • Nov 18, 2026
    - clamav upgraded to v 1.5.5
  • Oct 11, 2025
    - clamav upgraded to v 1.5.0. A recent version of rust is needed (successfully using 1.88 here). Just reinstall as explained below. No particular change is needed in the config files.

Upgrading qmail

November 16, 2026 by Roberto Puzzanghera 607 comments

Changelog

  • Nov 16, 2026
    - bug fix in policy.c: fix argument count reset when parsing consecutive policy types in 5b2f1ff
  • Nov 11, 2026
    - Fix null reverse-path handling in sendmail -f option in #49
    - Fix stray \ before # in qmailctl causing warning af18e5b
  • Sep 29, 2026
    More info in the changelog
    - Modernization for compatibility with C23 and recent GCC/clang releases in #44
    - srs: do not rewrite qmail's internal envelope addresses ("#@[]" and VERP) by @yohgaki in #46
    - Improve general portability across linux and *BSD platforms in #47
  • Apr 7, 2026
    - (security) Remote Code Execution via Shell Injection in qmail-remote TLS Error Handler in #42 (tx Diep Pham)
  • Apr 2, 2026
    - qmail-remote auth improvements by pierluigi in #39
    - Fixed DKIM ed25519-sha256 signing and verification to conform to RFC8463 by @agerstla in #40
    - Updated qmail-qfilter to support filters defined in control/qfilters by @agerstla in #41
  • Feb 25, 2026
    - Improved DKIM status handling by @agerstla in #35
    - Ported over DKIM_BAD_IDENTITY support from Indimail (tx Manvendra Bhangui and Andreas Gerstlauer 1299b55)
    - SNI support for qmail-smtpd by @agerstla in #37
    - Added qmail-qfilter by @agerstla in #38
  • Feb 3, 2026
    - Bug fix for verifying multiple DKIM signatures (second one always failed due to a DNS lookup bug). tx Andreas Gerstlaurer #31
    - config-all.sh upgrade #33
    * config-all.sh: moreipme is now populated with IPs in separate lines
    * config-all.sh: rsa dh keys can be created even if the certificate creation is skipped
    * config-all requires to accept overwriting with y/N/a=all options
  • Apr 25, 2025
    - added a configuration script config-all, which configure and installs the control files (as per the original config-fast script), aliases, SRS (uses control/me as the srs_domain), log dirs in /var/log/qmail, tcprules (basic, just to make initial tests), supervise scripts, qmailctl script, DKIM control/filterargs and control/domainkeys dir, SURBL, smtpplugins, helodnscheck spp plugin, svtools, qmHandle, queue-repair, SSL key file (optional). 

Installing and configuring simscan

November 15, 2026 by Roberto Puzzanghera 101 comments

Simscan is a simple program that enables the qmail smtpd service to reject viruses, spam, and block attachments during the SMTP conversation so the processing load on the email system is kept to a minimum.

Changelog

  • Nov 15, 2026
    - Fix legacy C declarations and POSIX function prototypes for modern compilers in #7
    - Changed gcc to cc to make freebsd/clang compilers happy in e45eeb9
    - Message with found viri is now put in quarantine by Shah Imran in 459d557

Roundcube webmail

November 9, 2026 by Roberto Puzzanghera 17 comments

Roundcube is a full featured webmail with a nice interface.

Changelog

  • Nov 9, 2026
    - version 1.7.6 (security release)
  • Mar 9, 2025
    added $config['quota_zero_as_unlimited'] = true; to show quota unlimited instead of unknown for accounts with unlimited quota

Read the release note at https://github.com/roundcube/roundcubemail/blob/master/CHANGELOG.md for more info.

Installing a Let's Encrypt certificate for your qmail, dovecot and apache servers

October 20, 2026 by Roberto Puzzanghera 29 comments

Changelog

  • Oct 20, 2024 (v. 4.0.4)
    - bug fix: $CERT_CHANGED_FLAG was touched badly in hook.sh deploy_cert() function (8409252)
  • Oct 7, 2026 (v. 4.0.3)
    - sendmail bin determined by 'command -v', instead of using the sendmail shipped by qmail by default a20904b
  • Jul 25, 2026 (v. 4.0) hook scripts and below documentation completeley reviewed.
    - Added a new dehydrated-renew wrapper script to execute certificate renewal and perform service synchronization for SNI only when one or more certificates have actually changed.
    - Introduced a change flag mechanism (dehydrated.changed) to avoid unnecessary service reloads and restarts if any certificate has been actually deployed.
    - Consolidated post-renew operations into the new cert_sync() function, providing a single entry point for synchronizing qmail, Dovecot, and Apache certificate configuration after successful renewals. The same cert_sync() can be called via stand-alone script, which doesn't involve the dehydrated run.
    - Reduced unnecessary service interruptions by performing synchronization once per renewal run instead of once per renewed certificate.
    - qmail certificate is built only if MAKE_MAIL_CERTS=1 is set. If MAKE_MAIL_CERTS=0 the hook script only deploys the certificates (use for webserver).
    - Server Server Name Indication (SNI) stuff for qmail and dovecot can be disabled by setting ENABLE_SNI=0 (default).
    - ServerName and ServerAlias entries for Apache and SNI domains can be optionally set with ENABLE_APACHE_SNI_CONF=1.

Installing and configuring VPopMail

September 16, 2026 by Roberto Puzzanghera 228 comments

Vpopmail provides an easy way to manage virtual email domains and non /etc/passwd email accounts on your mail servers.

Changelog

  • Sep 16, 2026 (version 5.6.14)
    - Refactoring 64-bit endian conversion handling in #11
    - Purge vlog in #12 #13 853be6c 012e58d b4bafad d7fce5d
    - escape SQL through the client library, not by hand. by @yohgaki in #14
    - bug fix in vpalias.c: valias_select_next() was called with a 'alias' variable, while it is defined with no arguments (tx Ulrich) in #15
    - backfill.c: fix const qualifier warnings in strrstr() 8f77b5d
    - vusaged: rename internal list functions to vlist_* to avoid symbol collisions with MariaDB client library 1bb31ca
  • Feb 11, 2026
    - vlimits.c
    : avoids no file found exit when .qmailadmin-limits is not existent because no limits are defined yet (a565779)
    - added sql files to be imported on upgrade to v. 5.6.x (8136480)
  • Feb 8, 2026 (v. 5.6.12)
    - vmysql
    .c changes (#10)
    * valias_create_table now checks if table is already created in order to avoid warnings in dotqmail2valias
    * solved quotes issue in query in valias_insert function
    - improved the upgrade section
  • Nov 20, 2025 (v. 5.6.11)
    - vutil: 'isSomething' functions reviewed to satisfy qmailadmin calls in #9
    - Added definition of 'call_onchange' function and cured its calls to avoid break 97ffe38
  • Oct 30, 2025 (v. 5.6.10)
    - Added specific usage informations for s/qmail users (look here)
    - Dropped -std=gnu17 from compilation options and solved (probably) all breaks and warnings on gcc 15.2 2d8526d
    - configure.ac now looks for mariadb include and lib dir in addition to mysql dab36e8
    - configure.ac automatically looks for vanilla qmail's users/cdb and s/qmail's users/assign.cdb file 723efb3
    - Updated the usage() funcion message in vadduser.c to clarify the use of pre-hashed passwords with -e 5b5ccdb
    - control/defaultdelivery is now installed by vpopmail if --enable-defaultdelivery 77f54eb
    - vrcptcheck plugin for s/qmail: it now checks all kind of address (users, forwards, valiases) #7
    - Dropped unused functions in vpopmail.c #8
  • Sep 1, 2025 (v. 5.6.9)
    - added -std=gnu17 to gain compatibility with gcc-15 (PR #6)
    - pw_clear_passwd field enlarged to varchar(128) to create room for long passwords (tx Ricardo Brisighelli) c54688d
  • Mar 29, 2025 (v5.6.8)
    defaultdelivery
    feature (--enable-defaultdelivery) changes (more info here, commit):
    • vdelivermail is installed by default in .qmail-default of newly created domains with option 'delete' as in the previous version.
    • if no user's valiases and no .qmail are found, then the message is sent to the control/defaultdelivery file, so that dovecot-lda (or whatelse) can execute the sieve rules and finally store the message into inbox.
    • if vdelivermail is found in control/defaultdelivery, then it is ignored to avoid loops. The delivery is done by vdelivermail
    • v. 5.6.8 is backward compatible. The users having .qmail from previous versions of the defaultdelivery feature are not affected by this change.

qmail - basic setup

August 31, 2026 by Roberto Puzzanghera 48 comments

Changelog

  • Aug 31, 2026
    - fixed a qmail-queue issue on OpenBSD
  • Jun 25, 2026
    - netqmail branch for OpenBSD users available
  • Aug 19, 2025
    - netqmail-1.07.1: now compiles with gcc 15.3
  • Feb 10, 2025
    - the original netqmail sources are now compatible with latest gcc and clang compilers
    - renamed as netqmail-1.07 the original netqmail sources after the update

Recent comments
Recent posts

RSS feeds