[Evolution-users] set up filter (action) to move messages from one folder to another?

Globe Trotter itsme_410 at yahoo.com
Sun Oct 4 16:55:03 UTC 2026


On Fri, 2026-10-02 at 07:59 -0500, Globe Trotter via evolution-users
wrote:
> On Fri, 2026-10-02 at 08:27 +0200, Milan Crha via evolution-users
> wrote:
> > On Thu, 2026-10-01 at 19:18 -0500, Globe Trotter via evolution-
> > users
> > wrote:
> > > Now, I would like this action automated (at least once in a
> > > while).
> > 
> > 	Hi,
> > the Maildir account you mentioned earlier, is it the On This
> > Computer
> > or a custom Maildir account. And as mentioned earlier, how is the
> > new
> > mail received to that account, and to which folder, please? All
> > this
> > matters.
> > 
> 
> Milan,
> 
> Thanks! Sure, no problem. I have a local Maildir account that is
> "fed"
> using a fetchmail/procmail combination. When email is sent to me from
> this cron job, it goes to a folder in Maildir/foldername based on the
> procmail filtering rule. (Other email from other accounts go to other
> folders inside Maildir.) Now, I want to send email from
> Maildir/foldername (only) using my O365 account linked through
> evolution. So, within evolution, I have a filter set up (or manually)
> that moves my mail in Maildir/foldername to On This Computer/Outbox.
> And then I use "Send all Messages" button/key to send the messages in
> "On This Computer/Outbox" (for me, the Default is the O365 account). 
> 
> Now, the filter works in moving my email in Maildir/foldername to "On
> This Computer/Outbox" when I press Ctrl-y on the "Maildir/foldername"
> folder ma,e but not on the base "Maildir" account name. Btw, I also
> noticed that the "Receiving Options" for the base "Maildir" account
> has
> "Receiving Options" set for  "Apply flters to new messages in Inbox"
> checked. Does this mean that the filter is not applied to other
> folders
> inside "Maildir"? (I have only one filter for this Maildir account,
> and
> that pertains to this folder.)
> 
> From my investigations, it appears that one option is to create a
> second "MAILDIR" account and have the cron job send email to the
> base/tip of this "MAILDIR" account (that presumably would be the
> Inbox
> for this account), and it appears that that could work in moving
> email
> from this  "Inbox" to "On This Computer/Outbox" and do the rest. But
> it
> is a conjecture, and I don't really want/need to create a second
> MAILDIR account on my local machine other that this one purpose: I
> was
> hoping to have the filter work on the "Maildir/foldername" folder.
> But
> I will do it if that is what is recommended/suggested.

So, I tried setting up a new Maildir account (called SENTDIR)
essentially only for this kind of email (created locally) being readied
to be sent and so that it would be in the Inbox, and modified the
filter appropriately, however, I appear to not have any luck. The
filter does not get applied on its own: however, Ctrl+Y on the SENTDIR
-> Inbox makes the filter work. 

Btw, I have noticed that evolution moves the message from the
SENTDIR/new to SENTDIR/cur (is that why the filter is not being
applied, since it is specified for new messages in the Receiving
Options)?

The following ae checked for me under "Checking for New Mail"

Check for new messages every 1 minutes (this is a local one-folder
directory so I do not think it is a big deal).

Apply filters to new messages in Inbox.

Let me know of any other information that you may need, and thanks in
advance for any more suggestions.

Cheers,
GT




More information about the evolution-users mailing list