[Top] [All Lists]

Re: A little sieve help

2008-12-11 14:00:01

Aaron Stone wrote:
This mailing list mostly works on Sieve as a standard,

Is there another list that would be better for user questions?

but a few user
questions now and then is good -- someone is using this stuff! ;-)

That's the plan.

On Wed, 2008-12-10 at 17:31 -0500, Patrick Baldwin wrote:

[snip procmail script]

In sieve, I was thinking something like:

require ["fileinto","regex","envelope"];

if address :is "To" "online" {
  fileinto "online";
} elsif address :is "To" "Support" { fileinto "Support";
if address :is "From" "<ship address>" {
  fileinto "SHIPMENTS";

:matches might be what you want, rather than :is.

Sure was, thanks.

redirect "<user name>";


Stop is not needed at the end of the script, but doesn't hurt.

...but I'm really not sure.  I also haven't figured out how to have sieve
insert a header to avoid mail loops like I did with procmail.

libsieve doesn't support the editheader extension yet, RFC 5293. It's on
my todo list...

Is there some other way I should be trying to use sieve to prevent a possible mail loop?


Patrick Baldwin
Systems Administrator
Studsvik Scandpower
<Prev in Thread] Current Thread [Next in Thread>