Cyrus + Sieve

Gottschalk, David dgottsc at emory.edu
Thu May 21 15:41:59 EDT 2009


Well, I think duplicate surpression might be already working. I just looked at my logs and see entries for it.

I don’t have a deliver.db though, which is interesting. I did look at the Cyrus change log, and noticed that at some point they did merge the deliver.db and the duplicate.db.

Any other ideas I could try, or tests I could do?

David Gottschalk
UTS Email team
david.gottschalk at emory.edu<mailto:david.gottschalk at emory.edu>

From: info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu] On Behalf Of Blake Hudson
Sent: Thursday, May 21, 2009 2:29 PM
To: info-cyrus at lists.andrew.cmu.edu
Subject: Re: Cyrus + Sieve

Assuming you're only running one instance and you're looking in the right place - I'm out of ideas... Perhaps someone else can chime in at this point as to why the deliver.db could be missing and when it is missing, what the consequential behavior would be.

-Blake

-------- Original Message  --------
Subject: Re: Cyrus + Sieve
From: Gottschalk, David <dgottsc at emory.edu><mailto:dgottsc at emory.edu>
To: Blake Hudson <blake at ispn.net><mailto:blake at ispn.net>, info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu> <info-cyrus at lists.andrew.cmu.edu><mailto:info-cyrus at lists.andrew.cmu.edu>
Date: Thursday, May 21, 2009 1:24:09 PM

Cannot find any error(s) in the logs.

Permissions are correct on the folder.

David Gottschalk
UTS Email team
david.gottschalk at emory.edu<mailto:david.gottschalk at emory.edu>

From: info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu<mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu> [mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu] On Behalf Of Blake Hudson
Sent: Thursday, May 21, 2009 2:19 PM
To: info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu>
Subject: Re: Cyrus + Sieve

Any errors in the log? does your configdirectory have the proper ownership/permissions?
drwxr-x--- 18 cyrus  mail    4096 May 21 13:01 imap


-Blake

-------- Original Message  --------
Subject: Re: Cyrus + Sieve
From: Gottschalk, David <dgottsc at emory.edu><mailto:dgottsc at emory.edu>
To: Blake Hudson <blake at ispn.net><mailto:blake at ispn.net>, info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu> <info-cyrus at lists.andrew.cmu.edu><mailto:info-cyrus at lists.andrew.cmu.edu>
Date: Thursday, May 21, 2009 1:02:32 PM


Hmm.

This is strange. I’ve enabled it, but I don’t see it in my configuration directory. I restarted Cyrus, no joy. Do I need to clear my DBs in order for this to get created?

Thanks.

David Gottschalk
UTS Email team
david.gottschalk at emory.edu<mailto:david.gottschalk at emory.edu>

From: info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu<mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu> [mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu] On Behalf Of Blake Hudson
Sent: Thursday, May 21, 2009 1:55 PM
To: info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu>
Subject: Re: Cyrus + Sieve

The file will be located in your 'configdirectory' (mine is /var/lib/imap). In the absence of config options it will be automatically created and should will be a Berkeley db file named 'deliver.db'

--Blake

-------- Original Message  --------
Subject: Re: Cyrus + Sieve
From: Gottschalk, David <dgottsc at emory.edu><mailto:dgottsc at emory.edu>
To: Blake Hudson <blake at ispn.net><mailto:blake at ispn.net>, info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu> <info-cyrus at lists.andrew.cmu.edu><mailto:info-cyrus at lists.andrew.cmu.edu>
Date: Thursday, May 21, 2009 12:41:05 PM



Yeah, I’m sending emails to that address.

How do I enable duplicate suppression? I think that might be my issue. I’ve enabled it in imapd.conf, and defined the database type, but it doesn’t seem to be creating a duplicate.db.

Thanks.

David Gottschalk
UTS Email team
david.gottschalk at emory.edu<mailto:david.gottschalk at emory.edu>

From: info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu<mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu> [mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu] On Behalf Of Blake Hudson
Sent: Thursday, May 21, 2009 12:27 PM
To: info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu>
Subject: Re: Cyrus + Sieve

That looks valid as far as I can tell... Are you sure the messages are actually being sent to one of the listed addresses?

--Blake

-------- Original Message  --------
Subject: Re: Cyrus + Sieve
From: Gottschalk, David <dgottsc at emory.edu><mailto:dgottsc at emory.edu>
To: Blake Hudson <blake at ispn.net><mailto:blake at ispn.net>, info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu> <info-cyrus at lists.andrew.cmu.edu><mailto:info-cyrus at lists.andrew.cmu.edu>
Date: Thursday, May 21, 2009 8:48:42 AM




Blake, thanks for the assistance.

I’ll check out the duplicate db, and enable it.

Here is a copy of a example vacation sieve script:

#Mail filter rules for dgottsc
#Generated by dgottsc using SmartSieve 1.0.0-RC2 2009/05/21 10:29:26
require ["vacation"];

vacation :days 7 :addresses ["dgottsc at emory.edu"<mailto:dgottsc at emory.edu>, "dgottsc at removed.emory.edu"<mailto:dgottsc at removed.emory.edu>] text:
This is a test vacation reply.
.
;


