Re: [Dovecot] mdbox-files over 2 MB

2014-05-05 Thread Stan Hoeppner
On 5/5/2014 2:23 PM, Patrick Domack wrote: > Quoting Reindl Harald : > >> Am 05.05.2014 16:10, schrieb Hardy Flor: >>> Is there really no one with this problem? >> >> next time quote the problem instead demand >> others to seek for you in the archives > > Even searching for him in the archives, I

Re: [Dovecot] Broken IMAPS Connects Create Lingering imap-login Processes

2014-05-05 Thread Jochen Bern
On -10.01.-28163 20:59, Reindl Harald wrote: > Am 05.05.2014 22:13, schrieb Jochen Bern: >> One of the customers has a major networking problem that hasn't been >> fully analyzed yet. Sniffing his IMAPS connects on the server side, I >> see [...] > > ask that user to restart his network-devices >

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Professa Dementia
On 5/5/2014 3:30 PM, Benjamin Podszun wrote: > On Monday, May 5, 2014 11:49:52 PM CEST, SIW wrote: >> I'm beginning to wonder if I am going about this all wrong :-) > > No offense: I'm thinking the same thing. ;-) > >> Would it not be easier/better to leave all IMAP/SMTP access in place >> (for a

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Benny Pedersen
SIW skrev den 2014-05-05 18:39: I use MySQL to store my virtual users passwords and I am running the latest version of Dovecot. What I need to do is have one particular user have ONLY access to their email via Roundcube (webmail) and no IMAP/SMTP access. Therefore, how do I disable IMAP/SMTP ac

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Benjamin Podszun
On Monday, May 5, 2014 11:49:52 PM CEST, SIW wrote: I'm beginning to wonder if I am going about this all wrong :-) No offense: I'm thinking the same thing. ;-) Would it not be easier/better to leave all IMAP/SMTP access in place (for all users) and then just use "one time throw away password

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread SIW
I'm beginning to wonder if I am going about this all wrong :-) Would it not be easier/better to leave all IMAP/SMTP access in place (for all users) and then just use "one time throw away passwords" for logging in from an internet cafe with Roundcube? Can this be done? So after you login it ju

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Rick Romero
Duh.  'ONE user only' would be the clue.  So your query would be like: SELECT email as user, if(%r = '127.0.0.1' & user = 'yourloginname', password,imap_password) as password FROM virtual_users WHERE email='%u'; Also, test ! and Google!   I'm throwing this out off the top of my head..  I think th

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread SIW
Thanks Rick! I have a handful of users on the server but I am the only one requiring secure access to my mail while travelling. Everything is installed on one box. I will give you recommendation a try so thank you for that. One option I was thinking about is as well, is it possible to use "th

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Rick Romero
You don't need vpopmail - that's just an example.  It has it's own table structure.    Are you the only user - I missed that part of the question.  If so, ignore the 'Bit Operator' part, you won't need it.  That's to allow different types of access per user (and makes the query that much more co

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread SIW
Hi Rick I really appreciate your response! Unfortunately my SQL is, how can we say, very basic. I built my server using the Linode guide at: https://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql Currently my password query looks as follows: password_query = SELECT email

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Rick Romero
Quoting Professa Dementia : On 5/5/2014 1:05 PM, SIW wrote: Thats a good point. If I block IMAP/SMTP access to ONE user does that mean that particular user can't use Roundcube anymore? That is correct.  If you block IMAP, then webmail will not work.   Not necessarily.  From: http://wiki2

[Dovecot] Broken IMAPS Connects Create Lingering imap-login Processes

