Bump to 1.3.5 1.3.5: * [CritFix] Fix issue with finding of end of lines pointers * [Feature] Add DMARC_NA symbol * [Feature] Add R_DKIM_NA / R_SPF_NA / AUTH_NA symbols * [Feature] Add spamhaus DROP dnsbl * [Feature] Add termination callbacks for workers * [Feature] Add user-agent for rspamc * [Feature] Allow parsing of mailbox messages from the commandline * [Feature] Support excluding selected users from ratelimits * [Feature] Yield DMARC_DNSFAIL on lookup failure * [Fix] Banish table.maxn from Lua parts * [Fix] Do not use headers to calculate messages digests * [Fix] Fix absurdic scores for HFILTER_URL_ONLY * [Fix] Fix actrie patterns * [Fix] Fix format string * [Fix] Fix handling of '\0' in lua_tcp * [Fix] Fix issue with empty messages and dkim * [Fix] Fix min_learns option * [Fix] Fix options for SPF dnsfail symbol * [Fix] Fix processing of symbols when reject limit is reached * [Fix] Settings: fix `authenticated` parameter (#886) * [Fix] Try to avoid race condition when using rrd * [Fix] Use the correct macro to get the size of controller * [Fix] Fix build and tests on OpenBSD Reproducible: Always
rspamd-1.3.4 started to support reload: "It is now possible to gracefully reload Rspamd configuration by sending HUP signal or by using reload subcommand for the init scripts" it could be good to add it to init script.
About reload: /etc/init.d/rspamd reload * rspamd: function `reload' defined but does not exist Logrotate doesn't work because: # service rspamd reopenlog * rspamd: unknown function `reopenlog'
For reload, rspamd does not require SIGHUP (which reloads the configuraition). You can send a SIGUSR1: /var/log/rspamd/rspamd.log { daily rotate 4 delaycompress compress notifempty missingok postrotate test -r /run/rspamd/rspamd.pid && kill -USR1 $(< /run/rspamd/rspamd.pid) &>/dev/null endscript }
And yes, please bump version :-)
Bumped, and added a reload command to the init script. For further work on logrotate, please file another bug, with patch please. Also, we'll need to make sure that it works generically, for both systemd and openrc.