You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2023/07/11 23:56:26 UTC
[Bug 8145] New: regression: sa-learn error with backslash in Maildir path
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8145
Bug ID: 8145
Summary: regression: sa-learn error with backslash in Maildir
path
Product: Spamassassin
Version: 4.0.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Learner
Assignee: dev@spamassassin.apache.org
Reporter: david@mandelberg.org
Target Milestone: Undefined
I use https://doc.dovecot.org/configuration_manual/plugins/listescape_plugin/
to enable some special characters in mailbox names, and it converts `.` to
`\2e`. After upgrading the Debian package for spamassassin from 3.4.6-1 to
4.0.0-6, I get the below error running sa-learn on Maildir folders with
backslashes in them. Adding an additional backslash seems to help though:
dseomn@mail-storage-bbf78862:~$ sudo -u vmail ls -ld
'/var/local/mail/persistent/mail/mandelberg.org/david/Maildir/.Archive.Lists.ietf\2eorg.93all'
drwx------ 5 vmail vmail 4096 Nov 1 2022
'/var/local/mail/persistent/mail/mandelberg.org/david/Maildir/.Archive.Lists.ietf\2eorg.93all'
dseomn@mail-storage-bbf78862:~$ sudo -u vmail sa-learn
--dbpath=/var/cache/mail/mandelberg.org/david/spamassassin/bayes --forget
'/var/local/mail/persistent/mail/mandelberg.org/david/Maildir/.Archive.Lists.ietf\2eorg.93all'
archive-iterator: no access to
/var/local/mail/persistent/mail/mandelberg.org/david/Maildir/.Archive.Lists.ietf2eorg.93all:
No such file or directory
Forgot tokens from 0 message(s) (0 message(s) examined)
dseomn@mail-storage-bbf78862:~$ echo $?
1
dseomn@mail-storage-bbf78862:~$ sudo -u vmail sa-learn
--dbpath=/var/cache/mail/mandelberg.org/david/spamassassin/bayes --forget
'/var/local/mail/persistent/mail/mandelberg.org/david/Maildir/.Archive.Lists.ietf\\2eorg.93all'
Forgot tokens from 0 message(s) (23 message(s) examined)
dseomn@mail-storage-bbf78862:~$ echo $?
0
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 8145] sa-learn error with backslash in Maildir path
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8145
--- Comment #1 from david@mandelberg.org ---
(In reply to david from comment #0)
> After upgrading the Debian package for spamassassin from 3.4.6-1 to
> 4.0.0-6
Oops, I'm actually not sure this is related to the upgrade at all. I came
across this bug while trying to figure out what was causing another bug. But I
just realized that while debugging that one, I was running sa-learn in a
different way than I usually do. (I usually change into the Maildir folder and
run sa-learn with a path of `.`.) So I don't have any idea if this is a
regression or not.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 8145] sa-learn error with backslash in Maildir path
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8145
david@mandelberg.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david@mandelberg.org
Summary|regression: sa-learn error |sa-learn error with
|with backslash in Maildir |backslash in Maildir path
|path |
--
You are receiving this mail because:
You are the assignee for the bug.