Re: Why is Sieve trying to re-compile global scripts?

2015-03-10 Thread E.B.
> Not sure how I got it to go away last time. Might have gotten it to go away by deleting the scripts, causing an email delivery, THEN creating the scripts again. Although I think my ideas are all flawed: I can delete the scripts and recreate and recompile all in the same minute and I don't ge

Sieve security: Any way to protect credentials used in extprograms?

2015-03-10 Thread E.B.
I need to connect to a database in a script called using Sieve extprograms plugin. When delivering mail, Sieve is running as the mail recipient user, which means any files, either the sieve script or the extprograms it invokes, are run under that user's permissions. What would be a way to hide th

Sieve reject with ORIG-TO vs TO

2015-03-10 Thread E.B.
Hi, The bounce message generated by the reject extension has what looks like a hard coded message prefix that comes before the configurable reason text: "Your message to was automatically rejected:" In some cases, the is NOT the original-to address, which can cause confusion to the sender or e

Sieve extprograms socket vs. direct execution

2015-03-10 Thread E.B.
Hi, I'm hoping to get some clarification of the differences between calling a script using the Sieve extprograms plugin execute method via direct execution or using the socket feature. Being naive, I see the socket option and think that way you tell Dovecot to spawn a daemon and I think that's goi

Re: Why is Sieve trying to re-compile global scripts?

2015-03-10 Thread E.B.
> > > > > I have some global scripts that were running nicely. > > > > > > > > > > Then I opened one in an editor and (probably, but not 100% sure) > > > > > mindlessly saved the file, even though I hadn't made any changes. > > > > > > > > > > Shortly after, Sieve errors started showing in the log:

Extending dict lookups (SQL)?

2015-03-10 Thread E.B.
Hi, How difficult would it be to try to hack some extension to the Dovecot dict mechanism for someone unfamiliar with the code? I'm using SQL as a backend and am looking for, at a minimum, the ability to specify a WHERE clause in addition to the built-in one that feeds the current username. The

Re: Why is Sieve trying to re-compile global scripts?

2015-03-10 Thread E.B.
> > > > I have some global scripts that were running nicely. > > > > > > > > Then I opened one in an editor and (probably, but not 100% sure) > > > > mindlessly saved the file, even though I hadn't made any changes. > > > > > > > > Shortly after, Sieve errors started showing in the log: > > > > > >

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-10 Thread E.B.
> >> Last time I had a few stupid problems in the releases, so > >> I'll follow > >> Timo's example and I release an RC first. > >> > >> The highlights include the implementation of the index and > >> metadata > >> extensions. Quite a few bugs are fixed as well. > > When I compiled and installed th

Re: Why is Sieve trying to re-compile global scripts?

2015-03-10 Thread E.B.
> > > I have some global scripts that were running nicely. > > > > > > Then I opened one in an editor and (probably, but not 100% sure) > > > mindlessly saved the file, even though I hadn't made any changes. > > > > > > Shortly after, Sieve errors started showing in the log: > > > > > > Error: 4k5J

Re: Why is Sieve trying to re-compile global scripts?

2015-03-10 Thread E.B.
> > I have some global scripts that were running nicely. > > > > Then I opened one in an editor and (probably, but not 100% sure) > > mindlessly saved the file, even though I hadn't made any changes. > > > > Shortly after, Sieve errors started showing in the log: > > > > Error: 4k5JA74R/1TlIwABG/Sp

Re: Why is Sieve trying to re-compile global scripts?

2015-03-10 Thread Stephan Bosch
On 3/11/2015 2:10 AM, E.B. wrote: > I have some global scripts that were running nicely. > > Then I opened one in an editor and (probably, but not 100% sure) > mindlessly saved the file, even though I hadn't made any changes. > > Shortly after, Sieve errors started showing in the log: > > Error: 4k

Why is Sieve trying to re-compile global scripts?

2015-03-10 Thread E.B.
I have some global scripts that were running nicely. Then I opened one in an editor and (probably, but not 100% sure) mindlessly saved the file, even though I hadn't made any changes. Shortly after, Sieve errors started showing in the log: Error: 4k5JA74R/1TlIwABG/SpMA: sieve: binary save: faile

Re: Outlook 2013/2010 nightmare #2

2015-03-10 Thread Joseph Tam
"David.M.Clark" writes: So the bottom line for this particular site is: Set the "Root Folder" for IMAP in outlook to "mail". This is messy from my beloved Linux command line perspective in that you end up with ${HOME}/login_name/mail/mail. But it does work and stops the Outlook crashes. I

