1. Originally, the -b flag required a space before it in case of a misread such as 'IP-based'. This can be worked around by using "(^\-b| \-b)", so now the script functions normally even when no space it added. 2. When spamd is started in blacklist mode, the -b flag for is appended by obspamd_flags. However, spamd-setup in the startup script doesn't use this setting. As a result, the blacklists fail to load in blacklist mode. By adding if and else conditions, this can be fixed as well. Fix: See patch. Patch attached with submission follows: How-To-Repeat: Simply use blacklist mode with a normal installation of mail/spamd.
Maintainer of mail/spamd, Please note that PR ports/137992 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137992 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Hi Denny Lin, thanks for the patch. Patch approved, please commit. Regards, olli
State Changed From-To: feedback->open Maintainer approved.
State Changed From-To: open->closed Committed, thanks!