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).
- 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
- Zeyple: update from 1.2.2 to upstream 3.0.0 (#102). Mail to a subaddress such as
user+tag@example.comis now encrypted with the key foruser@example.com. - rbl_override (#103, fixes #99)
- An
rbl_overridefile 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 with451 4.3.5 Server configuration error. - The container now stops with an error if
/etc/postfix/rbl_overrideis 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.
- An
- fetchmail: update
fetchmail.plto current PostfixAdmin (#104). It now uses each job's port, escapes"and\in source passwords, acceptsdovecotin a job'smdafield, and passes its pid file to fetchmail correctly.
Upgrade notes
- Yara-Rules: if your clamav-unofficial-sigs
user.confsetsyararulesproject_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_portcolumn, which PostfixAdmin added in 3.3.0. With an older schema, fetch jobs stop without any message. Themailserver2/postfixadminimage is 4.0.5, so it has the column. - Existing volumes: files under
/var/mail/clamav-unofficial-sigsare re-owned toclamavat startup, exceptuser.conf, which keeps its owner. - rbl_override as a directory: a container whose
rbl_overrideis 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:
- Disable MSBL's email blocklist in test containers (
TESTING=trueonly), because it lists the fixture senderuser@gmail.com(#100). - Bump
actions/checkoutfrom v3 to v7, and remove the unused Probot Stale config (#98). - Remove test containers together with their volumes (#94).
- New tests for: