Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17761

Cyrus and CMU Sieve

$
0
0

Let me know if this is the wrong place to ask, I'm taking a shot in the dark here. Also please excuse the wall of text.

So I've "inherited" a Cyrus mail server that was configured a long time ago, and lacks any documentation of setup. It runs in tandem with our Exchange servers.

At the moment I just need some help getting Sieve to function how I want, and it's breaking my brain. Online support seems to be slim.

Basically I have a user requesting that mail sent to an email alias (like a distribution group) have an auto-reply if the email is sent outside of business hours.

I already have a way for an auto-reply to be sent using the vacation notice extension in Sieve, but it has limitations right now. Currently it will only send one email per day because that's the minimum for the "days" parameter. This is "unacceptable" to my user, who is high in the manglement hierarchy.

It looks like I can fix this by using the "vacation-seconds" extension which has the "seconds" parameter. The problem is when I use

require ["vacation-seconds"]; 

I get a parse error saying the extension isn't available. Same thing happens with

require ["date]; 

However

require ["vacation"]; 

Works just fine. Cyrus claims to support these extensions but I'm not sure what version they were added in. I'm also not sure where any configuration files exist, especially for Sieve. I don't even really know how to properly manage Cyrus, I've touched cyradm but I don't know what I'm doing.

My current lead is from here: http://wiki.dovecot.org/LDA/Sieve/CMU

Binaries for command line tools like sievec and sieved are built only if you use method 2, because they need to link Dovecot's .a libraries, which can only be found from Dovecot's source tree (make install doesn't install them). These two tools can be used to compile and decompile Sieve scripts. You probably do not need these, except when using the Python ManageSieve server (it uses sievec to verify uploaded scripts).

My current workflow actually involves using sievec. What I was told is to write the Sieve script and process it through sievec. Would it be as simple as recompiling sievec and sieved to use these extensions? How would an idiot do this?

I have no idea what sieveshell is for. I have no idea what timsieve is for. I'm lost in a sea of development emails and RFC's from 8 years ago. College babied me with Exchange, I'm a in a bit over my head. Please send help.

submitted by douchecanoo
[link][1 comment]

Viewing all articles
Browse latest Browse all 17761

Trending Articles