Re: [Dovecot] checkpassword protocol

2013-04-08 Thread Heiko Schlichting
> Hmm. The AUTH_PASSWORD wasn't really an intentional addition .. but > I guess it can stay there. Some 10 years ago that might not have been > such a good idea since there were still some systems where process > environment variables were readable to all users in the system, but > I doubt there ex

Re: [Dovecot] mdbox and folders containing both messages and sub-folders

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 1.51, Rich Wales wrote: > When I use the mdbox format, there are a bunch of LIST and LSUB commands > whose responses mention INBOX.Trash with the \Noselect and \HasChildren > flags (the Trash folder for this particular account happens to contain > subfolders). Before trying to sa

Re: [Dovecot] v2.2.rc6 released

2013-04-08 Thread Oli Schacher
Hi Timo In my dsync replication test setup I now get Permission denied errors: Apr 8 10:04:33 fumailsynctest2 dovecot: dsync-remote(): Error: net_connect_unix(/var/run/dovecot/replicator-doveadm) failed: Permission denied I haven't noticed them before rc6. Bug or something wrong with my config

Re: [Dovecot] v2.2.rc6 released

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 11.22, Oli Schacher wrote: > In my dsync replication test setup I now get Permission denied errors: > > Apr 8 10:04:33 fumailsynctest2 dovecot: dsync-remote(): Error: > net_connect_unix(/var/run/dovecot/replicator-doveadm) failed: Permission > denied > > I haven't noticed the

Re: [Dovecot] MOSTLY SOLVED: Re: client limit and STARTTLS

2013-04-08 Thread Noel Butler
On Sat, 2013-04-06 at 01:09 -0700, David Benfell wrote: > > Are your certificate chains valid? Simply saying "isn't working" is > > almost a requirement for a *sigh* > > log output please, or a better description than "isn't working" ;) > Yes, the certificate chains were screwed up. And you

Re: [Dovecot] Problem with fts lucene, on solaris 10

2013-04-08 Thread Pigi
I haven't had too much luck with gdb: 0xfec4c554 in ?? () (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0xfebd710c in ?? () (gdb) bt full #0 0xfebd710c in ?? () No symbol table info available. (gdb) quit The program is running. Quit anyway (and detach it)? (y or n)

Re: [Dovecot] Problem with fts lucene, on solaris 10

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 11.54, Pigi wrote: > I haven't had too much luck with gdb: > > 0xfec4c554 in ?? () > (gdb) cont > Continuing. > > Program received signal SIGSEGV, Segmentation fault. > 0xfebd710c in ?? () > (gdb) bt full > #0 0xfebd710c in ?? () > No symbol table info available. > (gdb) quit >

Re: [Dovecot] Problem with fts lucene, on solaris 10

2013-04-08 Thread Pigi
On Monday 08 April 2013, Timo Sirainen wrote: > On 8.4.2013, at 11.54, Pigi wrote: > > > gdb is just confused. Try another way if it works: > > gdb /usr/local/libexec/dovecot/imap 16400 > cont > bt full > > Timo, I took a sligtly different approach: gdb /usr/local/dovecot/libexec/dovecot

Re: [Dovecot] Problem with fts lucene, on solaris 10

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 12.19, Pigi wrote: >> gdb /usr/local/libexec/dovecot/imap 16400 .. > I took a sligtly different approach: > gdb /usr/local/dovecot/libexec/dovecot/indexer-worker `ps -ef | grep > indexer-worker | grep -v grep |awk '{print $2}' ` > > thus attaching to indexer-worker, which I th

[Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Oli Schacher
Hi I enabled quota + warnings in my replication test setup and now whenever a mail gets delivered the quota is counted twice (probably due to both servers using the same mysql quota backend) and quota warnings are fired too early. After a doveadm quota recalc -u the quota is correct again. How do

Re: [Dovecot] dovecot 2 variables

2013-04-08 Thread Pavel Dimow
Well that is not very scalable as we always ask first database no matter what. What if I have the same user in both databases (ldap)? On Mon, Apr 8, 2013 at 12:36 AM, Daniel Parthey < daniel.part...@informatik.tu-chemnitz.de> wrote: > Pavel Dimow wrote: > > Just to be clear my goal is to have mu

Re: [Dovecot] dovecot 2 variables

2013-04-08 Thread Timo Sirainen
You could put (%l=1.2.3.4) in the ldap filter. But I guess it still gets sent to the LDAP server. The best solution would be: local 1.2.3.4 { userdb { .. } } But that doesn't work yet. With v2.2 you can do multiple queries. So you could have one query to translate IP address to the dom

Re: [Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 13.05, Oli Schacher wrote: > I enabled quota + warnings in my replication test setup and now > whenever a mail gets delivered the quota is counted twice (probably due > to both servers using the same mysql quota backend) Yes. Dovecot doesn't know that they are the same quota back

Re: [Dovecot] checkpassword protocol

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 10.00, Heiko Schlichting wrote: >> Hmm. The AUTH_PASSWORD wasn't really an intentional addition .. but >> I guess it can stay there. Some 10 years ago that might not have been >> such a good idea since there were still some systems where process >> environment variables were reada

Re: [Dovecot] dovecot 2 variables

2013-04-08 Thread Pavel Dimow
Thank you Timo, then I guess I will runing two instances of dovecot one for each domain until local 1.2.3.4 { userdb { .. } } becomes ready :) On Mon, Apr 8, 2013 at 12:14 PM, Timo Sirainen wrote: > You could put (%l=1.2.3.4) in the ldap filter. But I guess it still gets > sent to the

Re: [Dovecot] checkpassword protocol

2013-04-08 Thread Heiko Schlichting
Timo wrote: > All the OSes made the environment private 10-15 years ago. I think it's > pretty safe to assume that older multiuser systems won't be running > Dovecot with checkpassword backend. The checkpassword interface is used in many different ways: I found checkpassword the easiest way to im

Re: [Dovecot] ssl_require_crl does not work as expected

2013-04-08 Thread Timo Sirainen
On 7.4.2013, at 14.19, dovecot.pk...@dfgh.net wrote: > My impression is that openssl will always try to use CRLs. If > "ssl_require_crl = no" > dovecot will use CRLs but tries to ignore openssl error codes > X509_V_ERR_UNABLE_TO_GET_CRL and X509_V_ERR_CRL_HAS_EXPIRED. > > This is done in ssl_veri

Re: [Dovecot] checkpassword protocol

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 13.42, Heiko Schlichting wrote: > The checkpassword interface is used in many different ways: > > I found checkpassword the easiest way to implement authentication against > FreeRADIUS. Using a perl script with > >$input = IO::Handle->new_from_fd(3, "r"); > > and > >my

Re: [Dovecot] repeating dsync - questions

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 1.32, Bob Gustafson wrote: > Ok, how is this for a scheme: > > 1) Initially rsync Maildir to destination system > 2) Do initial 'dsync backup' from Maildir to sdbox on destination system > 3) Do a 2nd rsync of new Maildir data from live system to destination > system, but don't c

Re: [Dovecot] dovecot 2 variables

2013-04-08 Thread Benny Pedersen
On 2013-04-07 22:51, Pavel Dimow wrote: Why does dovecot does not expand %l to local ip address? what it it does not contain an ip address ?, like "rm -f /" -- senders that put my email into body content will deliver it to my own trashcan, so if you like to get reply, dont do it

Re: [Dovecot] dovecot 2 variables

2013-04-08 Thread Reindl Harald
Am 08.04.2013 13:18, schrieb Benny Pedersen: > On 2013-04-07 22:51, Pavel Dimow wrote: > >> Why does dovecot does not expand %l to local ip address? > > what it it does not contain an ip address ?, like "rm -f /" what is your f**ing problem? signature.asc Description: OpenPGP digital signat

Re: [Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Oli Schacher
On Mon, 8 Apr 2013 13:15:54 +0300 Timo Sirainen wrote: > There's no way to make quota work reliably that way. You need to use > different quota backends. Either two mysql databases (or tables), or > the other Dovecot could simply be using a dict file quota. > ok, thanks for the clarification.

Re: [Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Timo Sirainen
On 8.4.2013, at 14.56, Oli Schacher wrote: > On Mon, 8 Apr 2013 13:15:54 +0300 > Timo Sirainen wrote: > > >> There's no way to make quota work reliably that way. You need to use >> different quota backends. Either two mysql databases (or tables), or >> the other Dovecot could simply be using a

[Dovecot] "No such file or directory" error setting up dict quota for mdbox

2013-04-08 Thread ADRIAN SANTOS MARRERO
Hi, I've some troubles setting up the dict based quota plugin for mdbox, it always returns a error when lmtp tries to deliver an e-mail: Apr 8 12:40:16 mb07 dovecot: lmtp(3001, asma...@ull.es): Error: fstat(/sharedfs/10.4.1.107/ull.es/54/asmarre/dovecot-quota.lock) failed: No such file or directo

Re: [Dovecot] dovecot 2 variables

2013-04-08 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 7 Apr 2013, Pavel Dimow wrote: Just to be clear my goal is to have multiple domains on multiple addresses but use one dovecot instance and to let users logging without @domain part. If %l is expanded in the LDAP query, you could add an att

Re: [Dovecot] Problem with fts lucene, on solaris 10

2013-04-08 Thread Pigi
On Monday 08 April 2013, Timo Sirainen wrote: > On 8.4.2013, at 12.19, Pigi wrote: > > > Program received signal SIGSEGV, Segmentation fault. > > 0xfebd65dc in _malloc_unlocked () from /lib/libc.so.1 > > (gdb) bt full > > #0 0xfebd65dc in _malloc_unlocked () from /lib/libc.so.1 > > No symbol tab

[Dovecot] Dovecot Configuration

2013-04-08 Thread Andreas K.
Can somebody, please, point me in the right direction in finding a COMPLETE and EXACT definition of the Dovecot configuration hierarchy. In other words what configuration options exist both at the top level but also at each subconfiguration elements (ex. sections etc). While my C is a bit rusty

Re: [Dovecot] dsync replication: quota counted twice

2013-04-08 Thread Oli Schacher
On Mon, 8 Apr 2013 15:14:18 +0300 Timo Sirainen wrote: > > ok, thanks for the clarification. Using two different tables does > > the trick. I'll probably also have to disable the quota-warning > > scripts on one of the servers. Currently, both servers run the > > script when a account goes overqu

Re: [Dovecot] repeating dsync - questions

2013-04-08 Thread Bob Gustafson
My need at the moment is only a *one* time deal. I just need to copy/convert all of the messages over to the new system and new (sdbox) format *once*. Then all of the clients can start from zero to build their caches based on the new mail box (not that many clients). --- I will take a look at t

[Dovecot] How to see folders/subfolders/emails through imap

2013-04-08 Thread Stephan von Krawczynski
Hello all, I am trying to do something very simple - at least thats what I thought. I have some fs, it contains folders and subfolders with email files ordered like maildir. Now I try to set up dovecot on top simply to let some imap account watch these email files. But I cannot see any folders at

Re: [Dovecot] dovecot 2 variables

2013-04-08 Thread Pavel Dimow
Interesting, but this means that we need to have one tree with all users (where each user have additional attribute containing local ip), instead we now have two separate trees because we use this for other authentication purposes. Thank you for sharing your thoughts Steffen On Mon, Apr 8, 201

Re: [Dovecot] crash with dovecot 2.2: Panic: Buffer full

2013-04-08 Thread to...@starbridge.org
Le 07/04/2013 22:56, Timo Sirainen a écrit : > On Sun, 2013-04-07 at 21:47 +0200, to...@starbridge.org wrote: >> since I've upgraded to 2.2.rc5 (c24783148d78), I've got the previous >> error again: >> It's happening on a large mailbox on almost every emails, with Horde 5 >> webmail client (works fi

[Dovecot] LMTP Setup/Design Help Request

2013-04-08 Thread Matthias Hofer
Hi altogether, I am switching from dbmail 2.2 to dovecot 2.1.7, and I was able to do a successful transition of IMAP. But I had a very hard time with receiving mail, and in the end -- after loads of reading and debugging -- I broke down and failed. This is why I am asking you for your kind help.

Re: [Dovecot] repeating dsync - questions

2013-04-08 Thread Bob Gustafson
OK, success: see timings (real nn) below commands. Initial copy of Maildir from live system to test sys (14G of data) rsync -ar --times hoho4:/home/bobgus/Maildir/ /home/bobgus/Maildir real 37m Then 1st 'dsync -R backup maildir:~/Maildir' real 828m Then 2nd rsync to pick up new mail - **don't t

Re: [Dovecot] LMTP Setup/Design Help Request

2013-04-08 Thread Andreas K.
On 08-04-2013 22:39, Matthias Hofer wrote: Hi altogether, I am switching from dbmail 2.2 to dovecot 2.1.7, and I was able to do a successful transition of IMAP. But I had a very hard time with receiving mail, and in the end -- after loads of reading and debugging -- I broke down and failed. This

Re: [Dovecot] make check error for Pigeonhole v0.3.4 for Dovecot v2.1.16

2013-04-08 Thread Stephan Bosch
On 4/8/2013 8:16 PM, Giam Teck Choon wrote: Hi, When I compile Pigeonhole v0.3.4 with Dovecot v2.1.16 until make check output as below from my rpmbuild output: Test case: ./tests/extensions/mailbox/execute.svtest: 1: Test 'MailboxExists - None exist' SUCCEEDED 2: Test 'MailboxExists - Not a

Re: [Dovecot] Sync errors trying to sync old mbox inboxes to dovecot

2013-04-08 Thread Michael Smith
Timo, I tried importing the anonymized file, and there were no errors. So, it's something with the actual data. UTF-8 issues? While I can't send you a raw customer's mailbox, one of the failures is a 'role' account mailbox, with no critical/useful data in it. Here is a link (expires in 30 d

Re: [Dovecot] Proxying, pertinent values and features, SNI

2013-04-08 Thread Christian Balzer
On Thu, 4 Apr 2013 22:21:43 +0300 Timo Sirainen wrote: > On 3.4.2013, at 10.59, Christian Balzer wrote: > > > I'm looking into deploying dovecot as a proxy, currently using > > perdition. Have been using dovecot on the actual servers for years, > > nearly a decade. So far just 1.x, but for the p