HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Sieve Mailfilter Problem (http://www.howtoforge.com/forums/showthread.php?t=61361)

admins 9th April 2013 20:52

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?
Thx
admins


All times are GMT +2. The time now is 11:29.

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