Custom Mail Filters

Discussion in 'General' started by sjau, May 6, 2013.

Thread Status:
Not open for further replies.
  1. sjau

    sjau Local Meanie

    Hi there

    I'm trying to move all mail that contains "*EXT*" in the "Delivered-To" header into a folder "EXT". I use postfix/dovecot and I added this custom rule:

    Code:
    if header :regex    ["Delivered-To"] [".*EXT"] {
        fileinto "EXT";
        stop;
    }
    
    The problem is, that it's not being put into the EXT folder but stays in the main inbox.

    So, what's wrong with it? Or is there a way to get some logs on this?
     
  2. sjau

    sjau Local Meanie

    Sorry, can be closed.. it works just fine :)
     
Thread Status:
Not open for further replies.

Share This Page