unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39571: evolution and bogofilter
@ 2020-02-11 21:10 Christopher Howard
  2020-02-11 21:17 ` Christopher Howard
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Christopher Howard @ 2020-02-11 21:10 UTC (permalink / raw)
  To: 39571

[-- Attachment #1: Type: text/plain, Size: 2158 bytes --]

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 #2: Type: text/html, Size: 3012 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: evolution and bogofilter
  2020-02-11 21:10 Christopher Howard
@ 2020-02-11 21:17 ` Christopher Howard
  2020-02-14 15:51 ` Marius Bakke
  2022-10-18 16:00 ` zimoun
  2 siblings, 0 replies; 10+ messages in thread
From: Christopher Howard @ 2020-02-11 21:17 UTC (permalink / raw)
  To: 39571

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

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 #2: Type: text/html, Size: 1169 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: evolution and bogofilter
  2020-02-11 21:10 Christopher Howard
  2020-02-11 21:17 ` Christopher Howard
@ 2020-02-14 15:51 ` Marius Bakke
  2020-02-14 21:04   ` Christopher Howard
  2020-02-14 21:04   ` Christopher Howard
  2022-10-18 16:00 ` zimoun
  2 siblings, 2 replies; 10+ messages in thread
From: Marius Bakke @ 2020-02-14 15:51 UTC (permalink / raw)
  To: Christopher Howard, 39571

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Hi Christopher,

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

Christopher Howard <christopher@alaskasi.com> writes:

> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: evolution and bogofilter
  2020-02-14 15:51 ` Marius Bakke
@ 2020-02-14 21:04   ` Christopher Howard
  2020-02-14 21:04   ` Christopher Howard
  1 sibling, 0 replies; 10+ messages in thread
From: Christopher Howard @ 2020-02-14 21:04 UTC (permalink / raw)
  To: Marius Bakke, 39571


[-- Attachment #1.1: Type: text/plain, Size: 3948 bytes --]

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:
> 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 #1.2: Type: text/html, Size: 6302 bytes --]

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 695 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: evolution and bogofilter
  2020-02-14 15:51 ` Marius Bakke
  2020-02-14 21:04   ` Christopher Howard
@ 2020-02-14 21:04   ` Christopher Howard
  1 sibling, 0 replies; 10+ messages in thread
From: Christopher Howard @ 2020-02-14 21:04 UTC (permalink / raw)
  To: Marius Bakke, 39571

[-- Attachment #1: Type: text/plain, Size: 3846 bytes --]

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:
> 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 #2: Type: text/html, Size: 6384 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: evolution and bogofilter
  2020-02-11 21:10 Christopher Howard
  2020-02-11 21:17 ` Christopher Howard
  2020-02-14 15:51 ` Marius Bakke
@ 2022-10-18 16:00 ` zimoun
  2 siblings, 0 replies; 10+ messages in thread
From: zimoun @ 2022-10-18 16:00 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 39571

Hi,

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

1: <http://issues.guix.gnu.org/issue/39571>

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

> 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




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: Fwd: Alaska Satellite Internet Re: bug#39571: evolution and bogofilter
       [not found] <CAN3oRtXm2NzeQ1bwt5DgQT=4H4N6Nd8jwGd4vewifWtQsKyrSQ@mail.gmail.com>
@ 2022-10-18 16:31 ` zimoun
  2022-10-18 17:09   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 10+ messages in thread
From: zimoun @ 2022-10-18 16:31 UTC (permalink / raw)
  To: 39571

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




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: evolution and bogofilter
  2022-10-18 16:31 ` bug#39571: Fwd: Alaska Satellite Internet Re: bug#39571: evolution and bogofilter zimoun
@ 2022-10-18 17:09   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2022-10-18 20:14     ` Christopher Howard
  0 siblings, 1 reply; 10+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2022-10-18 17:09 UTC (permalink / raw)
  To: zimoun, Christopher Howard; +Cc: 39571

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

zimoun 写道:
> 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 
still affected by <https://issues.guix.gnu.org/39571>?

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: evolution and bogofilter
  2022-10-18 17:09   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2022-10-18 20:14     ` Christopher Howard
  2022-10-18 21:18       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 10+ messages in thread
From: Christopher Howard @ 2022-10-18 20:14 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 39571, zimoun

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:
> 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>?
> 




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#39571: evolution and bogofilter
  2022-10-18 20:14     ` Christopher Howard
@ 2022-10-18 21:18       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 0 replies; 10+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2022-10-18 21:18 UTC (permalink / raw)
  To: Christopher Howard; +Cc: 39571-close, zimoun

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

Hi Christopher,

Thanks for the swift response!

Christopher Howard 写道:
> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-10-18 21:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAN3oRtXm2NzeQ1bwt5DgQT=4H4N6Nd8jwGd4vewifWtQsKyrSQ@mail.gmail.com>
2022-10-18 16:31 ` bug#39571: Fwd: Alaska Satellite Internet Re: bug#39571: evolution and bogofilter zimoun
2022-10-18 17:09   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-10-18 20:14     ` Christopher Howard
2022-10-18 21:18       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-02-11 21:10 Christopher Howard
2020-02-11 21:17 ` Christopher Howard
2020-02-14 15:51 ` Marius Bakke
2020-02-14 21:04   ` Christopher Howard
2020-02-14 21:04   ` Christopher Howard
2022-10-18 16:00 ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).