Len Smith wrote:
>
> I'm running Cyrus 2.0.7 on Solaris 8 but cannot seem to get sieve to
> work. The seive scripts are server-side, under /usr/sieve
> and the script is
>
> if header :contains "from" "mickey" {
> discard;
> } else {
> forward to [EMAIL PROTECTED];
> }
>
> The mail messages is deliverd to the user, as if it is ignoring this
> script. Is there anyway to get lmtpd to print out more info on what its
> doing, with regards to sieve?
You have a syntax error in your script which causes sieve to fail, and
as a result lmtpd drops the message in your INBOX. Your script should
look like:
if header :contains "from" "mickey" {
discard;
} else {
redirect "[EMAIL PROTECTED]";
}
Also, if you are trying to test against the address part of the "from"
header, you should use the 'address' test instead of the 'header' test.
Your current test WILL match something like "From: Mickey Mouse
<[EMAIL PROTECTED]>", which I don't think is what you want.
Ken
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp