Package: sylpheed
Version: 2.0.4-2
Followup-For: Bug #323234

Exerpt of sylpheed --debug when tagging an email as spam.

Note how bogofilter doesn't seem to get past the space?

-------------------------------------------------------------------------
Set mail as junk
executing: bogofilter -s -I /home/USERREMOVED/Mail/Site Comms/BB/2543
Can't read '/home/USERREMOVED/Mail/Site'
filter_action_exec(): move: dest_folder = #mh/Mailbox/1 - SPAM
Message 2543 is set to move to 1 - SPAM
mh_scan_folder(): Scanning 1 - SPAM ...
Last number in dir 1 - SPAM = 22452
Moving message Site Comms/BB/2543 to 1 - SPAM ...
mh_scan_folder(): Scanning 1 - SPAM ...
Last number in dir 1 - SPAM = 22453
Writing summary cache (Site Comms/BB)...done.
Set mail as junk
executing: bogofilter -s -I /home/USERREMOVED/Mail/Site Comms/BB/2542
Can't read '/home/USERREMOVED/Mail/Site'
filter_action_exec(): move: dest_folder = #mh/Mailbox/1 - SPAM
Message 2542 is set to move to 1 - SPAM
mh_scan_folder(): Scanning 1 - SPAM ...
Last number in dir 1 - SPAM = 22453
Moving message Site Comms/BB/2542 to 1 - SPAM ...
mh_scan_folder(): Scanning 1 - SPAM ...
Last number in dir 1 - SPAM = 22454
-------------------------------------------------------------------------

Running bogofilter from the commandline, with the same mail folder/path,
succeeds when it's quoted appropriately such that spaces aren't treated as
division between command line arguments.

-------------------------------------------------------------------------
[EMAIL PROTECTED]:~/Mail/Site Comms/BB$ echo "`pwd`/2533"
/home/USERREMOVED/Mail/Site Comms/BB/2533
[EMAIL PROTECTED]:~/Mail/Site Comms/BB$ bogofilter -s -I "`pwd`/2533"
-------------------------------------------------------------------------

Therefore I believe it's clear that Sylpheed is not correctly escaping
paths with spaces that it passes to external programs when it comes
to spam tagging.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4-mppe
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages sylpheed depends on:
ii  libatk1.0-0               1.10.3-1       The ATK accessibility toolkit
ii  libc6                     2.3.5-12       GNU C Library: Shared libraries an
ii  libcairo2                 1.0.2-3        The Cairo 2D vector graphics libra
ii  libcompfaceg1             1:1.5.2-2      Compress/decompress images for mai
ii  libfontconfig1            2.3.2-1.1      generic font configuration library
ii  libglib2.0-0              2.8.6-1        The GLib library of C routines
ii  libgpg-error0             1.1-4          library for common error values an
ii  libgpgme11                1.1.0-1        GPGME - GnuPG Made Easy
ii  libgtk2.0-0               2.8.10-1       The GTK+ graphical user interface 
ii  libldap2                  2.1.30-12      OpenLDAP libraries
ii  libpango1.0-0             1.10.2-1       Layout and rendering of internatio
ii  libpisock8                0.11.8-17      Library for communicating with a P
ii  libssl0.9.8               0.9.8a-6       SSL shared libraries
ii  libx11-6                  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxi6                    6.9.0.dfsg.1-4 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-4 X Window System multi-head display
ii  libxrandr2                6.9.0.dfsg.1-4 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra

Versions of packages sylpheed recommends:
ii  aspell-en [aspell-diction 6.0-0-5        English dictionary for GNU Aspell
ii  metamail                  2.7-50         implementation of MIME
pn  sylpheed-claws-scripts    <none>         (no description available)
ii  sylpheed-i18n             2.0.4-2        Locale data for Sylpheed (i18n sup
ii  xfonts-100dpi             6.9.0.dfsg.1-4 100 dpi fonts for X
ii  xfonts-75dpi              6.9.0.dfsg.1-4 75 dpi fonts for X

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to