evolution and bogofilter

  • Done
  • quality assurance status badge
Details
5 participants
  • Christopher Howard
  • Christopher Howard
  • Marius Bakke
  • Tobias Geerinckx-Rice
  • zimoun
Owner
unassigned
Submitted by
Christopher Howard
Severity
normal
C
C
Christopher Howard wrote on 11 Feb 2020 22:10
(address . bug-guix@gnu.org)
557e0a4446101d6d849cb47a18b2cc54f0dd1a4f.camel@alaskasi.com
Hello, I'm trying to get spam filtering working in evolution. According
to evolution docs, evolution is supposed to use either bogofilter or
spam assassin. I am focusing on bogofilter since guix has a bogofilter
package. I have set all settings in evolution according to the
evolution docs from the help menu, but cannot get confirmation either
than spam filtering is actually working, or that evolution is in fact
interacting with bogofilter to build a words database. As part of that,
I'm trying to confirm if guix has correct options for that built into
evolution, to properly interact with bogofilter binary.

On the one hand:

- I see in source code of evolution guix pacakage that there is a
bogofilter module
- I see in built guix package that there is a .so library for
bogofilter
- I see, through gsettings, that there is a schema for evolution-
bogofilter

"""
gsettings get org.gnome.evolution.bogofilter command
''

"""

On the other hand:

- I selected all enable junk mail processing options in the preferences
menu and on the account level menu
- I can mark items and junk mail or not junk mail, but there is no feed
back as to whether a filter is doing anything
- I tried marking a bunch of items as junk mail and not junk mail, to
train bogofilter
- It does not appear that anything is automatically being marked as
junk
- if I just run bogofilter command at a shell, I get message

"""
Can't open file 'wordlist.db' in directory
'/home/christopher/.bogofilter'.
error #2 - No such file or directory.

Remember to register some spam and ham messages before you
use bogofilter to evaluate mail for its probable spam status!

"""

As though no database has been created yet.

Thinking maybe some bogofilter path or option not set during package
build. Tried to confirm this viewing build log from guix-build, but
since I have already built the package once from source, I cannot
figure out how to get guix-build to let me build it again.


--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
Attachment: file
C
C
Christopher Howard wrote on 11 Feb 2020 22:17
(address . 39571@debbugs.gnu.org)
3e8a44759de92d3fc7b34724cae4a903080a96e8.camel@alaskasi.com
Quick update: I tried settings the path myself in gnome schema to point
to the bogofilter binary in my profile. After restarting evolution, I
see now there is a words database in my home directory.

So, this may be the solution for me. However, it still leaves open the
question of whether guix evolution pacakge should be providing paths
for bogofilter or spamassassin at compile time, either by default or as
an option. It seems that if you do nothing, by default users of
evolution have no spam filtering, although it looks like they do.

--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
Attachment: file
M
M
Marius Bakke wrote on 14 Feb 2020 16:51
87blq188wf.fsf@devup.no
Hi Christopher,

I'm afraid I don't have any useful feedback regarding Evolution, but ...

Christopher Howard <christopher@alaskasi.com> writes:

Toggle quote (5 lines)
> Thinking maybe some bogofilter path or option not set during package
> build. Tried to confirm this viewing build log from guix-build, but
> since I have already built the package once from source, I cannot
> figure out how to get guix-build to let me build it again.

You can use 'guix build --no-grafts --log-file evolution' to get the
build log; or 'guix build --no-grafts --check evolution' to force a
rebuild (and check for bit-reproducibility at the same time).

HTH,
Marius
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5GwfAACgkQoqBt8qM6
VPpmUQf/YoDXw53HaZ8zXWzkZ+g9DKtKQH9MEPBrD2soQ/f50Y1CcWvvfrR//2iS
+xRyue+SeEj2yNqeQN6uGysZDHDuJtNFoREqeksJolWu8j+yWSFKEHzd3lJ2Tajm
CXAuKYQB0Xk/Ba8MIALz61+/opAV93MyiJ/3IgeRfpVMWGmlau+rwFUSvdXBxkCj
kJ8pUFlD3YwOAJuODvLYdbpp6EGuNKYbYgodAJ3hOO6NWLC0Jhee57Crhg3Db8Bp
rEL5TH/uNagP0vomCeXU6Hdbuu1qLq8KnzUc1pwbcyoQVO4aWivqdZGP2cPH3ZUg
acPrgWaQHui9p3NpcqBSzrVyPf2vrQ==
=PSu1
-----END PGP SIGNATURE-----

C
C
Christopher Howard wrote on 14 Feb 2020 22:04
276ee5b3c2c6c31e675597d7b904ca33a4ad545c.camel@alaskasi.com
Hi:

build log was too big to paste, but here are the configure options that
showed up in it:

