[kmail2] [Bug 394886] New: "Pipe Through" not piping
Kim Lilliestierna
bugzilla_noreply at kde.org
Thu May 31 11:05:43 BST 2018
https://bugs.kde.org/show_bug.cgi?id=394886
Bug ID: 394886
Summary: "Pipe Through" not piping
Product: kmail2
Version: unspecified
Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: commands and actions
Assignee: kdepim-bugs at kde.org
Reporter: kill at itr.no
Target Milestone: ---
The "Pipe Through" filter action does not pipe the email to the external
program, not even on manual filtering. It is ofc intermittent and hard to
reproduce reliably.
I have the following script for running crm114
#!/bin/bash
TIME=$(date +"%d/%m/%Y %H:%M:%S")
LOG=~/logs/crmlog
mkdir ~/logs &>/dev/null
touch $LOG
echo $TIME >>$LOG
cp /dev/null ~/logs/copy
exec crm -u $HOME/.crm114 mailreaver.crm | tee ~/logs/copy 2>> $LOG
This will enter a time stamp in the log file and copy any data from the pipe
into the "copy" file.
When Kmail starts failing the filtering, the logs shows that the action was
run, but the "copy" file only contains the crm114 header message indicating
that the pipe was empty.
there seems to be 3 workarounds none that work reliably all the time..
1. remake the filter rule, its enough to edit the rule and resave.
2. stop and start akonadi, making sure the filter agent is restarted.
3. log out from the kde session or reboot
One would think that rebooting would fix it, but have had cases where the
filtering fails on a fresh reboot / login first time kmail session, where
resaving the rule fixed it...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list