2014-05-05 Thread Jochen Bern
Hello everyone, we are running a central server (CentOS 6.5, dovecot-2.0.9-7.el6 with a small patch to disable the IMAP CREATE command, and openssl-1.0.1e-16.el6_5.7) and distribute standard client software to customer( site)s. The clients do IMAPS connects in regular intervals (no IDLE, no linge

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread SIW
I'm glad you asked. Heres the challenge: When I travel overseas I sometimes need to use a computer at an internet cafe to access my email via a browser. I use Googles Authenticator to generate a OTP that I use with Roundcube so I have two factor authentication. All seems secure right? Wrong. I

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Professa Dementia
On 5/5/2014 1:05 PM, SIW wrote: > Thats a good point. > > If I block IMAP/SMTP access to ONE user does that mean that particular > user can't use Roundcube anymore? That is correct. If you block IMAP, then webmail will not work. Webmail clients are just IMAP proxies. If the roundcube you want

Re: [Dovecot] Broken IMAPS Connects Create Lingering imap-login Processes

2014-05-05 Thread Reindl Harald
Am 05.05.2014 22:13, schrieb Jochen Bern: > One of the customers has a major networking problem that hasn't been > fully analyzed yet. Sniffing his IMAPS connects on the server side, I > see no (necessarily fragmented) TLSv1 Client Cert + Key Exchange happen; > instead, after ~60s, we receive a s

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread SIW
Thats a good point. If I block IMAP/SMTP access to ONE user does that mean that particular user can't use Roundcube anymore? I basically want one user to ONLY be able to send/receive/view their email in Roundcube and not be able to send/receive/view email from any other client (ie: Thunderbi

Re: [Dovecot] Status of sieve-extdata?

2014-05-05 Thread Stephan Bosch
On 4/29/2014 11:01 AM, Jiri Bourek wrote: > Hi, > > I'd like to ask about status of extdata plugin for sieve. The wiki > page (http://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Extdata) > mentions versions for PigeonHole 0.2 and 0.3, but there seems to be no > version for 0.4 and Dovecot 2.2. > > I

Re: [Dovecot] mdbox-files over 2 MB

2014-05-05 Thread Patrick Domack
Quoting Reindl Harald : Am 05.05.2014 16:10, schrieb Hardy Flor: Is there really no one with this problem? next time quote the problem instead demand others to seek for you in the archives Even searching for him in the archives, I have no idea what he thinks is a problem. I know I have

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Gedalya
From dovecont.conf : # Most (but not all) settings can be overridden by different protocols and/or # source/destination IPs by placing the settings inside sections, for example: # protocol imap { }, local 127.0.0.1 { }, remote 10.0.0.0/8 { } So maybe you can even set up an overriding passdb {

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Gedalya
http://wiki2.dovecot.org/Variables see: %r / rip On 05/05/2014 02:05 PM, Benjamin Podszun wrote: I'm confused. Roundcube's using imap, so how are the %s queries helping? Isn't the real question "How can I limit imap to specific clients/localhost, depending on the user"? On May 5, 2014 6:39:42

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Benjamin Podszun
I'm confused. Roundcube's using imap, so how are the %s queries helping? Isn't the real question "How can I limit imap to specific clients/localhost, depending on the user"? On May 5, 2014 6:39:42 PM CEST, SIW wrote: >I use MySQL to store my virtual users passwords and I am running the >latest

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Rick Romero
Quoting Marcin Mirosław : W dniu 2014-05-05 19:21, Marcin Mirosław pisze: W dniu 2014-05-05 18:39, SIW pisze: I use MySQL to store my virtual users passwords and I am running the latest version of Dovecot. What I need to do is have one particular user have ONLY access to their email via Roun

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Marcin Mirosław
W dniu 2014-05-05 19:21, Marcin Mirosław pisze: > W dniu 2014-05-05 18:39, SIW pisze: >> I use MySQL to store my virtual users passwords and I am running the >> latest version of Dovecot. >> >> What I need to do is have one particular user have ONLY access to their >> email via Roundcube (webmail)

Re: [Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread Marcin Mirosław
W dniu 2014-05-05 18:39, SIW pisze: > I use MySQL to store my virtual users passwords and I am running the > latest version of Dovecot. > > What I need to do is have one particular user have ONLY access to their > email via Roundcube (webmail) and no IMAP/SMTP access. > > Therefore, how do I disa

[Dovecot] Disable IMAP for ONE user only

2014-05-05 Thread SIW
I use MySQL to store my virtual users passwords and I am running the latest version of Dovecot. What I need to do is have one particular user have ONLY access to their email via Roundcube (webmail) and no IMAP/SMTP access. Therefore, how do I disable IMAP/SMTP access for just one user?

Re: [Dovecot] doveadm auth and the "nologin" extra field

2014-05-05 Thread Axel Luttgens
Le 5 mai 2014 à 15:25, Timo Sirainen a écrit : > Not intentional, and since it can cause confusion I removed it: > http://hg.dovecot.org/dovecot-2.2/rev/3a5304b63f88 Hmmm... this was a too easy one. ;-) Once again, many thanks Timo, Axel

Re: [Dovecot] mdbox-files over 2 MB

2014-05-05 Thread Reindl Harald
Am 05.05.2014 16:10, schrieb Hardy Flor: > Is there really no one with this problem? next time quote the problem instead demand others to seek for you in the archives signature.asc Description: OpenPGP digital signature

Re: [Dovecot] mdbox-files over 2 MB

2014-05-05 Thread Hardy Flor
Is there really no one with this problem?

Re: [Dovecot] Segfault in dovecot-lda when resolver is unavailable

2014-05-05 Thread Marcin Mirosław
W dniu 05.05.2014 15:14, Timo Sirainen pisze: Hi Timo, hi all! > On 24.4.2014, at 0.15, Marcin Mirosław wrote: > >> Recently I noticed that dovecot-lda throws segfault when resolver is >> unavailable and with imapc configured. > > I can't easily reproduce this. > >> #0 0x02b612afaf72 in

Re: [Dovecot] doveadm auth and the "nologin" extra field

2014-05-05 Thread Timo Sirainen
Not intentional, and since it can cause confusion I removed it: http://hg.dovecot.org/dovecot-2.2/rev/3a5304b63f88 On 18.4.2014, at 10.54, Axel Luttgens wrote: > Hello, > > Still busy with details... > > Considering, as in my previous example, a password_query returning '!' or > NULL for the

Re: [Dovecot] Segfault in dovecot-lda when resolver is unavailable

2014-05-05 Thread Timo Sirainen
On 24.4.2014, at 0.15, Marcin Mirosław wrote: > Recently I noticed that dovecot-lda throws segfault when resolver is > unavailable and with imapc configured. I can't easily reproduce this. > #0 0x02b612afaf72 in _int_free (av=0x2b612e215c0 , > p=0x1b23bfabe0, have_lock=0) at malloc.c:3903

Re: [Dovecot] When the subject portion of an e-mail contains a control character, dovecot.sieve terminates unexpectatedly.

2014-05-05 Thread Timo Sirainen
On 2.5.2014, at 11.27, Atsuko Tanaka wrote: > We have currently set dovecot.sieve to insert the text "[SPAM]" at the > beginning of an e-mail's subject when it's X-Spam-Score is above 80%. > After we set our system as stated the following errors occur: > > 1) When an e-mail's subject contains co

Re: [Dovecot] %{orig_user} missing in checkpassword-Script

2014-05-05 Thread Timo Sirainen
OK, added: http://hg.dovecot.org/dovecot-2.2/rev/1e099feb1dea On 3.5.2014, at 15.32, dovecot.pk...@dfgh.net wrote: > Dear dovecot maintainers: > > I'm using SSL client certificates together with a checkpassword scripts > to authenticate our users. > > My problem is: In the checkpassword script

Re: [Dovecot] CONTEXT=SORT

2014-05-05 Thread Timo Sirainen
On 3.5.2014, at 8.51, Michael M Slusarz wrote: > Quoting Michael M Slusarz : > >> 5 UID SORT RETURN (PARTIAL 1:10) (SUBJECT) UTF-8 UNDELETED >> * ESEARCH (TAG "5") UID PARTIAL (1:10 NIL) >> 5 OK Sort completed (0.000 secs). > > Well duh. Maybe I should actually look at the results. This is ob

Re: [Dovecot] Dovecot proxy

2014-05-05 Thread Alex Ferrara
Unfortunately, the requirement for this network is that the only pinhole through the firewall between the main relay and the mail server is IMAP. My thought was to ship a list of valid usernames to the imap relay that are allowed to connect, and that list would be constructed from inside the LAN