Skip to content

v1.2.2

Latest

Choose a tag to compare

@AndrewSav AndrewSav released this 17 Nov 19:40
8da855c

Changes

  • Upgrade to new base Debian overlay image (#107)
  • clamav-unofficial-sigs
    • Update from 7.2.5 to 8.0.0 (#95). The Yara-Rules project is now off by default, because upstream no longer maintains it and some of its rules fail to load in current ClamAV. The MalwarePatrol free product code is now 32.
    • Turn off URLhaus (#95). abuse.ch now serves its ClamAV signatures only with an Auth-Key, and clamav-unofficial-sigs has no setting for one.
    • Run both the startup update and the hourly update as clamav (#94). The hourly run could not write the state files left by the startup run, which ran as root, so it fetched some sources every hour instead of once per interval. It also could not reload clamd.
    • Reload clamd through its socket (clamdscan --reload), and only once clamd has finished starting (#94). A reload sent while clamd was still starting used to be lost.
    • Send the hourly job's output to the container log instead of mailing it to clamav@<FQDN>, an address nobody reads (#94). Errors also land in /var/log/mail.err, and alerts in /var/log/mail.warn.
    • Don't install the updater when DISABLE_CLAMAV=true (#94).
  • Zeyple: update from 1.2.2 to upstream 3.0.0 (#102). Mail to a subaddress such as user+tag@example.com is now encrypted with the key for user@example.com.
  • rbl_override (#103, fixes #99)
    • An rbl_override file not owned by root now works, for example one created on the host by a regular user. Before, its map was never built, and Postfix answered every unauthenticated sender with 451 4.3.5 Server configuration error.
    • The container now stops with an error if /etc/postfix/rbl_override is a directory, or if its map can't be built. Docker creates such a directory when the host file of a bind mount is missing. Before, the container started without the map and deferred mail from the internet.
  • fetchmail: update fetchmail.pl to current PostfixAdmin (#104). It now uses each job's port, escapes " and \ in source passwords, accepts dovecot in a job's mda field, and passes its pid file to fetchmail correctly.

Upgrade notes

  • Yara-Rules: if your clamav-unofficial-sigs user.conf sets yararulesproject_enabled="yes", as the README example used to, Yara-Rules stays on. 8.0.0 then writes a deprecation warning to its own log on every run. Remove that line to follow the new default.
  • fetchmail: the script now needs the src_port column, which PostfixAdmin added in 3.3.0. With an older schema, fetch jobs stop without any message. The mailserver2/postfixadmin image is 4.0.5, so it has the column.
  • Existing volumes: files under /var/mail/clamav-unofficial-sigs are re-owned to clamav at startup, except user.conf, which keeps its owner.
  • rbl_override as a directory: a container whose rbl_override is a directory no longer starts. Mount a file there, or mount nothing and setup creates an empty one.

Tests and CI

  • CI prints the test containers' logs when a suite fails (make logs) (#105).
  • Fix flaky tests:
    • The clamd restart race in the reload test (#101).
    • Log checks that could run before rsyslog wrote the line (#105, #106).
    • rspamd counters thrown off by the cron job's mail (#94).
  • Disable MSBL's email blocklist in test containers (TESTING=true only), because it lists the fixture sender user@gmail.com (#100).
  • Bump actions/checkout from v3 to v7, and remove the unused Probot Stale config (#98).
  • Remove test containers together with their volumes (#94).
  • New tests for:
    • The clamav-unofficial-sigs cron job (#94).
    • rbl_override (#103).
    • fetchmail (#104).
    • Zeyple with subaddresses (#102).