Old 9th April 2013, 21:52
admins admins is offline
Senior Member
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default Sieve Mailfilter Problem

Hi all
I've did the ubuntu 12.10 setup with dovecot and apache from howtoforge.org.

I want to filter following with a custom rule in sieve. I want to to following: If not "mail.xy.net" in the header, redirect to the email xy@x.org

I've created following rule:
if not header :contains "received" ["mail.xy.net"] {
redirect "xy@x.org";

May in the sieve log is following:
main_script: line 5: error: the header test requires 2 positional argument(s), but 1 is/are specified.
main_script: error: validation failed.
error: the header test requires 2 positional argument(s), but 1 is/are specified.

Has somebody an idea how I can fix it?
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with sieve filters aribao Installation/Configuration 1 10th November 2011 00:33
table lookup problem aurelius Installation/Configuration 5 2nd November 2011 20:12
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 15:15
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 11:05

All times are GMT +2. The time now is 09:20.

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