GNOME Bugzilla – Bug 611100
Forward-to filter stops at outbox
Last modified: 2013-07-03 15:55:37 UTC
I have created a filter to forward a message received from a particular source. The message is correctly placed into the outbox, but does not get sent unless I push the send/receive button. I would like it to be sent automatically, since I am usually away from the computer when I receive the message. Am I missing something in my setup?
As we spoke on IRC, it was intentional, but seems to be better to change. The best seems to be to add an option somewhere to preferences or where, about "flush messages from outbox after filtering done when added something to outbox during filtering", which might be done by default, but for accounts with a timeout for connection it might to more trouble than fun. The problem is how to name the option and where to place it, as I do not see the best place for it in Preferences. Any idea?
If I might offer a small suggestion, could it be an alternative action in the filter? For example, "Forward immediately to".
Sure, you can suggest :) Your suggestion is easy to implement, though I'm wondering whether it'll not be confusing for other people to see "Forward to" and "Forward immediately to". One might ask: what is that "Forward to" then? The other problem is that you cannot flush Outbox selectively (only some messages), only whole Outbox can be flushed. The other question is whether server supports multiple connections in one time, because filters are treated while fetching emails, thus when connected to the server, and flushing Outbox can open yet another connection. (It doesn't open it for most providers, though.)
Created attachment 162391 [details] Proposed addition to filter option window I suggest adding this checkbox option to the "forward to" filter action. -Adam
Comment on attachment 162391 [details] Proposed addition to filter option window That was me (retrospectacus) talking to mcrha on IRC.
After some investigation, testing and chatting it'll be better to have a hidden option for this. The above mock-up looks good, but if you imagine more than one filter rules with forward-to and you do not check "flush outbox" in all of them, will you expect the outbox be flushed or not? In other words the option placement seems like being used with the given address only. I chose a hidden option because there is no good place to it, thus it would be hard to find anyway. I'm trying to produce a fix with a hidden option now.
Created attachment 162961 [details] [review] evo patch for evolution; Here it is. There was not many options to choose from on this.
Created commit 1837179 in evo master (2.31.4+) The hidden option name is "/apps/evolution/mail/filters/flush-outbox", set it to true (default is false) to flush Outbox after a minute of the last "forward-to" usage.
Thank you all for this work! I appreciate it. -- Dana
*** Bug 628498 has been marked as a duplicate of this bug. ***
*** Bug 634546 has been marked as a duplicate of this bug. ***
*** Bug 663218 has been marked as a duplicate of this bug. ***
Hi , is it possible to apply the fix on a Ubuntu 11.04 machine with Evolution 2.32.2 ? If yes, can you please tell me how this kind of patch can be applied? I'm trying to use Evolution client for some automated notifications, so I need the outbox mails to be flushed automatically. Thank You
With custom patches to various distributions it's always better to ask maintainers of that distribution to include the patch, but in your case yours 2.32.2 has this patch already included, just do this while evolution is off: $ gconftool-2 --set --type=bool /apps/evolution/mail/filters/flush-outbox true
First of all , thank you for your quick reply It's not working..., I think It has something to do with the fact that the paths in Ubuntu are different for Evolution I could not find a folder called filters or a flush-outbox file either. I found this folder /home/nagios/.gconf/apps/evolution/mail with this subfolders composer display format %gconf.xml junk prompts trash
My bad, it's working Thank You, this is a big deal for me
I must be doing something wrong. I'm running Evolution 3.2.2 and have tried the following: 1. Close Evolution 2. sudo vi file "/usr/share/gconf/schemas/evolution-mail.schemas" - found "schema" flush-outbox - changed the default from "false" to "true" - saved and closed the file 3. Restarted Evolution 4. Created a new filter with "Forward to" 5. Apply the filter And the forwarded email goes from the exchange account Inbox to the "On This Computer" Outbox and remains there indefinitely (or until I manually flush it with the "Send/Receive" button. What am I doing wrong?
Why to change the scheme? Command from comment #14 should do the right thing, and for the current user only (is it a problem that it's for the current user only?). By the way, my schemas are stored at /etc/gconf/schemas/, but that can be just the system thing, mine is Fedora. Note the gconfd can have the schema files cached, thus even if you change its content, the daemon will not get it till it's also restarted.
Wow. You have no idea how many times I tried executing the command from comment #14 and kept getting an error message regarding the client failing to connect to the D-BUS daemon. It turns out that I was trying to execute it as root. I executed the command this morning as "myself" and it works like a champ. I was editing the scheme because once the command wasn't working I went into the attached diff (evo patch) to see if I could figure out where the changes were made and thought I'd just try it (I'm a newb). Thanks for the reply and the work you've done.
Playing with schema files is harder, from my point of view, but if it's done right (which I actually do not know what it means with GConf), then it should work too. Good you have it finally running. :)
*** Bug 703548 has been marked as a duplicate of this bug. ***
$ dconf write /apps/evolution/mail/filters/flush-outbox true $ dconf dump /apps/evolution/mail/filters/ [/] flush-outbox=true