Deduplicate Public Folder

2015-03-10 Thread Bobber
How do you perform the doveadm deduplicate command on public folders? If I specify a user, nothing is found. Using -A also doesn't seem to work. -- *Bob Wooldridge* Blog: http://kc0dxf.net/blog/

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-10 Thread Stephan Bosch
On 3/10/2015 8:11 PM, E.B. wrote: >> Last time I had a few stupid problems in the releases, so >> I'll follow >> Timo's example and I release an RC first. >> >> The highlights include the implementation of the index and >> metadata >> extensions. Quite a few bugs are fixed as well. > When I compile

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-10 Thread E.B.
> Last time I had a few stupid problems in the releases, so > I'll follow > Timo's example and I release an RC first. > > The highlights include the implementation of the index and > metadata > extensions. Quite a few bugs are fixed as well. When I compiled and installed this, Sieve scripts were

Re: Overriding dovecot.conf from Userdb Extras

2015-03-10 Thread E.B.
> I thought I read that anything from dovecot.conf can be > overridden in a > userdb lookup. Or a passdb lookup with "userdb_" prefix. > > But I tried for fun change log_path but it never worked. Is > that because > logging is special, already started logging before it comes > to the > passdb/user

Different realm for different listeners?

2015-03-10 Thread Chris Adams
I see this has been asked a few times over the years (but not in several years), and the response was along the lines of "maybe someday", so I figured I'd see if someday was here yet... I have a need to have a different default realm for different listeners. Basically, I've a bunch of different do

Re: Dovecot fails to compile --with-cdb (and attempted fix)

2015-03-10 Thread Jeffrey 'jf' Lim
On Tue, Mar 10, 2015 at 2:22 AM, Jeffrey 'jf' Lim wrote: > On Tue, Mar 10, 2015 at 2:15 AM, Jeffrey 'jf' Lim > wrote: > >> Dovecot version: 2.2.15 >> Tinycdb: 0.78 >> >> I'm attempting to compile dovecot --with-cdb, but keep getting into a >> problem with cdb: >> >> libt

Migrating from NetApp to ZFS

2015-03-10 Thread Frido Otten
Hi All, We're currently in the process of migrating from a NetApp storage to a ZFS storage, both shared over NFS. We've ran into some problems which were solved by switching to dotlocks instead of flock. But now there's one problem left with the dotlock method. When connecting to Dovecot/IMAP, and

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-10 Thread Timo Sirainen
On 10 Mar 2015, at 10:26, Alessio Cecchi wrote: > > Hi Stephan, > > I'm running the current stable version (Dovecot 2.2.15 and Pigeonhole 0.4.6), > all works fine except an issue. > > Feb 16 03:23:41 mx03 dovecot: lda(u...@domain.com): Panic: file > mail-transaction-log.c: line 271 (mail_tran

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-10 Thread Stephan Bosch
Alessio Cecchi schreef op 10-3-2015 om 9:26: === Feb 16 03:23:41 mx03 dovecot: lda(u...@domain.com): Panic: file mail-transaction-log.c: line 271 (mail_transaction_log_rotate): assertion failed: (file->locked) Feb 16 03:23:41 mx03 dovecot: lda(u...@domain.com): Error: Raw backtrace: /

Re: rawlog with -i not worked

2015-03-10 Thread Hardy Flor
This option was added at Mon Jul 21 10:53:19 2014 +0300 http://hg.dovecot.org/dovecot-2.2/diff/fbf434ad2485/src/util/rawlog.c Hardy Am 10.03.2015 um 08:38 schrieb Steffen Kaiser: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 9 Mar 2015, Hardy Flor wrote: I have the rawlog enabled ac

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-10 Thread Alessio Cecchi
Hi Stephan, I'm running the current stable version (Dovecot 2.2.15 and Pigeonhole 0.4.6), all works fine except an issue. In my configuration I have this default sieve script (I'm using Maildir): === require ["vnd.dovecot.duplicate", "fileinto", "mailbox"]; if header :matches "X-Spam-Status"

Re: rawlog with -i not worked

2015-03-10 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 9 Mar 2015, Hardy Flor wrote: I have the rawlog enabled according to the manual:http://wiki2.dovecot.org/Debugging/Rawlog Without -i everything is wonderful, a coredump is with the -i parameter created - -i is: v2.0 and older don't expe