Frank Bonnet | 1 Feb 2012 06:55
Picon
Picon
Favicon

Temporary forbid some users login ?

hello

is there a way to forbid SOME (  not all ) users's login with dovecot 2 ?
I need to move their IMAP folders to another place with more
disk space but I don't want to stop dovecot IMAP service for
the other users as the moving process will be a bit long ( 1 Tb to move )

thanks

Arne K. Haaje | 1 Feb 2012 07:58
Picon
Favicon

Re: Temporary forbid some users login ?

Den 01. feb. 2012 06:55, skrev Frank Bonnet:
> hello
>
> is there a way to forbid SOME ( not all ) users's login with dovecot 2 ?
> I need to move their IMAP folders to another place with more
> disk space but I don't want to stop dovecot IMAP service for
> the other users as the moving process will be a bit long ( 1 Tb to move )
>
>
> thanks
>
>
>

This has been covered before, but if you are using SQL for auth-lookups 
then you can have something like this ins your query;

... AND active='y'

Arne

--

-- 
Arne K. Haaje - Dr Linux
http://www.drlinux.no/ ::: arne <at> drlinux.no
LinkedIn: http://no.linkedin.com/pub/arne-haaje/27/189/bb

Armistead, Kurt | 1 Feb 2012 08:48
Picon

Re: Issues w/ Apple devices after migration to dovecot

On Wed, February 1, 2012 12:33 am, Timo Sirainen wrote:
> On 1.2.2012, at 1.16, Armistead, Kurt wrote:
>
>> Recently we've moved our old (and I mean _really_ old) mailserver to a
>> new
>> hardware. Since I had quite some time on my hands, I decided to switch
>> from courier to dovecot. Transition went pretty smoothly and the users
>> experienced just a few hours' blackout.
>>
>> Only trouble now is that, after re-configuring some IOS handsets and
>> tablets, not all messages are displayed correctly.
>
> Did you use the courier-dovecot-migrate.pl script? If not, Dovecot set new
> IMAP UIDVALIDITY and UID numbers to mails and the problems are most likely
> related to clients not realizing that they should drop their internal
> caches.
>

I sure did and it reported no issues.

Kurt

Joseba Torre | 1 Feb 2012 12:55
Picon
Picon
Favicon

Re: Temporary forbid some users login ?

El 01/02/12 06:55, Frank Bonnet escribió:
> hello
>
> is there a way to forbid SOME ( not all ) users's login with dovecot 2 ?
> I need to move their IMAP folders to another place with more
> disk space but I don't want to stop dovecot IMAP service for
> the other users as the moving process will be a bit long ( 1 Tb to move )
>
>
> thanks

Take a look to conf.d/auth-deny.conf.ext

You can setup a new passdb (a passwd-file can do it) with deny = yes, 
and add/remove users to that passwd-file as needed.

Marko Weber | 1 Feb 2012 13:11
Picon

Can anyone tell me quick, if the howto on dovecot.org is actual:


Is this Howto 
http://wiki2.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL
actual also for Dovecot 2.x ?
Cause i read Dovecot 1.x in the Howto

Thank you for any hints / tipps

Marko
(from cold Hamburg Harbour)

Jonathan Siegle | 1 Feb 2012 13:23
Picon

Re: Can anyone tell me quick, if the howto on dovecot.org is actual:

Marko Weber said the following on 2/1/12 7:11 AM:
>
> Is this Howto
> http://wiki2.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL
> actual also for Dovecot 2.x ?
> Cause i read Dovecot 1.x in the Howto
>
> Thank you for any hints / tipps
>
My gut feeling is version 1.2 because it was last modified on 2010-06-29 
11:37:39(see bottom of page) which is in the 1.2 
days(http://www.dovecot.org/oldnews.html).

-Jonathan

Attachment (smime.p7s): application/pkcs7-signature, 4316 bytes
Jan-Frode Myklebust | 1 Feb 2012 13:29

Doubts about dsync, mdbox, SIS

I've been running continous dsync backups of our Maildirs for a few
weeks now, with the destination dsync server using mdbox and SIS. The
idea was that the destination server would act as a warm copy of 
all our active users data.

The active servers are using Maildir, and has:

	$ df -h /usr/local/atmail/users/
	Filesystem            Size  Used Avail Use% Mounted on
	/dev/atmailusers       14T   12T  2.2T  85% /usr/local/atmail/users
	$ df -hi /usr/local/atmail/users/
	Filesystem            Inodes   IUsed   IFree IUse% Mounted on
	/dev/atmailusers        145M    113M     33M   78% /usr/local/atmail/users

very little of this is compressed (zlib plugin enabled during christmas).

I'm surprised that the destination server is so large, was expecting zlib and
mdbox and SIS would compress it down to much less than what we're seeing 
(12TB -> 5TB):

	$ df -h /srv/mailbackup
	Filesystem            Size  Used Avail Use% Mounted on
	/dev/mapper/mailbackupvg-mailbackuplv
                      5.7T  4.8T  882G  85% /srv/mailbackup

Lots and lots of the attachement storage is duplicated into identical files,
instead of hard linked.

When running "doveadm purge -u $user", we're seeing lots of 

(Continue reading)

Marko Weber | 1 Feb 2012 13:32
Picon

Re: Can anyone tell me quick, if the howto on dovecot.org is actual:


Thank you,
i ask because in the first Part is written:

At the time of writing this document we use these versions of the 
required software (probably newer versions also usable):

CentOS 4.4 (or RHEL 4 update 4 or Fedora 6)
Apache 2.0.52
PHP 5.1.6
MySQL 5.0.22
Dovecot 1.0rc15

And i think , config syntax and organisation of config changed alot 
from 1.x to 2.x , or ?

Am 01.02.2012 13:18, schrieb Charles Marcus:
> On 2012-02-01 7:11 AM, Marko Weber <weber <at> zackbummfertig.de> wrote:
>>
>> Is this Howto 
>> http://wiki2.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL
>> actual also for Dovecot 2.x ?
>
> wiki2. stuff is for dovecot 2.x...
>
> wiki. stuff is for dovecot 1.x...

Papp Tamas | 1 Feb 2012 13:40
Picon

http://xi.rename-it.nl/debian/dists/stable-auto/dovecot-2.1.patched/

hi!

What does patched mean in this repo?

Does anybody know?

Thank you,
tamas
Stephan Bosch | 1 Feb 2012 13:56
Picon

http://xi.rename-it.nl/debian/dists/stable-auto/dovecot-2.1.patched/

Op 2/1/2012 1:40 PM, Papp Tamas schreef:
> hi!
>
> What does patched mean in this repo?
>
> Does anybody know?

This is the v2.1 repository that includes unstable development patches:

http://hg.rename-it.nl/dovecot-2.1-patches/
http://hg.rename-it.nl/pigeonhole-0.3-patches/

These are mostly meant for some side-projects I am working on. 
Previously, some of these patches were included in the normal automatic 
builds, making debugging difficult since `tainted' dovecot sources were 
used. The patches also caused a few rather stupid bugs. Therefore, as I 
announced in a mail a few months back,  I started a separate builder for 
testing these patches. So far, there is no reason for anyone except me 
to install and try these. Just use the normal dovecot-2.1 repository as 
documented in the wiki.

Regards,

Stephan.


Gmane