Re: [Dovecot] getenv() in plugin not working

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 03:58 +, Trutwin, Joshua wrote: > Appears this is the problem - I found this for dovecot v2 and it seems to be > working fine: > > http://sourceforge.jp/projects/dovecot2-drac/ > > Might wanna make a note on the wiki page that the DRAC setup is only for > dovecot 1.x?

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 13:09 -0500, Alex wrote: > > > Yes, you can pipe the message to the Dovecot LDA from procmail. This would > > be similar to the solution described above, only using Procmail instead of a > > shell script. > > Are you referring to doing something like this: > > http://wiki2.

Re: [Dovecot] Glued-together private namespaces

2011-11-15 Thread Timo Sirainen
On Mon, 2011-11-14 at 10:23 -0800, Mark Moseley wrote: > > Thanks to a fortuitously unrelated thread ("how to disable quota for > > second namespace"), I got the quota part figured out and that seems to > > be working: Add a second entry to plugin {}, e.g. "quota2 = > > maildir:Archive quota:ns=IN

Re: [Dovecot] Chroot

2011-11-15 Thread Timo Sirainen
On Sun, 2011-11-13 at 17:25 +0100, Bambero wrote: > all maildirs are located in: /var/mail/j...@example.com/Maildir So this is /var/mail/%u/Maildir template. > namespace { > type = shared > separator = / > prefix = shared/%%u/ > location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u

Re: [Dovecot] submission_host problem

2011-11-15 Thread Timo Sirainen
On Sat, 2011-11-12 at 05:32 +0100, Bambero wrote: > I configured dovecot to use submission smtp host becouse of chroot. > > submission_host = 127.0.0.1 > > Unfortunatelly: > > Nov 12 05:11:15 myhost exim[23366]: 2011-11-12 05:11:15 SMTP protocol > synchronization error (next input sent too soon

Re: [Dovecot] Migration From Courier Imap.

2011-11-15 Thread Timo Sirainen
On Sat, 2011-11-12 at 12:58 +0530, Rajeev Sharma wrote: > I am using vpopmail,qmail along with courier-imap 4.0 i want to > migrate from courier to dovecot but i have 100 shared folder > under /home/vpopmail/domains/domain.com/Malidir and user shared them > on the basis of rights assign. > > I am

Re: [Dovecot] Invalid "doveadm search" queries not rejected

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 23:41 -0800, Peter Williams wrote: > I think I've encountered a bug in Dovecot 2.0.9 (as provided on CentOS > 6). > > According to the doveadm-search-query(7) manual page, a "mailbox" > specification can only come at the beginning of a search query. It doesn't exactly say

Re: [Dovecot] dovecot-lda quota rule

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: > I really like the feature where you can define quota rules with percents > which trigger off of the default values[0] (so you can set the Trash to > allow for 10% more of the user's quota for example). > > What I would really love in dove

Re: [Dovecot] Dovecot 2.0.15 quota configuration with mbox

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 12:14 +0100, David Ocana wrote: > >> namespace { > >>separator = / > >>prefix = INBOX/ > >>location = > >> mbox:/var/empty:INBOX=/mail/%d/%n:INDEX=/var/dovecot/%d/%n > >>inbox = yes > >>hidden = yes > >> } > >> > >> plugin { > >>

Re: [Dovecot] Limit the number of pop/imap requests

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 10:40 +0100, wwl wrote: > Hello Group, > > is it possible to Limit the number of pop/imap requests to Dovecot? > > I read the Wiki and found > >max_mail_processes = 512 > > is this the way to limit this ? This limits the number of simultaneous IMAP and POP3 connection

Re: [Dovecot] indexes permissions problem

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 00:30 -0800, Mark Hanford wrote: > I've got a centos 6 server running Dovecot 2.0.beta6 (3156315704ef). > For legacy reasons (I'm moving mail from a Dovecot 1.1.1 and FreeBSD box > with user home directories NFS mounted), my index files are setup to be > in /u/indexes/ >

Re: [Dovecot] default Dovecot-LDA CHGRP/CHMOD

2011-11-15 Thread Timo Sirainen
On Wed, 2011-11-09 at 14:04 -0500, Chris Young wrote: > I am familiar with this article > http://wiki.dovecot.org/LDA#multipleuids > > I want to disable setuid-root, but I don't know the default group and > permissions. > > sudo chgrp root /usr/libexec/dovecot/dovecot-lda > sudo chmod 00750 /usr/

Re: [Dovecot] Dovecot SASL on another machine

2011-11-15 Thread Timo Sirainen
On Sat, 2011-11-05 at 20:43 +0100, Patrick Ben Koetter wrote: > * Timo Sirainen : > > On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: > > > > > is there a way to use Dovecot SASL Authentication for submission on a > > > different machine dovecot runs?

Re: [Dovecot] Seg fault in dovecot/auth 2.0.15

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 14:31 -0500, Mark Goldey wrote: Could you do a bit more with gdb and this core: > #1 0x08059890 in auth_worker_handle_user (client=0x82b34d0) at > auth-worker-client.c:405 > auth_request = 0x82b56e8 > userdb_id = 1 fr 1 p *auth_request->userdb->userdb p *au

Re: [Dovecot] dsync problems

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 14:24 -0500, Micah Anderson wrote: > When a user renames their username, I am using dsync to copy their mail > over to the new username's mail location[0]. > > Some of the dsyncs are failing with errors that I dont know how to work > with, for example: > > dsync(): Error: T

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 0.14, Alex wrote: >>> I just don't understand how to invoke procmail from deliver. >> >> The idea was to invoke deliver from procmail. I still do this myself >> since I haven't bothered changing my procmail scripts to Sieve: >> >> DELIVER=/usr/local/libexec/dovecot/deliver >>

Re: [Dovecot] Excessive imap-logins, never die

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 0.48, Nick Edwards wrote: > Today I note there are 38 imap-logins that seem to be stale on our staff > imap server, > they do not seem to die off, new imap-logins are created with new logins > and exit accordingly. .. > Dovecot version 1.2.17, built from source All this code ha

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 2.00, Alex wrote: > It's now delivering, but my deliver command must be wrong. This is my > ~/.procmailrc: .. > # # /usr/libexec/dovecot/deliver -m spamtest > lda(root): Fatal: destination user parameter (-d user) not given > > Am I doing something wrong? Is it trying to delive

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 2.08, Alex wrote: > No, I was just running as root from the command-line for an example. > The maillog shows error 75: > > procmail: Assigning "DELIVER=/usr/libexec/dovecot/deliver" > procmail: Executing "/usr/libexec/dovecot/deliver,-m,xspamtest" > procmail: Non-zero exitcode (

Re: [Dovecot] Deleting a mailbox and all its children

2011-11-15 Thread Timo Sirainen
On 16.11.2011, at 3.04, Micah Anderson wrote: > I'm looking at scripting a mechanism to delete a mailbox, which is easy > with 'doveadm mailbox delete' -- however it gets complicated when there > are children of arbitrary depth, for example, I may have this: > > restored.daily1.INBOX > restored.d

Re: [Dovecot] submission_host problem

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-16 at 15:00 +0100, Bambero wrote: > >> Nov 12 05:11:15 myhost exim[23366]: 2011-11-12 05:11:15 SMTP protocol > >> synchronization error (next input sent too soon: pipelining was not > >> advertised): rejected "EHLO myhost" H=localhost [127.0.0.1] next > >> input="MAIL FROM:\\r\\n" >

Re: [Dovecot] Chroot

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-16 at 15:54 +0100, Bambero wrote: > >> Error: userdb lookup: connect(/var/dovecot/auth-userdb) failed: No > >> such file or directory > > > > This is done because you used %%h, to look up home directory from > > userdb. If you don't use %%h, it's not done. > > > > Thanks but my db

Re: [Dovecot] Usage of director without LMTP

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-16 at 15:02 +0100, Oliver Eales wrote: > For the final setup we want to utilize the director for all protocols > (IMAP,POP,LMTP,SIEVE). > During the transition phase we will not be able to use LMTP for mail > delivery, but we are still stuck with deliver as LDA. > So for mail deliv

Re: [Dovecot] Creating a password_scheme

2011-11-16 Thread Timo Sirainen
On Thu, 2011-11-17 at 01:13 +1100, Jordi Llonch wrote: > I am trying to develop a password_scheme for the Django passwords. > > After building and installing the module in > $module_dir/auth/password/djangopass.so, also tried libdjangopass.so and > libdjangopass_plugin.so, Dovecot does not recogn

Re: [Dovecot] dovecot-lda quota rule

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-16 at 11:09 -0500, micah anderson wrote: > > protocol lda { > > plugin { > > quota_rule2 = INBOX:storage=200% > > } > > } > > Aha! Just what I was looking for. I presume the number following > 'quota_rule' must be an unique number across all quota_rules in my > config? No

Re: [Dovecot] submission_host problem

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-16 at 17:28 +0100, Bambero wrote: > Thanks a lot it almost helped. But now there is another problem: > Nov 16 17:13:45 zeus exim[10613]: 2011-11-16 17:13:45 1RQi7C-0001lG-BX > ** t...@apisoft.pl R=localuser T=local_delivery: Child process of > local_delivery transport (running comma

Re: [Dovecot] 2.1: virtual plugin and lsub

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-09 at 20:08 +0100, e-frog wrote: > On 06.11.2011 17:03, wrote e-frog: > > 1 lsub "" "virtual/*" > > * LSUB () "/" "virtual" > > * LSUB () "/" "virtual/Lists" > > * LSUB () "/" "virtual/unread" > > 1 OK Lsub completed. > > Just tested this again with 2.1beta1 with the same result.

Re: [Dovecot] Indexes to MLC-SSD

2011-11-16 Thread Timo Sirainen
On Mon, 2011-11-07 at 01:08 +0100, Patrick Westenberg wrote: > Ed W schrieb: > > > See the "sticky" in my reply. You use one of several techniques to > > ensure that users always end up on the server with the indexes on. That > > way much of the IO is served from that local machine and you only

Re: [Dovecot] Missing public folder

2011-11-16 Thread Timo Sirainen
On Mon, 2011-11-07 at 11:10 +0100, komodo wrote: > Hi > > i am using dovecot 2.0.13 and i can't see public folder in my mail client. > But what is strange, it > was working after instalation, and i don't know when it dissapeared. Maybe > after some upgrade ? Try talking IMAP protocol directly:

Re: [Dovecot] Port variable in LMTP userdb lookups?

2011-11-16 Thread Timo Sirainen
On Mon, 2011-11-07 at 13:23 +0200, Mark Zealey wrote: > 04-11-2011 23:56, Timo Sirainen yazmış: > From my reading of the code in 2.0.15, you pass the local & remote IP > in lmtp/commands.c:427 but the struct mail_storage_service_input only > has remote_ip and local_ip fields,

Re: [Dovecot] Seg fault in dovecot/auth 2.0.15

2011-11-16 Thread Timo Sirainen
Your message was discarded by mailman, probably because it was html-only. Anyway: On Wed, 2011-11-16 at 13:15 -0500, Mark Goldey wrote: > (gdb) p *auth_request->userdb->userdb->iface > $2 = {name = 0x807023e "vpopmail", preinit = 0x8065d60 > , init = 0, deinit = 0, > lookup = 0x8066010 , itera

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-16 Thread Timo Sirainen
On Tue, 2011-11-15 at 20:50 -0500, Alex wrote: > > deliver should have logged something, or alternatively the problem was > > exactly that it couldn't log anything. http://wiki.dovecot.org/LDA#logging > > Yes, looks like permissions. I have the following now in syslog: > > Nov 15 19:51:07 mail02

Re: [Dovecot] Glued-together private namespaces

2011-11-16 Thread Timo Sirainen
On Tue, 2011-11-15 at 16:04 -0800, Mark Moseley wrote: > > The gotcha is that you have two completely independent quotas with > > independent usage/limits for the INBOX and Archive namespaces. If that > > is what you want, it should all be fine. > > Nope, that's totally fine. The idea is to put Ar

Re: [Dovecot] submission_host problem

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-16 at 20:25 +0100, Bambero wrote: > Can you see something here: No, the "??" isn't very helpful. > gdb -p `pgrep dovecot-lda` > This GDB was configured as "i386-unknown-openbsd5.0". Oh, this is OpenBSD. Try if this works instead: gdb /usr/local/libexec/dovecot/dovecot-lda `pgrep

Re: [Dovecot] Indexes to MLC-SSD

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-16 at 19:40 +0100, Patrick Westenberg wrote: > Timo Sirainen schrieb: > > On Mon, 2011-11-07 at 01:08 +0100, Patrick Westenberg wrote: > >> > >> My mail exchangers use dovecot-lda and I think indexes will be written > >> from these servers too

[Dovecot] v2.0.16 released

2011-11-16 Thread Timo Sirainen
sted below, a lot of smaller fixes were done. v2.0.16 2011-11-17 Timo Sirainen * VSZ limits weren't being enforced for any processes. On server with large mailboxes you may now see errors about it if the limits aren't high enough. To fix them, either increas

Re: [Dovecot] Getting started with sieve and conversion from procmail

2011-11-16 Thread Timo Sirainen
On 17.11.2011, at 2.29, Alex wrote: >>> Nov 15 19:51:07 mail02 dovecot: lda(alexuser): Fatal: >>> setresgid(12(mail),12(mail),12(mail)) failed with euid=500(alexuser): >>> Operation not permitted >> >>> Where is it trying to write that it can't? >> >> It's trying to change the process's UID/GID

Re: [Dovecot] Mail lost - maybe a bug???

2011-11-17 Thread Timo Sirainen
On 17.11.2011, at 18.47, Marco Carcano wrote: >>> Oct 27 11:20:34 srv001 dovecot: lda(user3): >>> msgid=>>> : saved mail to INBOX >> >> If Dovecot logs this, then the message definitely was saved to INBOX. > > it is exactly what I told to my colleagues, but belive me, sometime some mail > get

Re: [Dovecot] Dovecot performance issues with many writes

2011-11-17 Thread Timo Sirainen
On 17.11.2011, at 23.30, Andy Robbins wrote: > We can't figure out why we would be seeing twice as many writes as we are > reads. Could this have something to do with the index files? dovecot -n output would be helpful.

Re: [Dovecot] Dovecot performance issues with many writes

2011-11-17 Thread Timo Sirainen
On 18.11.2011, at 0.20, Andy Robbins wrote: > # iostat -d 5 -x > Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz > avgqu-sz await svctm %util > dm-4 0.00 0.00 485.80 865.80 3886.40 6926.40 > 8.0028.69 19.63 0.70 94.00 > drbd0

Re: [Dovecot] Dovecot performance issues with many writes

2011-11-17 Thread Timo Sirainen
run from the NFS server and dovecot was run from > the mail server where it is mounted, hence the discrepancy there. > > > On Thu, Nov 17, 2011 at 4:34 PM, Timo Sirainen wrote: > On 18.11.2011, at 0.20, Andy Robbins wrote: > > > # iostat -d 5 -x > > Device:

Re: [Dovecot] seting acl for master user?

2011-11-18 Thread Timo Sirainen
On Fri, 2011-11-18 at 14:34 +0100, oni-n...@gmx.net wrote: > what i don't get is the acl-setting, so that the master-user can > access all the other users mails and folders. .. > in my case I only want the master user (called cyrus) to be able to do > everything with/in all mailboxes, so I made a

Re: [Dovecot] setting up multiple listeners

2011-11-18 Thread Timo Sirainen
On Fri, 2011-11-18 at 09:27 -0500, David Mehler wrote: > Hello, > > I'm using Dovecot v2 and am atempting to get webmail going. I'm trying > to set up imap so that port 993 only is listening on the external > interface, for both ipv4 and ipv6, but that on localhost only again > for ipv4 and ipv6 u

Re: [Dovecot] Mail_quota plugin and LDAP on Dovecot 1.2

2011-11-18 Thread Timo Sirainen
On Thu, 2011-11-17 at 22:54 -0430, Victor wrote: > the quota_imap plugin not working when I use against MailquotaSize Attribute > of LDAP users. > this setup works perfectly on lenny and dovecot-imapd 1:1.0.15-2.3 but on > squeeze dovecot-imad > 1:1.2.15-7 doesn't work, the service is up, bu

Re: [Dovecot] CCing outbound IMAP mail?

2011-11-18 Thread Timo Sirainen
On Fri, 2011-11-18 at 09:25 -0800, Dave Stevens wrote: > For some users on my site I'd like to be able to CC a particular user > on all outgoing IMAP mails. Incoming I can do but don't see how to do > outgoing. Ideas? Typically the users would be sending the outgoing mails via your SMTP server

Re: [Dovecot] issues with 2.1b1 on OS X

2011-11-19 Thread Timo Sirainen
On 19.11.2011, at 21.05, metro_domain_ad...@fastmail.fm wrote: > Two issues came up for me when building 2.1beta1 on OS X (10.5.8 on > PPC). The first was already mentioned in an earlier thread by a BSD user > (http://dovecot.org/list/dovecot/2011-September/061201.html). I just > wanted to point o

Re: [Dovecot] issues with 2.1b1 on OS X

2011-11-20 Thread Timo Sirainen
On Sat, 2011-11-19 at 14:05 -0500, metro_domain_ad...@fastmail.fm wrote: > More important, Dovecot aborts on launch with the following error: > > Nov 19 10:23:52 kerio2 dovecot[33553]: master: Fatal: kevent(EV_ADD, > READ, 16) failed: Invalid argument This probably helps: service stats {

Re: [Dovecot] uid=error

2011-11-21 Thread Timo Sirainen
On 21.11.2011, at 8.52, Paresh Chalke wrote: > We are facing this issue on our mail server > 1. Two email id's are mapped to a same account > 2. If I send a mail to both the account simultaneously i get below error > > "Nov 21 12:13:37 blade8 dovecot: lda(kapil.gu...@qlc.in): save: box=INBOX, > u

Re: [Dovecot] uid=error

2011-11-21 Thread Timo Sirainen
On 21.11.2011, at 22.14, Robert Schetterer wrote: >> This is the "info" message from mail_log plugin about what happened to mail. >> Besides this one, there should be another error message from lda saying what >> actually happened. The above informational message doesn't really say >> anything,

Re: [Dovecot] Unique message IDs?

2011-11-21 Thread Timo Sirainen
On 21.11.2011, at 22.02, Alexander Chekalin wrote: > I need a way to identify message across my mail box. The idea is that I can > move messages between IMAP folders and the index still should be able to > identify it. Message GUIDs are pretty good for that. > What I want to know, will UID str

Re: [Dovecot] Dovecot performance issues with many writes

2011-11-21 Thread Timo Sirainen
ink readdir > readdirplus > 8306621% 0 0% 8654841% 2576 0% 1108450% 24963 > 0% > fsstat fsinfo pathconf commit > 2074 0% 8 0% 0 0% 37113 0% > > My apologies for the somewhat garbled output, there, but I it

Re: [Dovecot] Dovecot Log analysis

2011-11-21 Thread Timo Sirainen
On Mon, 2011-11-21 at 11:19 +0100, Thomas Hummel wrote: > Hello, > > Before writing them myself, I'd like to figure out if some tools exist (anvil > ? > ...) and how to use them to extract from dovecot logs things like who is doing > what and how hard or how fast in order to do some rate limiting

Re: [Dovecot] Solaris hardware crypto engines

2011-11-21 Thread Timo Sirainen
On Mon, 2011-11-21 at 10:18 +0100, Martin Preen wrote: > Hello, > after serveral tests (and reading a lot of howto's) I'm now fairly convinced > that the Solaris HW-crypto engine is not automatically used. Even when dovecot > ist compiled with the OpenSSL version provided by Solaris. > > Currently

Re: [Dovecot] Unique message IDs?

2011-11-21 Thread Timo Sirainen
On Tue, 2011-11-22 at 00:47 +0300, Alexander Chekalin wrote: > > With Maildir the message GUID is typically the same as the Maildir base > > filename (i.e. everything before ':' character). > > But what if I one day decide to convert my maildir's to mbox'es? > I really plan to do such conversion

Re: [Dovecot] No duplicates on imap copy?

2011-11-22 Thread Timo Sirainen
On 22.11.2011, at 11.10, Alexander Chekalin wrote: > when from my script I try to copy messages from one imap folder into another > own (within the same imap mailbox). That works perfectly, but... If I copy > the same message N times from one folder into another one, in the destination > folder

Re: [Dovecot] Unique message IDs?

2011-11-22 Thread Timo Sirainen
On 22.11.2011, at 7.39, Alexander Chekalin wrote: > I'd like to use the best optimized one (mdbox), but there is a reason not to > do that is when I use mbox or maildir I can see where given IMAP folder mails > are stored, so, say, if I want to copy only one IMAP folder to some remote > site, I

Re: [Dovecot] disable imap info logging

2011-11-22 Thread Timo Sirainen
On 22.11.2011, at 20.24, Chris Young wrote: > Is there a way to disable the imap info logging? > > My logs are filling with tons of login/logout messages > > Nov 22 18:23:25 imap-login: Info: Login: user=, method={method}, > rip=10.86.189.79, lip=10.86.189.82, mpid=22488 > Nov 22 18:23:25 imap(U

Re: [Dovecot] 1.2.15 can't get zlib working

2011-11-22 Thread Timo Sirainen
On 22.11.2011, at 19.00, Stan Hoeppner wrote: > The current operation on '1-Spam-l' did not succeed. The mail server > for account s...@hardwarefreak.com responded: Mailbox doesn't exist: > 1-Spam-l .. > /$ la /home/stan/mail/1-Spam-l.gz > -r 1 stan stan 14M Oct 28 2010 /home/stan/mail/1

Re: [Dovecot] "%d" does not expand to domain on wildcard search

2011-11-22 Thread Timo Sirainen
On 22.11.2011, at 22.52, Ramiro Blanco wrote: > Hi, I found that doing a wildcard search with doveadm doesn't expand the %d > global variable when doing a wildcard search like: > > Nov 22 20:48:07 auth-worker: Debug: ldap: iterate: base=vd=%d,dc=domain > scope=subtree Iteration is supposed to it

Re: [Dovecot] Problem compiling dovecot 2.1 Beta1 under Solaris 10 on SPARC

2011-11-22 Thread Timo Sirainen
On 22.11.2011, at 22.11, Jürgen Obermann wrote: > "imapc-client.h", line 21: warning: enumerator value overflows INT_MAX > (2147483647) What? No it doesn't.. Does changing the 0x4 in line 20 to 0x2 help? > "imapc-connection.c", line 1446: operand cannot have void type: op "=="

Re: [Dovecot] How to disable pop3 in version 2?

2011-11-22 Thread Timo Sirainen
On 23.11.2011, at 0.53, Knute Johnson wrote: > I'm about to bring up a new mail server running Ubuntu 11.10 with Dovecot 2. > I've been using 1.2 all along and there are a bunch more config files in 2. > In 1.2 I just edited the protocols statement but I can't find one in version > 2. Is the

Re: [Dovecot] 1.2.15 can't get zlib working

2011-11-22 Thread Timo Sirainen
On 23.11.2011, at 0.25, Stan Hoeppner wrote: > On 11/22/2011 12:30 PM, Timo Sirainen wrote: >> On 22.11.2011, at 19.00, Stan Hoeppner wrote: >> >>> The current operation on '1-Spam-l' did not succeed. The mail server >>> for account s...@hardwarefreak.

Re: [Dovecot] Problem compiling dovecot 2.1 Beta1 under Solaris 10on SPARC

2011-11-23 Thread Timo Sirainen
On 23.11.2011, at 12.01, Jürgen Obermann wrote: >> On 22.11.2011, at 22.11, Jürgen Obermann wrote: >> >>> "imapc-client.h", line 21: warning: enumerator value overflows INT_MAX >>> (2147483647) >> >> What? No it doesn't.. Does changing the 0x4 in line 20 to >> 0x2 help? > > No

Re: [Dovecot] dovecot as an imap "client"

2011-11-23 Thread Timo Sirainen
On 23.11.2011, at 17.07, David LEROUX wrote: > On 11/23/2011 03:53 PM, Frank Elsner wrote: >> imapsync comes to my mind. - http://imapsync.lamiral.info/ - >> http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync >> --Frank Elsner > Thanks, > Thought that dovecot

Re: [Dovecot] Problem compiling dovecot 2.1 Beta1 under Solaris10on SPARC

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-23 at 18:07 +0100, Jürgen Obermann wrote: > > http://hg.dovecot.org/dovecot-2.1/rev/bfcd0bed5a9e > > There seems to be one more similar problem: > > "anvil-connection.c", line 156: void function cannot return value Fixed: http://hg.dovecot.org/dovecot-2.1/rev/4f1d20b57c04

Re: [Dovecot] "%d" does not expand to domain on wildcard search

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-23 at 00:56 +0200, Timo Sirainen wrote: > > Hi, I found that doing a wildcard search with doveadm doesn't expand the %d > > global variable when doing a wildcard search like: > > > > Nov 22 20:48:07 auth-worker: Debug: ldap: iterate: base=vd=%

Re: [Dovecot] [PATCH] SCRAM-SHA-1 authentication

2011-11-23 Thread Timo Sirainen
On Sun, 2011-09-18 at 03:44 +0200, Florian Zeitz wrote: > Am 16.09.2011 14:40, schrieb Timo Sirainen: > > On Fri, 2011-09-16 at 02:47 +0200, Florian Zeitz wrote: > > > > Looks pretty good. Below are a few things I noticed. I could fix these > > myself next week also

Re: [Dovecot] Can't delete sub-folder

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-09 at 22:33 +, pch0317 wrote: > I use thunderbird 8.0 as a client and dovecot 2.0.9 with imap protocol .. > When I try to delete 'parent' folder which contain 'messages only' > folder, error message appear: [ALREADYEXISTS] Mailbox has children, > delete them first. Ok, so I d

Re: [Dovecot] [PATCH] SCRAM-SHA-1 authentication

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-23 at 22:07 +0100, Stephan Bosch wrote: > On 11/23/2011 9:57 PM, Timo Sirainen wrote: > > On Sun, 2011-09-18 at 03:44 +0200, Florian Zeitz wrote: > >> Am 16.09.2011 14:40, schrieb Timo Sirainen: > >>> On Fri, 2011-09-16 at 02:47 +0200, Florian Zeitz w

Re: [Dovecot] "%d" does not expand to domain on wildcard search

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-23 at 18:19 -0300, Ramiro Blanco wrote: > 2011/11/23 Timo Sirainen : > > > > hg version of v2.1 now supports this. > > > > Does it need some extra configuration? No. > I've upgraded to hg ver. of 2.1 and still the same error... Does it still

Re: [Dovecot] "%d" does not expand to domain on wildcard search

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-23 at 19:08 -0300, Ramiro Blanco wrote: > 2011/11/23 Timo Sirainen : > > > > Does it still show "%d" in the error messages, or is it "" now? > > > It still shows "%d" > > Nov 23 18:42:59 auth-worker(729): Debug: ldap:

Re: [Dovecot] doveadm import assertion failed

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-23 at 09:54 -0500, Micah Anderson wrote: > Restoring a user's mailbox yesterday resulted in 'doveadm import' > panic'ing with an assertion failure and giving a backtrace: > > /usr/bin/doveadm import -u > mdbox:/maildir/riseup.net/a//.daily.1/mdbox > restored_from_backups/daily1

Re: [Dovecot] 1.2.15 can't get zlib working

2011-11-23 Thread Timo Sirainen
On Tue, 2011-11-22 at 18:56 -0600, Stan Hoeppner wrote: > Out of curiosity, what (or who) prompted the development of the > compressed mbox feature? Or was it that you wanted to do it for > maildir, and then figured you should for mbox as well? The > implementation seems to work ok. The instruc

Re: [Dovecot] How to disable pop3 in version 2?

2011-11-23 Thread Timo Sirainen
On Tue, 2011-11-22 at 16:40 -0800, Knute Johnson wrote: > The Ubuntu installation has this line in the /etc/dovecot/dovecot.conf file; > > !include_try /usr/share/dovecot/protocols.d/*.protocol > > That directory contains one file; > > dovecot-imapd.protocol > > and it contains one line; > >

Re: [Dovecot] Solaris hardware crypto engines

2011-11-23 Thread Timo Sirainen
On Mon, 2011-11-21 at 23:49 +0100, Martin Preen wrote: > # /usr/sfw/bin/openssl engine > (pkcs11) PKCS #11 engine support > > >> ENGINE_set_default_RSA(e); ENGINE_set_default_DSA(e); > >> ENGINE_set_default_ciphers(e); > >> > >> in ssl_proxy_init() and inserting ENGINE_cleanup(); in ssl_proxy

Re: [Dovecot] Solaris hardware crypto engines

2011-11-23 Thread Timo Sirainen
On Thu, 2011-11-24 at 01:55 +0200, Timo Sirainen wrote: > What EncryptUpdate?.. I've anyway added the engine init/deinit calls in > your email to v2.1 hg. Lets hope it works :) At least it didn't break > when I tried it with "dynamic" value (which is the only engin

Re: [Dovecot] Seg fault in dovecot/auth 2.0.15

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-16 at 23:48 -0500, Mark Goldey wrote: > (gdb) bt full > #0 0x in ?? () > No symbol table info available. > #1 0x0805b0c7 in auth_worker_handle_user (client=0x82754d0, id=2, > args=0x82601c8) at auth-worker-client.c:405 Still doesn't make any sense.. Try what it logs with

[Dovecot] v2.1.rc1 released

2011-11-23 Thread Timo Sirainen
http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc1.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc1.tar.gz.sig I'll probably release v2.1.0 pretty soon, unless people report some new bugs. I know v2.1 is already being used to serve mails to tens (or hundreds?) of thousands of users, so it

Re: [Dovecot] Excluding some system users after configuration

2011-11-23 Thread Timo Sirainen
On Thu, 2011-11-24 at 01:44 +0100, Nanitous wrote: > Dear readers, > > Consider an installed Postfix configuration (2.3.3) on CentOS. > Now I want to install Dovecot (alas only version 1.0.7.7 is available) to > provide IMAP services for a few system users, but not all. Most importantly > the ma

Re: [Dovecot] Random Loss of Connection with Thunderbird and Dovecot

2011-11-23 Thread Timo Sirainen
On Wed, 2011-11-23 at 16:54 -0800, Jay Welch wrote: > Dovecot Version: 1.2.16 > > > I am having issues with Thunderbird connecting to Dovecot at random > times. Usually an error comes up and states that Thunderbird cannot > connect to the server. The only way I have been able to fix this is >

Re: [Dovecot] "%d" does not expand to domain on wildcard search

2011-11-23 Thread Timo Sirainen
On 24.11.2011, at 4.00, Ramiro Blanco wrote: > Now "%d" it's empty, it shows "vd=" instead of "vd=%d": > > It is supposed to parse domain part from input in "doveadm search > *@domain ..", right? Too tired to test search myself now, but this is what I used to test it myself: doveadm user '*@do

Re: [Dovecot] modules directory

2011-11-24 Thread Timo Sirainen
On 24.11.2011, at 15.11, Johannes Berg wrote: > I'm a little confused with how plugin loading works in dovecot 2, I > can't seem to make it load from $(moduledir)/imap/. Is that intended to > work? Just a configuration issue? > > Reason I ask is that I ported my antispam plugin (I know there's a

Re: [Dovecot] modules directory

2011-11-24 Thread Timo Sirainen
On 24.11.2011, at 16.13, Johannes Berg wrote: >>> Should I install into just $(moduledir)/ now? >> >> Yep. > > Alright, thanks! Do you remember if that would be compatible with older > versions as well, or do those require it being in /imap/? What changed was that the default mail_plugin_dir ch

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Timo Sirainen
On 24.11.2011, at 16.42, Simon Brereton wrote: >> Documentation (http://wiki.dovecot.org/VirtualUsers/Home) says that home > > Why do you need a home directory for virtual users? It says right there in the wiki.

Re: [Dovecot] Problem with lmtp proxy

2011-11-24 Thread Timo Sirainen
On Thu, 2011-11-24 at 17:11 +0100, Miguel Tormo wrote: > I think I'm missing something but I can't find what it is. To summarize: with > lmtp_proxy = no it does work, with lmtp_proxy = yes it doesn't. Thank you for > your help! The problem is: > ** cat dovecot-ldap.conf.ext

Re: [Dovecot] v2.1.rc1 released

2011-11-24 Thread Timo Sirainen
On Thu, 2011-11-24 at 19:23 +0100, Miguel Tormo wrote: > The fd limit is the maximum number of concurrently open file descriptors per > process. It can be configured on a per-user basis. > You can check the actual value running 'ulimit -n'. It can be increased up to > the value set in /proc/sys/

Re: [Dovecot] How to create home directories for virtual users?

2011-11-24 Thread Timo Sirainen
On Thu, 2011-11-24 at 21:23 +0200, Olli Räisänen wrote: > Tom Hendrikx kirjoitti 2011-11-24 kello 18:13:47: > > > > How about using /srv/vmail/%d/%n for homedir, and /srv/vmail/%d/%n/mail > > as mailstore? > > Well, yes - at least the home directory will be created that way. Still, > PostfixAdmi

Re: [Dovecot] Which FTS to use!

2011-11-25 Thread Timo Sirainen
On 25.11.2011, at 17.29, Henrique Santos Fernandes wrote: > Hello, i am currently using squat dovecot, but some users that have lots os > emails ( 1GB ) are complaining about speed. > Iam using dovecot 2.0.13 on debian 6 > > my squat conf is > plugin { > fts = squat > fts_squat = partial=4 full

Re: [Dovecot] Seen flag getting lost

2011-11-25 Thread Timo Sirainen
On 25.11.2011, at 14.49, Edgar Fuß wrote: >> That shouldn't happen because of Dovecot's indexes. > Hm, also if the indexes are local? Fine. Yep. It just means that indexes then aren't fully up to date. Hmm. I guess possibly one potential problem is if 1. dovecot.index.log says that "set flags

Re: [Dovecot] MUAs creating different "Sent" folders

2011-11-29 Thread Timo Sirainen
On 29.11.2011, at 23.42, Ralf Hildebrandt wrote: > While our webmail installation creates "Sent" as a Sent-Items Folder, > Apple Mail creates "Sent Messages". > > Is there a way of "mapping" foldernames e.g. > > map "Sent Messages" to "Sent" > map "Deletes Messages" to "Trash" > and so on? With

Re: [Dovecot] MS Exchange IMAP Proxy

2011-11-30 Thread Timo Sirainen
On 30.11.2011, at 22.36, Terry Carmen wrote: > Does Dovecot do any cleanup of the IMAP commands that would be useful in > protecting Exchange (from this, http://www.cvedetails.com/cve/CVE-2007-0221/ > for example), or am I barking up the wrong tree? v2.1 with imapc backend can be used to do thi

Re: [Dovecot] dsync(root): Fatal: execvp() failed: No such file or directory

2011-12-01 Thread Timo Sirainen
On 1.12.2011, at 10.33, Yaroslav Boychuk wrote: > dsync -f -v mirror \ >mbox:$h/mail:INBOX=$h/INBOX \ >maildir:$h/Maildir:CONTROL=$h/dovecot:INDEX=$h/dovecot \ dsync -f -v mirror \ -o mail=mbox:$h/mail:INBOX=$h/INBOX \ maildir:$h/Maildir:CONTROL=$h/dovecot:INDEX=$h/dovecot \

Re: [Dovecot] LDAP Authentication - Home Directory Creation

2011-12-01 Thread Timo Sirainen
On 1.12.2011, at 19.26, Stephen Bowman wrote: > How does everyone handle this case? > > Users are authenticated by LDAP, and do not have accounts on the IMAP/dovecot > server. When a new user is added to LDAP, the home directory (/home/newuser) > needs to be created on the IMAP/dovecot server

Re: [Dovecot] LDAP Authentication - Home Directory Creation

2011-12-01 Thread Timo Sirainen
On 2.12.2011, at 0.41, Sven Hartge wrote: > Or switch to a > virtual setup, where the users don't get real users on the imap server > (they can't log in, so they don't need any real user on that server) and > every mail is owned by your virtual mail user. Well, it of course makes things easier, b

Re: [Dovecot] LDAP Authentication - Home Directory Creation

2011-12-01 Thread Timo Sirainen
On 2.12.2011, at 1.03, Sven Hartge wrote: > Timo Sirainen wrote: >> On 2.12.2011, at 0.41, Sven Hartge wrote: > >>> Or switch to a virtual setup, where the users don't get real users on >>> the imap server (they can't log in, so they don't need any

[Dovecot] IMAP SPECIAL-USE extension

2011-12-02 Thread Timo Sirainen
It's implemented now in dovecot-2.1 hg. It also deprecates autocreate plugin (but it still works the old way). The idea is that you can now do e.g.: mailbox Trash { auto = no special_use = \Trash } mailbox Drafts { auto = no special_use = \Drafts } mailbox Sent { auto = subscribe # auto

Re: [Dovecot] can not get t'bird to create folder

2011-12-02 Thread Timo Sirainen
On 1.12.2011, at 2.15, sean darcy wrote: > The problem was that the antispam plugin was for 2.0.15 - and I'm using > 2.0.16. > > It seems that if a plugin can't be loaded, dovecot can't do anything else. Yes. Nowadays I keep stable APIs between micro versions (vX.Y.*), but stable ABIs would re

Re: [Dovecot] lda/sieve ignores quota from ldap

2011-12-02 Thread Timo Sirainen
On 30.11.2011, at 20.04, Jens Meißner wrote: > I'm using Dovecot 2.0 with Sieve as MDA and Postfix as MTA. The > Postfix delivery command is /usr/lib/dovecot/dovecot-lda -f "$SENDER" > -a "$RECIPIENT". I have set a default quota with quota_rule = *:storage=1G. > Some users should have a larger quo

Re: [Dovecot] MS Exchange IMAP Proxy

2011-12-02 Thread Timo Sirainen
On 1.12.2011, at 6.03, Terry Carmen wrote: >> On 30.11.2011, at 22.36, Terry Carmen wrote: >> >>> Does Dovecot do any cleanup of the IMAP commands that would be useful in >>> protecting Exchange (from this, >>> http://www.cvedetails.com/cve/CVE-2007-0221/ for example), or am I barking >>> up t

Re: [Dovecot] MS Exchange IMAP Proxy

2011-12-02 Thread Timo Sirainen
On 3.12.2011, at 1.42, Terry Carmen wrote: > Dec 2 18:35:09 host dovecot: imap(myusername): Error: user myusername: > Couldn't drop privileges: User is missing UID (see mail_uid setting) > > "myusername" is not a local user, but exists only on the exchange server. Any > thoughts? You still ne

<    7   8   9   10   11   12   13   14   15   16   >