Re: Bogofilter support
Stephen Davies <[email protected]> Tue, 16 Dec 2025 21:15:48 +1030
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <[email protected]> |
On 16/12/25 20:53, Damian wrote:
>> Has anybody added bogofilter to current amavisd?
>
> Do you mean [1, 2]?
>
> [1] https://gitlab.com/amavis/amavis/-/blob/master/RELEASE_NOTES#L2302
> [2] https://gitlab.com/amavis/amavis/-/blob/master/lib/Amavis/Conf.pm#L883
>
I have it working after a fashion with:
['Bogofilter', '/usr/local/bin/bogofilter', '/usr/local/bin/bogofilter',
'-e -p -u',
[qr/^X-Bogosity: Spam, tests=bogofilter/],
qr/^X-Bogosity: Spam, tests=bogofilter, score=(\d+)/,
qr/^X-Bogosity: Ham, tests=bogofilter/,
qr/^X-Bogosity: Unsure, tests=bogofilter, score=(\d+)/,
qr/^X-Bogosity: Spam/,
qr/^X-Bogosity: Ham/
],
but it still delivers emails with ***SPAM*** added to the subject and
seems to miss a lot of spam.