Re: Block public namespace mail when quota exceeded

2016-02-24 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 25 Feb 2016, Chris wrote: is it possible to temporarily reject mails, when quota of public namespace subfolder is exceeded? I'd check folder size with a cronjob. How does the MTA know that the message is filed into a public namespace?

Re: Different Quotas For Public Namespace

2016-02-24 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 25 Feb 2016, Chris wrote: are different quotas for public namespace folders possible? They're in the same namespace. If I got it right, the wiki says there's one quota per namespace only? Which Wiki says what exactly and what's your

Re: Deleting / Removing users

2016-02-24 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 24 Feb 2016, John Krug wrote: i have a list of users that I’ve removed from LDAP and I want to delete their mail storage. sdbox Dovecot 2.2.15.8 I have mail messages in one location and indexes in another. Should I just rm -rf /messages/

where is pop3_migration_ignore_missing_uidls=yes set?

2016-02-24 Thread Leon Kyneur
While doing pop3 migrations with dsync I am getting an error: dsync(u...@domain.net): Error: pop3_migration: 2 POP3 messages have no matching IMAP messages (first POP3 msg 2638 UIDL fb3d6f3299541e695a28585f5803ed1c) - set pop3_migration_ignore_missing_uidls=yes to continue anyway

Block public namespace mail when quota exceeded

2016-02-24 Thread Chris
Dear All, is it possible to temporarily reject mails, when quota of public namespace subfolder is exceeded? I'd check folder size with a cronjob. Dovecot is using a system user, so I guess blocking post and insert in ACL isn't a solution? I don't want to set the folder to read-only, that users

VS: Re: SQLite driver and auth-worker credentials

2016-02-24 Thread Aki Tuomi
this is probably something that ought to be fixed. Read only scenario for auth/userdb is quite plausible.  ---Aki TuomiDovecot oy Alkuperäinen viesti Lähettäjä: Lev Serebryakov Päivämäärä: 24.2.2016 23.32 (GMT+02:00) Saaja: ja...@lottspot.com Kopio:

Deleting / Removing users

2016-02-24 Thread John Krug
i have a list of users that I’ve removed from LDAP and I want to delete their mail storage. sdbox Dovecot 2.2.15.8 I have mail messages in one location and indexes in another. Should I just rm -rf /messages/ rm -rf /indexes/ Thanks, JK

Re: SQLite driver and auth-worker credentials

2016-02-24 Thread Lev Serebryakov
Hello James, Wednesday, February 24, 2016, 11:17:12 PM, you wrote: >> But system should assign all secondary GIDs to effective UID? > separate 'group =' directive in addition to the 'user =' directive > (http://wiki2.dovecot.org/Services). Oh, I missed this one, thank you -- Best regards,

Re: SQLite driver and auth-worker credentials

2016-02-24 Thread james
dovecot CAN NOT open SQLite database with read-only permissions set! It is problem №1 in my message: it uses sqlite3_open() API which requires read-write access and fails otherwise. What I'm talking about has nothing to do with the sqlite3 API. The API is not how you *securely* enforce

Re: SQLite driver and auth-worker credentials

2016-02-24 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 24.02.2016 21:49, ja...@lottspot.com wrote: > The only secure way to enforce read-only access on a sqlite > database is via filesystem permissions. I would recommend setting > your database to 640 and ensure that any modifying process runs >

search problem dovecot 2.2.21 + fts - Solr

2016-02-24 Thread Anderson Barbosa
Hello, Realized update dovecot on my server. Now the search is returning differently from the previous version bringing reference information of other messages . For example when doing a search for anderson.joao this new version of the dovecot dovecot 2.2.21 + fts - Solr response will be all

Re: SQLite driver and auth-worker credentials

2016-02-24 Thread james
The only secure way to enforce read-only access on a sqlite database is via filesystem permissions. I would recommend setting your database to 640 and ensure that any modifying process runs with the owning UID. Dovecot processes will not assume they should run as a GID based on the UID to

SQLite driver and auth-worker credentials

2016-02-24 Thread Lev Serebryakov
I want to use SQLite database as storage for auth and user databases. I've encountered two problems here: (1) There is no way to open SQLite database read-only (via sqlite3_open_v2() call with SQLITE_OPEN_READONLY flag). It looks bad. I don't need (and want) to give dovecot rights to write to

Script dovecot ACLs, Quota and doveadm

2016-02-24 Thread Chris
Dear All, I'd like to set a) Quota for mailboxes in private and public namespace b) ACLs for both. What's the easiest way to do this? Do I have to call doveadm for every mailbox (private and public)? Is it required to provide a username to doveadm? Can I use the same user for all if it is

Re: Streaming MOVE commands

2016-02-24 Thread Emilio Jesús Gallego Arias
Hi, Timo Sirainen writes: >>> Thanks, looks like this was broken with Maildir and mbox formats. It >>> also caused expunges in some other situations to be lost. Fixed: >>> >>> https://github.com/dovecot/core/commit/950a6e61d6c2dac961ce031bdd8b2895bc32b827 >> >> Is this patch

Re: Automatically inferring %d on multi-domain virtual install ?

2016-02-24 Thread Gabriel L. Somlo
On Sun, Feb 21, 2016 at 04:20:07AM +0200, Timo Sirainen wrote: > How about: > > passdb { > driver = passwd-file > args = username_format=%l /etc/dovecot/passwd.domains > result_success = continue > } > > passdb { > .. the real passdb for authentication .. > } > > Where

Re: Automatically inferring %d on multi-domain virtual install ?

2016-02-24 Thread Gabriel L. Somlo
On Sun, Feb 21, 2016 at 04:20:07AM +0200, Timo Sirainen wrote: > How about: > > passdb { > driver = passwd-file > args = username_format=%l /etc/dovecot/passwd.domains > result_success = continue > } > > passdb { > .. the real passdb for authentication .. > } > > Where

Dovecot + Ceph Cluster Sizing

2016-02-24 Thread Michele Soragni
Hi all. We are searching for information about how to size dovecot servers in a clustered architecture (dovecot + postfix + roundcube + mysql). We need to migrate mailboxes from an old Exchange installation: 60k mailbox 900 GB total storage 14 MB/mailbox About 133 email/mailbox Low usage: about

Segfault using doveadm dsync

2016-02-24 Thread fabio . onorini
I'm trying to migrate a imap mailbox from dovecot 1.2.15 to a new imap server with dovecot 2.2.13. I would preserving the IMAP UIDs and POP3 UIDLs. So I'm using doveadm backup command but after folders analyze, command return segmentation fault. Any hint? GDB result: sync(easymail): Debug: