HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Custom Mail Filters (http://www.howtoforge.com/forums/showthread.php?t=61733)

sjau 6th May 2013 11:14

Custom Mail Filters
 
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?

sjau 6th May 2013 14:32

Sorry, can be closed.. it works just fine :)


All times are GMT +2. The time now is 02:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.