"""
-- Configure options:
-- LIB_SUFFIX ...............
-- CMAKE_INSTALL_PREFIX .....
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4
-- BIN_INSTALL_DIR ..........
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/bin
-- INCLUDE_INSTALL_DIR ......
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/include
-- LIB_INSTALL_DIR ..........
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/lib
-- LIBEXEC_INSTALL_DIR ......
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/libexec
-- SHARE_INSTALL_PREFIX .....
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/share
-- LOCALE_INSTALL_DIR .......
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-
3.32.4/share/locale
-- SYSCONF_INSTALL_DIR ......
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/etc
-- MAN_INSTALL_DIR ..........
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/share/man
-- ENABLE_CODE_COVERAGE ..... OFF
-- ENABLE_SCHEMAS_COMPILE ... ON
-- ENABLE_GTK_DOC ........... OFF
-- ENABLE_INSTALLED_TESTS ... OFF
-- WITH_OPENLDAP ............ /usr
-- WITH_SUNLDAP ............. OFF
-- WITH_STATIC_LDAP ......... OFF
-- ENABLE_SMIME ............. ON
-- WITH_NSPR_INCLUDES .......
-- WITH_NSPR_LIBS ...........
-- WITH_NSS_INCLUDES ........
-- WITH_NSS_LIBS ............
-- ENABLE_MAINTAINER_MODE ... OFF
-- VERSION_SUBSTRING ........
-- VERSION_COMMENT ..........
-- ENABLE_GNOME_DESKTOP ..... ON
-- WITH_ENCHANT_VERSION ..... auto (enchant-1)
-- ENABLE_CANBERRA .......... ON
-- ENABLE_AUTOAR ............ ON
-- WITH_HELP ................ ON
-- ENABLE_YTNEF ............. ON
-- WITH_BOGOFILTER .......... ON
-- WITH_SPAMASSASSIN ........ ON
-- WITH_SA_LEARN ............ ON
-- ENABLE_GTKSPELL .......... ON
-- ENABLE_PLUGINS ........... all
-- ENABLE_TEXT_HIGHLIGHT .... ON
-- ENABLE_WEATHER ........... ON
-- ENABLE_CONTACT_MAPS ...... OFF
-- ENABLE_PST_IMPORT ........ OFF
-- WITH_GLADE_CATALOG ....... OFF

"""

Obviously BOGOFILTER and SPAMASSASSIN are enabled, but I'm not seeing
INSTALL_DIR option or similar to set paths to BOGOFILTER and
SPAMASSASSIN. I still don't know if one can be set or not, just that I
don't see it there. I tried to look into that earlier but my lack of
familiarity with cmake got in the way of figuring out the answer. If
such a config option doesn't exist, I think we would need to ask for
it, or patch it in. Otherwise all new Guix gnome users are going to be
wondering why spam filtering is not working in evolution, even though
they installed bogofilter (or spamassassin).



-----Original Message-----
From: Marius Bakke <mbakke@fastmail.com>
To: Christopher Howard <christopher@alaskasi.com>,
39571@debbugs.gnu.org
Subject: Re: bug#39571: evolution and bogofilter
Date: Fri, 14 Feb 2020 16:51:12 +0100

Hi Christopher,
I'm afraid I don't have any useful feedback regarding Evolution, but
...
Christopher Howard <christopher@alaskasi.com> writes:
Toggle quote (5 lines)
> Thinking maybe some bogofilter path or option not set during
> packagebuild. Tried to confirm this viewing build log from guix-
> build, butsince I have already built the package once from source, I
> cannotfigure out how to get guix-build to let me build it again.

You can use 'guix build --no-grafts --log-file evolution' to get
thebuild log; or 'guix build --no-grafts --check evolution' to force
arebuild (and check for bit-reproducibility at the same time).
HTH,Marius
--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
Attachment: file
-----BEGIN PGP SIGNATURE-----

iQHNBAABCAA3FiEEK8UOcoUnnDS3Hd5rzFnfash7YXcFAl5HC18ZHGNocmlzdG9w
aGVyQGFsYXNrYXNpLmNvbQAKCRDMWd9qyHthd5jHC/0XsvGAmXBD1Yjk+e4Uwf+Z
bCal/VvY/qgn+EB0dYvRl+7vhm/EGhetkzLZj2jp4PBt+fjyNzovX96dloA8YpTr
08+65mVxN6obJJ6nr1xVxDilCVRMI0+X+TjGcDR03bkYJEvyFuT7Dqse224T0Vfd
WuDyUkKD56S27xapFQCj4n4LRhl6g1gvvxdCDjl3gpnResUWXldAMlosI01FpkF+
P1f3AEtJbxS8E8eFBqWKlS8o/OhrJhGn/DgOF2lHqeGq4WjEhK49U+s9Bl/9jOh3
FJimnewYV+9m6QnH+GsDrS4+Dh+OWaefPe15QSe/MsmEoCMAGhlE/ryl6AO+68sw
TVkydvWcBT5GDJcHwC6oU21o5IUKa7cL6u5D2vMJnhr09tSVyZ721TfNkCNcKZx4
O/dEj5duakPKoTXu5+nnoIfhLKENU7XPzkbvBdoyRhwf5tQocqEBVws9hVVj8j8a
sr236DF2/lM9Ct+CujTGlcXfSMYjS/WpVn4zQDRagqY=
=3yye
-----END PGP SIGNATURE-----


