Re: [Dovecot] Expire/Quota error

2009-06-15 Thread Matt Rude
Timo Sirainen wrote: > On Jun 16, 2009, at 12:41 AM, Matt Rude wrote: > >> Error: dlopen(/usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so) >> failed: >> /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so: undefined symbol: >> capability_string > > This is the problem e-frog mentioned in

Re: [Dovecot] Expire/Quota error

2009-06-15 Thread Timo Sirainen
On Jun 16, 2009, at 12:41 AM, Matt Rude wrote: Error: dlopen(/usr/local/lib/dovecot/imap/ lib11_imap_quota_plugin.so) failed: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so: undefined symbol: capability_string This is the problem e-frog mentioned in previous mail. http://dovecot.or

Re: [Dovecot] Expire/Quota error

2009-06-15 Thread Matt Rude
Timo Sirainen wrote: > On Fri, 2009-06-05 at 19:42 -0500, Matt Rude wrote: >> dlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: >> /usr/local/lib/dovecot/imap/lib10_quota_plugin.so: undefined symbol: >> mountpoint_get > > Fixed: http://hg.dovecot.org/dovecot-1.2/rev/6f36829c9e0e >

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with "expire time in future" errors?)

2009-06-15 Thread Timo Sirainen
On Thu, 2009-06-04 at 22:02 +0200, Ralph Seichter wrote: > Sorry for replying so late, the server running Dovecot succumbed to a > hardware problem. Now that the machine is online again, I applied your > patch. Running the expire tool now causes the following log messages: > > dict: db(secondary

Re: [Dovecot] expire-tool --test: timestamps

2009-06-15 Thread Timo Sirainen
On Sat, 2009-06-06 at 15:35 +0200, e-frog wrote: > $ /usr/sbin/dovecot --exec-mail ext expire-tool --test > Info: Trash: timestamp 1243963680 (Tue Jun 2 19:28:00 2009 > ) -> 1244307774 (Tue Jun 2 19:28:00 2009 > ) > > Both human readable timestamps are equal as ctime() returns a pointer > to a s

Re: [Dovecot] 1.2rc5 Panic: file virtual-sync.c

2009-06-15 Thread Timo Sirainen
On Sat, 2009-06-06 at 16:18 +0200, e-frog wrote: > Jun 6 14:40:19 server dovecot: IMAP(user): Panic: file virtual-sync.c: line > 502 > (virtual_sync_mailbox_box_remove): assertion failed: (rec_count >= > uid_count) Hmm. This is kind of difficult. Can you reproduce it? What does your dovec

Re: [Dovecot] 1.2.rc3 crash of deliver for one out of 4 recipients

2009-06-15 Thread Timo Sirainen
On Tue, 2009-06-02 at 17:07 +0200, wolfgang.frie...@desy.de wrote: > This is the first and only crash I could find in the logs > (approx 500k Lines of postfix/dovecot logs) > > The following information could be extracted from the logfile (no core > dump unfortunately) > > May 31 02:07:25 apollo

Re: [Dovecot] User with multiple domains

2009-06-15 Thread Timo Sirainen
On Tue, 2009-06-02 at 23:26 +0100, Peter Sparkes wrote: > Timo Sirainen wrote: > > On Tue, 2009-06-02 at 17:06 +0100, Peter Sparkes wrote: > > > When trying to retrieve email using Dovecot for t...@domaintwo.com the > password is not recognised although it is for t...@domainone.com. >

Re: [Dovecot] Aging Password

2009-06-15 Thread Timo Sirainen
On Thu, 2009-06-04 at 17:48 +0200, Jacopo Cappelli wrote: > I use dovecot with shadow support and i have a problem with aging password, > if the password is ended dovecot continue to log me in... > It's possibile to disable login if the password is ended? I'm not really planning on adding password

Re: [Dovecot] crash in imap with 1.2rc5

2009-06-15 Thread Timo Sirainen
On Fri, 2009-06-05 at 17:01 +0200, Ralf Hildebrandt wrote: > >From the log: > > Jun 5 16:38:46 postamt dovecot: imap-login: Login: user=, > method=PLAIN, rip=141.42.142.67, lip=141.42.4.250 > Jun 5 16:38:49 postamt dovecot: IMAP(username): Panic: Trying to sync > mailbox Sent with open transac

Re: [Dovecot] Expire/Quota error

2009-06-15 Thread Timo Sirainen
On Fri, 2009-06-05 at 19:42 -0500, Matt Rude wrote: > dlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: > /usr/local/lib/dovecot/imap/lib10_quota_plugin.so: undefined symbol: > mountpoint_get Fixed: http://hg.dovecot.org/dovecot-1.2/rev/6f36829c9e0e signature.asc Description: Th

Re: [Dovecot] LAYOUT=fs vs LAYOUT=maildir++ and quota

2009-06-15 Thread Timo Sirainen
On Sat, 2009-06-06 at 14:55 -0300, Ezequiel Alfíe wrote: > Hi everyone. > > I'm confused about LAYOUT=fs... > > Does using LAYOUT=fs breaks maildir++ quota, if I use this quota scheme? I think LAYOUT=fs works with Maildir++ quota as long as you're using only Dovecot. I haven't tested it though.

Re: [Dovecot] shared folders in v1.2 with one uid per user

2009-06-15 Thread Timo Sirainen
On Sat, 2009-06-06 at 14:48 -0300, Ezequiel Alfíe wrote: > What are the steps for correctly setting up shared folders with acls > if I choose one uid per user? It's going to be annoyingly difficult. http://wiki.dovecot.org/SharedMailboxes/Permissions describes the issues, but doesn't really tell

Re: [Dovecot] Multiple mail locations for a single user

2009-06-15 Thread Timo Sirainen
On Sun, 2009-06-07 at 22:01 +0100, Ross Burton wrote: > Is there any way to let me access all three maildirs through dovecot? > I'm guessing that I can do this with namespaces but I'm not sure. Any > suggestions and pointers? Either namespaces or use 3 different user accounts where each user has

Re: [Dovecot] 1.2rc5 crash: Backtrace:dovecot-auth

2009-06-15 Thread Timo Sirainen
On Wed, 2009-06-10 at 11:59 +0200, Ralf Hildebrandt wrote: > authenid = 0x8669189 "*masteruser" Fixed (also for v1.1): http://hg.dovecot.org/dovecot-1.2/rev/6886f1e18c76 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Archiving feature

2009-06-15 Thread Timo Sirainen
On Tue, 2009-06-09 at 16:26 -0500, Romer Ventura wrote: > It would be nice to have some sort of archiving feature on which > dovecot can save emails older than N+1 months to either a remote > Dovecot server with MySQL as storage or a separate instance of > Dovecot running on the same server b

Re: [Dovecot] IMP reading entire mailbox

2009-06-15 Thread Timo Sirainen
On Tue, 2009-06-09 at 17:49 -0700, Kenneth Porter wrote: > How about a configuration option that's a regex or glob of files to ignore > in the mail directories? A plugin could do that. ACL plugin could be used as an example. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Dovecot v1.2.rc5 dbox file permissions

2009-06-15 Thread Timo Sirainen
On Sat, 2009-06-13 at 19:45 +0200, Pascal Volk wrote: > Hi Timo, > > I've just setup Dovecot v1.2.rc5 and switched the mailbox format of one > account to dbox. Therefor I've created an empty directory, called dbox, > with access mode 0700, like the user's home directory. > After the IMAP login wit

Re: [Dovecot] Dovecot v1.2 rawlog in dovecot.conf trouble

2009-06-15 Thread Timo Sirainen
On Mon, 2009-06-15 at 11:18 +0200, Steffen Kaiser wrote: > mail_executable = > /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/rawlog > /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/imap > > # sbin/dovecot -F > Fio_loop_handle_add: epoll_ctl(1, 0): Operation not permitted This happens

Re: [Dovecot] Dovecot v1.2 assert() in ACL

2009-06-15 Thread Timo Sirainen
On Mon, 2009-06-15 at 15:23 +0200, Steffen Kaiser wrote: > 2 setacl Sent timo +lrwtsd > 2 OK Setacl complete. > 3 setacl Sent timo -lrwtsd > Aborted (core dumped) Thanks, fixed: http://hg.dovecot.org/dovecot-1.2/rev/01fae3737994 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] mixing dovecot and non-dovecot access to mail

2009-06-15 Thread Timo Sirainen
On Mon, 2009-06-15 at 20:40 +0200, Michal Szymanski wrote: > I wonder whether this mixing of dovecot and non-dovecot access can make > any problems, provide, of course, that the users are not using both ways > at the same time. AFAIK dovecot makes some indexing. Will it not be > confused if the fol

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-15 Thread Johannes Berg
On Mon, 2009-06-15 at 13:27 -0700, Jeremy Doran wrote: > It certainly seems to be the 'verbose debug' information that DSpam > prints to stderr that triggers this. > > After testing with the patches from Marcin Rzepecki and Harlan Stenn, I > managed completely disabled these kind of lines from be

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-15 Thread Jeremy Doran
Johannes Berg wrote: > Hi, > >> However, I know from looking at the dspam system.log file, the retraining >> actually happens - so it >> -does- appear to be calling dspam. It appears that the 'move' operation >> fails. > >> Plugin debug log when I attempt to move a message: >> Jun 13 09:29:07 s

Re: [Dovecot] Dovecot Antispam plugin

2009-06-15 Thread Johannes Berg
On Mon, 2009-06-15 at 15:15 -0400, Timo Sirainen wrote: > On Mon, 2009-06-15 at 21:11 +0200, Johannes Berg wrote: > > > The problem is that the istream API doesn't work the way you expect. > > > Just reading doesn't advance the stream, only calling i_stream_skip() or > > > i_stream_seek() does that

Re: [Dovecot] Dovecot Antispam plugin

2009-06-15 Thread Timo Sirainen
On Mon, 2009-06-15 at 21:11 +0200, Johannes Berg wrote: > > The problem is that the istream API doesn't work the way you expect. > > Just reading doesn't advance the stream, only calling i_stream_skip() or > > i_stream_seek() does that (and o_stream_send_istream() internally). So > > just remove th

Re: [Dovecot] Dovecot Antispam plugin

2009-06-15 Thread Johannes Berg
On Mon, 2009-06-15 at 15:08 -0400, Timo Sirainen wrote: > On Mon, 2009-06-15 at 21:03 +0200, Johannes Berg wrote: > > Christian has reported an error to me on dovecot 1.0.7, where the > > following code: > > > > 199 if (i_stream_read_data(mailstream, &beginning, &size, 5) < 0 || > > 200

Re: [Dovecot] Dovecot Antispam plugin

2009-06-15 Thread Timo Sirainen
On Mon, 2009-06-15 at 21:03 +0200, Johannes Berg wrote: > Christian has reported an error to me on dovecot 1.0.7, where the > following code: > > 199 if (i_stream_read_data(mailstream, &beginning, &size, 5) < 0 || > 200 size < 5) { .. > 212 if (o_stream_send(

Re: [Dovecot] Dovecot Antispam plugin

2009-06-15 Thread Johannes Berg
Timo, Christian has reported an error to me on dovecot 1.0.7, where the following code: 199 if (i_stream_read_data(mailstream, &beginning, &size, 5) < 0 || 200 size < 5) { 201 ret = -1; 202 mail_storage_set_error(t->box->storage, 203

[Dovecot] mixing dovecot and non-dovecot access to mail

2009-06-15 Thread Michal Szymanski
Hello, I have recently installed Mailscanner/postfix for the mail server and dovecot for (mainly remote) access to email (via T'bird etc. and/or Webmail). Most users still use text mail clients (mutt, pine, some still old elm) while in the office. These clients access mail (both incoming at /var/m

Re: [Dovecot] enourmous amount of disc writes

2009-06-15 Thread Patrick Domack
Dunno how much this applys to a local drive, but: I run dovecot for about 40k users over nfs. Default install of redhat el5 The version of dovecot shipped with redhat caused all kinds of user issues, so swapped it out with a pre 1.0 release of dovecot that I knew was good. About a year ago

[Dovecot] [Fwd: Re: enourmous amount of disc writes]

2009-06-15 Thread Rainer Sigl
Original Message Subject: Re: [Dovecot] enourmous amount of disc writes Date: Mon, 15 Jun 2009 18:48:50 +0200 From: Rainer Sigl To: Ralf Hildebrandt References: <4a3640c5.1070...@mpe.mpg.de> <4a364233.6090...@schetterer.org> <4a365913.6030...@mpe.mpg.de> <20090615142836.gx2

Re: [Dovecot] enourmous amount of disc writes

2009-06-15 Thread Robert Schetterer
Rainer Sigl schrieb: > Hi Robert, > many thanks for your answer! > Yes I'm aware of the necessity to upgrade the complete system. Beside > this I wanted to search for a quick solution. Upgrading the system > entails many other things and is in my eyes not possible on the living > system. look for

Re: [Dovecot] Dovecot Top?

2009-06-15 Thread Andrew Hearn
Timo Sirainen wrote: > On Jun 11, 2009, at 11:23 AM, Andrew Hearn wrote: > >> We occasional see high load peaks on our mail servers - these generally >> don't only last a few minutes. 'Top' show imap taking the lots of CPU >> resources, is there a dovecot 'top' like program to show dovecot which >

Re: [Dovecot] enourmous amount of disc writes

2009-06-15 Thread Stewart Dean
I think I mentioned this twice with little response by the DC community, but here goes a third time. I have things set up so that I can kill DC, swap in the new executables and restart DC, all in about 4 minutes or less. And if things go wrong, I can fall back just as fast. Users don't know t

Re: [Dovecot] enourmous amount of disc writes

2009-06-15 Thread Rainer Sigl
Hi Richard, many thanks for you answer. yes, this solution did we discuss as well. For a future testing system I will try this. But I can't use it on the living system in the moment. Regards Rainer Richard Hobbs wrote: Hello, You might also want to enable "noatime" in the mount options for th

Re: [Dovecot] enourmous amount of disc writes

2009-06-15 Thread Rainer Sigl
Hi Robert, many thanks for your answer! Yes I'm aware of the necessity to upgrade the complete system. Beside this I wanted to search for a quick solution. Upgrading the system entails many other things and is in my eyes not possible on the living system. Did you ever measure the ioactiviy wit

Re: [Dovecot] enourmous amount of disc writes

2009-06-15 Thread Rainer Sigl
Hi Robert, many thanks for your answer! Yes I'm aware of the necessity to upgrade the complete system. Beside this I wanted to search for a quick solution. Upgrading the system entails many other things and is in my eyes not possible on the living system. Regards Rainer Robert Schetterer wro

Re: [Dovecot] enourmous amount of disc writes

2009-06-15 Thread Richard Hobbs
Hello, You might also want to enable "noatime" in the mount options for the volume housing the data... if you're using maildir, this *could* reduce the number of writes by half, theoretically! Richard. Robert Schetterer wrote: > Rainer Sigl schrieb: >> Hi List, >> on my mailserver (exim4, dovec

[Dovecot] Dovecot v1.2 assert() in ACL

2009-06-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, using Dovecot v1.2 changeset: 9126:b745911012bb ACL config: acl = vfile # To let users LIST mailboxes shared by other users, Dovecot needs a # shared mailbox dictionary. For example: acl_shared_dict = file:/var/cache/dovecot/shared

Re: [Dovecot] enourmous amount of disc writes

2009-06-15 Thread Robert Schetterer
Rainer Sigl schrieb: > Hi List, > on my mailserver (exim4, dovecot 1.0.0, postgresql, ubuntu dapper, about > 500 users) I record an enourmous amount of disc writes (up to 18000 > blocks written each second) in the time where most of users are active. > This IO activity causes wait-states on the dis

[Dovecot] enourmous amount of disc writes

2009-06-15 Thread Rainer Sigl
Hi List, on my mailserver (exim4, dovecot 1.0.0, postgresql, ubuntu dapper, about 500 users) I record an enourmous amount of disc writes (up to 18000 blocks written each second) in the time where most of users are active. This IO activity causes wait-states on the disc interface (RAID5) and fin

[Dovecot] Dovecot v1.2 rawlog in dovecot.conf trouble

2009-06-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, using Dovecot v1.2 changeset: 9126:b745911012bb This line in dovecot.conf make trouble (wrapped in mail): mail_executable = /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/rawlog /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/imap