##PSEUDO script start
#SmartSieveRule#a:6:{s:6:"status";s:7:"ENABLED";s:7:"control";N;s:8:"matchAny";N;s:10:"conditions";a:0:{}s:7:"special";s:8:"vacation";s:7:"actions";a:1:{i:0;a:4:{s:4:"type";s:8:"vacation";s:7:"message";s:30:"This is a test vacation reply.";s:4:"days";s:1:"7";s:9:"addresses";a:2:{i:0;s:17:"dgottsc at emory.edu"<mailto:dgottsc at emory.edu>;i:1;s:27:"dgottsc at removed.emory.edu"<mailto:dgottsc at removed.emory.edu>;}}}}
#mode&&basic

Thanks.

David Gottschalk
UTS Email team
david.gottschalk at emory.edu<mailto:david.gottschalk at emory.edu>

From: info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu<mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu> [mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu] On Behalf Of Blake Hudson
Sent: Wednesday, May 20, 2009 4:44 PM
To: info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu>
Subject: Re: Cyrus + Sieve

The duplicate db is used in the vacation code of sieve to determine if a sender has previously received a vacation response. As I understand it (from reading the mailing list), older versions of Cyrus made the duplicate db optional and the vacation portion of sieve may not work as expected without it. So, ensure that you have it enabled.

I'm not familiar with SmartSieve, but perhaps you could provide an example script that it creates when you setup a vacation response - perhaps me or someone else here can debug it...

--Blake

-------- Original Message  --------
Subject: Re: Cyrus + Sieve
From: Gottschalk, David <dgottsc at emory.edu><mailto:dgottsc at emory.edu>
To: Blake Hudson <blake at ispn.net><mailto:blake at ispn.net>, info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu> <info-cyrus at lists.andrew.cmu.edu><mailto:info-cyrus at lists.andrew.cmu.edu>
Date: Wednesday, May 20, 2009 3:18:02 PM






I'm using SmartSieve to create the scripts.



The forwarding and reject options are working as expected.



Do duplicate delivery dbs create issues?



David Gottschalk

UTS Email team

david.gottschalk at emory.edu<mailto:david.gottschalk at emory.edu>





-----Original Message-----

From: info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu<mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu> [mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu] On Behalf Of Blake Hudson

Sent: Wednesday, May 20, 2009 4:15 PM

To: info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu>

Subject: Re: Cyrus + Sieve



I'm not a sieve guru, but I might be able to point you in the right

direction for troubleshooting... How are you making your sieve scripts

(websieve, squirrelmail plugin, horde/IMP, etc)? Are you sure the

forwarding and sieve reject options are working as expected to generate

new messages? Do you have a duplicate delivery db in your cyrus meta

data folder?





-Blake



-------- Original Message  --------

Subject: Re: Cyrus + Sieve

From: Gottschalk, David <dgottsc at emory.edu><mailto:dgottsc at emory.edu>

To: info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu> <info-cyrus at lists.andrew.cmu.edu><mailto:info-cyrus at lists.andrew.cmu.edu>

Date: Wednesday, May 20, 2009 3:04:44 PM



Anyone? I would greatly appreciate any assistance with this issue.



Thanks.



David Gottschalk

UTS Email team

david.gottschalk at emory.edu<mailto:david.gottschalk at emory.edu>





-----Original Message-----

From: info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu<mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu> [mailto:info-cyrus-bounces+dgottsc=emory.edu at lists.andrew.cmu.edu] On Behalf Of Gottschalk, David

Sent: Tuesday, May 19, 2009 4:17 PM

To: info-cyrus at lists.andrew.cmu.edu<mailto:info-cyrus at lists.andrew.cmu.edu>

Subject: Cyrus + Sieve



I'm in the process of getting sieve working on my Cyrus servers. I've got everything working except for the vacation portion of sieve. I'm not sure why this isn't working. I've searched the web like crazy, and found quite a few people that had this issue. I've tried their solutions, but no luck. All the other sieve options work fine, but the vacation app. Any ideas?



I'm running Cyrus version: 2.2.12-3 (I know it's old)



Thanks for any assistance, I'd greatly appreciate it.



David Gottschalk

UTS Email team

david.gottschalk at emory.edu<mailto:david.gottschalk at emory.edu>







This e-mail message (including any attachments) is for the sole use of

the intended recipient(s) and may contain confidential and privileged

information.  If the reader of this message is not the intended

recipient, you are hereby notified that any dissemination, distribution

or copying of this message (including any attachments) is strictly

prohibited.



If you have received this message in error, please contact

the sender by reply e-mail message and destroy all copies of the

original message (including attachments).

----

Cyrus Home Page: http://cyrusimap.web.cmu.edu/

Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki

List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

----

Cyrus Home Page: http://cyrusimap.web.cmu.edu/

Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki

List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html







----

Cyrus Home Page: http://cyrusimap.web.cmu.edu/

Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki

List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090521/5e529d04/attachment-0001.html 


More information about the Info-cyrus mailing list