C
C
Christopher Howard wrote on 14 Feb 2020 22:04
ddaca04cd7305158fd9891c21f3c2014516f0547.camel@alaskasi.com
Hi:

build log was too big to paste, but here are the configure options that
showed up in it:

"""
-- Configure options:
-- LIB_SUFFIX ...............
-- CMAKE_INSTALL_PREFIX .....
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4
-- BIN_INSTALL_DIR ..........
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/bin
-- INCLUDE_INSTALL_DIR ......
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/include
-- LIB_INSTALL_DIR ..........
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/lib
-- LIBEXEC_INSTALL_DIR ......
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/libexec
-- SHARE_INSTALL_PREFIX .....
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/share
-- LOCALE_INSTALL_DIR .......
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-
3.32.4/share/locale
-- SYSCONF_INSTALL_DIR ......
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/etc
-- MAN_INSTALL_DIR ..........
/gnu/store/j9513bw96fc0k5ra1nvlf7rrgqlbsagz-evolution-3.32.4/share/man
-- ENABLE_CODE_COVERAGE ..... OFF
-- ENABLE_SCHEMAS_COMPILE ... ON
-- ENABLE_GTK_DOC ........... OFF
-- ENABLE_INSTALLED_TESTS ... OFF
-- WITH_OPENLDAP ............ /usr
-- WITH_SUNLDAP ............. OFF
-- WITH_STATIC_LDAP ......... OFF
-- ENABLE_SMIME ............. ON
-- WITH_NSPR_INCLUDES .......
-- WITH_NSPR_LIBS ...........
-- WITH_NSS_INCLUDES ........
-- WITH_NSS_LIBS ............
-- ENABLE_MAINTAINER_MODE ... OFF
-- VERSION_SUBSTRING ........
-- VERSION_COMMENT ..........
-- ENABLE_GNOME_DESKTOP ..... ON
-- WITH_ENCHANT_VERSION ..... auto (enchant-1)
-- ENABLE_CANBERRA .......... ON
-- ENABLE_AUTOAR ............ ON
-- WITH_HELP ................ ON
-- ENABLE_YTNEF ............. ON
-- WITH_BOGOFILTER .......... ON
-- WITH_SPAMASSASSIN ........ ON
-- WITH_SA_LEARN ............ ON
-- ENABLE_GTKSPELL .......... ON
-- ENABLE_PLUGINS ........... all
-- ENABLE_TEXT_HIGHLIGHT .... ON
-- ENABLE_WEATHER ........... ON
-- ENABLE_CONTACT_MAPS ...... OFF
-- ENABLE_PST_IMPORT ........ OFF
-- WITH_GLADE_CATALOG ....... OFF

"""

Obviously BOGOFILTER and SPAMASSASSIN are enabled, but I'm not seeing
INSTALL_DIR option or similar to set paths to BOGOFILTER and
SPAMASSASSIN. I still don't know if one can be set or not, just that I
don't see it there. I tried to look into that earlier but my lack of
familiarity with cmake got in the way of figuring out the answer. If
such a config option doesn't exist, I think we would need to ask for
it, or patch it in. Otherwise all new Guix gnome users are going to be
wondering why spam filtering is not working in evolution, even though
they installed bogofilter (or spamassassin).



-----Original Message-----
From: Marius Bakke <mbakke@fastmail.com>
To: Christopher Howard <christopher@alaskasi.com>,
39571@debbugs.gnu.org
Subject: Re: bug#39571: evolution and bogofilter
Date: Fri, 14 Feb 2020 16:51:12 +0100

Hi Christopher,
I'm afraid I don't have any useful feedback regarding Evolution, but
...
Christopher Howard <christopher@alaskasi.com> writes:
Toggle quote (5 lines)
> Thinking maybe some bogofilter path or option not set during
> packagebuild. Tried to confirm this viewing build log from guix-
> build, butsince I have already built the package once from source, I
> cannotfigure out how to get guix-build to let me build it again.

