Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593020 - mail-filter/rspamd-1.3.5: version bump
Summary: mail-filter/rspamd-1.3.5: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL: https://github.com/vstakhov/rspamd/re...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-07 05:42 UTC by Kilburn Abrahams
Modified: 2016-09-10 15:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kilburn Abrahams 2016-09-07 05:42:02 UTC
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
Comment 1 Marcin Mirosław 2016-09-07 14:39:17 UTC
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.
Comment 2 Marcin Mirosław 2016-09-08 08:04:44 UTC
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'
Comment 3 Christian Roessner 2016-09-09 16:02:01 UTC
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
}
Comment 4 Christian Roessner 2016-09-09 16:02:30 UTC
And yes, please bump version :-)
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-09-10 15:02:29 UTC
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.