View Single Post
Old 6th May 2013, 12:14
sjau sjau is offline
Local Meanie
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts
Default 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:

if header :regex    ["Delivered-To"] [".*EXT"] {
    fileinto "EXT";
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?
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Sponsored Links