You can use 'guix build --no-grafts --log-file evolution' to get
thebuild log; or 'guix build --no-grafts --check evolution' to force
arebuild (and check for bit-reproducibility at the same time).
HTH,Marius
--
Christopher Howard
Enterprise Solutions Manager
Alaska Satellite Internet
PO Box 70, Ester, AK 99725
3239 La Ree Way, Fairbanks, AK 99709
907.451.0088
1.888.396.5623
www.alaskasatelliteinternet.com
Attachment: file
Z
Z
zimoun wrote on 18 Oct 2022 18:00
(name . Christopher Howard)(address . christopher@alaskasi.com)(address . 39571@debbugs.gnu.org)
86wn8xxgsy.fsf@gmail.com
Hi,

Sorry for not being very responsive. It is about this old bug#39571
report [1].


On Tue, 11 Feb 2020 at 12:10, Christopher Howard <christopher@alaskasi.com> wrote:

Toggle quote (11 lines)
> Hello, I'm trying to get spam filtering working in
> evolution. According to evolution docs, evolution is supposed to use
> either bogofilter or spam assassin. I am focusing on bogofilter since
> guix has a bogofilter package. I have set all settings in evolution
> according to the evolution docs from the help menu, but cannot get
> confirmation either than spam filtering is actually working, or that
> evolution is in fact interacting with bogofilter to build a words
> database. As part of that, I'm trying to confirm if guix has correct
> options for that built into evolution, to properly interact with
> bogofilter binary.

What is the status? Is it fixed for you? If no, could you do an update
on this bug? :-)


Cheers,
simon
Z
Z
zimoun wrote on 18 Oct 2022 18:31
(address . 39571@debbugs.gnu.org)
CAJ3okZ3U1v6dJ6L_gEiCTHfwK97RhMG9quOpKvZKPtvJ9E_Nrw@mail.gmail.com
Hi,

For the record, the message I received back. Therefore, I will close
if no objection.

Cheers,
simon


---------- Forwarded message ---------
From: Christopher Howard <christopher@alaskasi.com>
Date: Tue, 18 Oct 2022 at 18:19
Subject: Alaska Satellite Internet Re: bug#39571: evolution and bogofilter
To: <zimon.toutoune@gmail.com>


Good day Sir or Ma'am



We at Alaska Satellite Internet are happy to assist you with any of
your needs and/or concerns. Unfortunately, the person you are trying
to reach, is no longer part of the organization. Please forward your
email the appropriate department below or call us at 907-451-0088 and
we would be happy to assist you.



Thank you,



Accounting, General Assistance

Marti Steury

General Manager

E-mail: marti@alaskasi.com



Business Services

Trevor Nickisch

Enterprise Solutions Manager

E-mail: trevor@alaskasi.com



Residential Services

Isaac Ben David

Residential Technician

E-mail: Isaac@alaskasi.com
T
T
Tobias Geerinckx-Rice wrote on 18 Oct 2022 19:09
Re: bug#39571: evolution and bogofilter
(address . 39571@debbugs.gnu.org)
877d0xcaxz.fsf@nckx
zimoun ???
Toggle quote (4 lines)
> For the record, the message I received back. Therefore, I will
> close
> if no objection.

Let's try this one first.

Christopher, assuming you have a clue what this is about: are you

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY07emQ0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15X8UBAPswyO4BufBD3JC2zGw0nCJquzRSxQXiCaoml4kv
j39SAP90NNm0AlQKJEfBL6OPj7N60oyduHV/2XzJcHu1PvfWAg==
=ELmq
-----END PGP SIGNATURE-----

C
C
Christopher Howard wrote on 18 Oct 2022 22:14
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
Y08JGyVuNi8hLCVv@theoden
Hello, I switched to the Mutt email-client about about 1 year ago. If you wish to close this old bug I will not be affected.

Christopher Howard

On Tue, Oct 18, 2022 at 07:09:59PM +0200, Tobias Geerinckx-Rice wrote:
Toggle quote (5 lines)
> Let's try this one first.
>
> Christopher, assuming you have a clue what this is about: are you still
> affected by <https://issues.guix.gnu.org/39571>?
>
T
T
Tobias Geerinckx-Rice wrote on 18 Oct 2022 23:18
(name . Christopher Howard)(address . christopher@librehacker.com)
87y1tcbzjb.fsf@nckx
Hi Christopher,

Thanks for the swift response!

Christopher Howard ???
Toggle quote (2 lines)
> If you wish to close this old bug I will not be affected.

Will do.

Why let zimoun have all the fun,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY08YWA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15+WABAOkzZyGS35iNyisEDgYG6EIq1Oo4vdU0ymxMq0tD
xD6lAP9Cqk72+Hbem8DSDIRG2DyUQVTADUZpAhsi9Bg0fU7SCw==
=gK31
-----END PGP SIGNATURE-----

?