Re: Found bug in quota-status + patch

2016-03-03 Thread Axel Luttgens
> Le 2 mars 2016 à 15:31, Timo Sirainen a écrit : > > >> On 08 Feb 2016, at 00:26, Thierry Coppey wrote: >> >> Hello, >> >> I’ve found a bug in the quota-status util (Dovecot 2.2.21, and probably >> below): it always return OK (sufficient quota) because it fails to load the >> user

Re: Config file syntax in gory detail

2016-02-11 Thread Axel Luttgens
> Le 11 févr. 2016 à 14:56, Timo Sirainen a écrit : > > I finally wrote this: > > http://wiki2.dovecot.org/ConfigFile > > Looks like it ended up having a lot more content than I initially assumed. Thanks a lot, Timo! Axel

Re: Found bug in quota-status + patch

2016-02-08 Thread Axel Luttgens
> Le 7 févr. 2016 à 23:26, Thierry Coppey a écrit : > > Hello, > > I've found a bug in the quota-status util (Dovecot 2.2.21, and probably > below): it always return > OK (sufficient quota) because it fails to load the user properly. More > specifically, the branch > " if (quser == NULL)

Re: Mail User Agent?

2016-02-01 Thread Axel Luttgens
> Le 1 févr. 2016 à 17:50, absolutely_f...@libero.it a écrit : > > Hi,is there a way to log which MUA is being used from an user? > # dovecot --version2.0.9 > Thank you Unless I missed some recent changes, neither POP nor IMAP protocols make provisions for having the client to send such info.

Re: Mail User Agent?

2016-02-01 Thread Axel Luttgens
> Le 1 févr. 2016 à 18:32, Jeff Stedfast a écrit : > > IMAP actually has an ID extension where the client can send this info, but > it doesn’t force the client to send it. Damn, I completely forgot that one. Thanks for the reminder, Axel

Re: Disable Client Certificate Authentication for Unencrypted Connections?

2016-01-27 Thread Axel Luttgens
> Le 25 janv. 2016 à 13:02, Haravikk a écrit : > > […] > > Since dovecot is also providing authentication to postfix I’ve already > created an exemption from the client certificate requirement for SMTP > connections by doing the following: > > protocol !smtp { > ssl_ca =

Re: concerning dovecot settings for high volume server

2015-09-13 Thread Axel Luttgens
> Le 12 sept. 2015 à 20:53, Rajesh M a écrit : > > hi > > […] > > i wish to allow 1500 pop3 and 1500 imap connections simultaneously. > > need help regarding the settings to handle the above > > imap-login, pop3-login > imap pop3 service settings > > i recently i got an error > imap-login:

Re: 'doveadm expunge' with -A and userdb { driver = passwd }

2015-09-04 Thread Axel Luttgens
> Le 4 sept. 2015 à 19:38, Grant a écrit : > […] >> >> And yes, the warning about doveadm’s -A option thus appears to be relevant >> in your case. > > > In that case it sounds like my best options would be to either > continue expunging old mail with a separate line for

Re: 'doveadm expunge' with -A and userdb { driver = passwd }

2015-09-04 Thread Axel Luttgens
> Le 4 sept. 2015 à 06:19, Grant a écrit : > >>> […] >>> >>> But I don't have an /etc/dovecot/users file. I also don't seem to >>> have any mail user uid lower than 1000, but I do have some users above >>> 1000 which aren’t mail users (nobody, etc). >> >> Hello Grant, >> >> So as to avoid

Re: 'doveadm expunge' with -A and userdb { driver = passwd }

2015-09-02 Thread Axel Luttgens
> Le 2 sept. 2015 à 14:55, Grant a écrit : > > […] > Here's what my Gentoo-default auth-passwdfile.conf.ext says: > > passdb { > driver = passwd-file > args = scheme=CRYPT username_format=%u /etc/dovecot/users > } > userdb { > driver = passwd-file > args = username_format=%u

Re: sieve filtering utf 8 strings

2015-09-02 Thread Axel Luttgens
> Le 2 sept. 2015 à 17:03, Sergey Schwartz a écrit : > > Guys, > > I'm completely stuck, so asking for advice. > My user has a sieve script which checks message header if it contains words > in russian like 'Лист бронирования отправлен'. > > Pritty simple script > > # rule:[Отправлено] > if

Re: IMAP hibernate feature committed

2015-08-28 Thread Axel Luttgens
Le 25 août 2015 à 01:27, Timo Sirainen a écrit : http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 Today I finally committed the imap-hibernate feature that I first started developing about a year ago (and had been thinking about for several years before that). The main purpose here

Re: Dovecot auth username mapping

2015-07-01 Thread Axel Luttgens
Le 1 juil. 2015 à 04:38, Laz C. Peterson a écrit : I have an interesting case here … Virtual mailboxes, domain/username/aliases stored in MySQL, authentication done using PAM. PAM authenticates through Kerberos, which are internal realms and not the email domains — for example, my

Re: Server dovecot: auth: Warning: sql: Ignoring changed iterate_quer

2014-08-16 Thread Axel Luttgens
Le 15 août 2014 à 14:24, Joseph Malloy a écrit : Hello, [...] Aug 15 13:20:09 Server dovecot: auth: Warning: sql: Ignoring changed iterate_query in /etc/dovecot/dovecot-sql.conf.ext, because userdb sql not used. (If this is intentional, set userdb_warning_disable=yes) [...] Hello

Re: Trigger for using an sqlite dictionary for quota

2014-07-09 Thread Axel Luttgens
Le 8 juil. 2014 à 13:08, David Anderson da...@wordshell.net a écrit : Hi, I'm using Dovecot 2.0.9, and was trying to set up a dictionary process to use an sqlite database for quota management. The wiki page has examples for MySQL and PostgreSQL: http://wiki2.dovecot.org/Quota/Dict

[Dovecot] Dovecot 2.1.13: some questions about the mail-filter plugin

2014-06-02 Thread Axel Luttgens
Looking at mail_filter_mailbox_allocated() of src/plugins/mail-filter/mail-filter-plugin.c: if ((class_flags MAIL_STORAGE_CLASS_FLAG_OPEN_STREAMS) == 0 (class_flags MAIL_STORAGE_CLASS_FLAG_BINARY_DATA) != 0 muser-out_socket_path != NULL)

Re: [Dovecot] Disabling plus sign extension delimiter in lmtp listener (or userdb)

2014-06-01 Thread Axel Luttgens
Le 1 juin 2014 à 17:36, Benoit Panizzon a écrit : Hi Axel This is probably related to the recipient_delimiter setting, which defaults to '+'. Where is there such a setting in the dovecot config itself? This is a LDA-related setting (see for example

Re: [Dovecot] Disabling plus sign extension delimiter in lmtp listener (or userdb)

2014-05-31 Thread Axel Luttgens
Le 30 mai 2014 à 16:27, Benoit Panizzon a écrit : Hello [...] 220 grautvornix.imp.ch Dovecot ready. mail from:nobody 250 2.1.0 OK rcpt to:b+en...@iscan.ch 550 5.1.1 b+en...@iscan.ch User doesn't exist: b...@iscan.ch I could not find any configuration parameters for the lmtp listener

Re: [Dovecot] Plugin mail-filter tangles

2014-05-30 Thread Axel Luttgens
Le 28 mai 2014 à 16:41, Stanislas SABATIER a écrit : [...] I tried to explain my specific case in my first post to the list (first mail of this thread, may 24) : [...] To sum up, here are the headers : (CASE 1) *from : user1@mydomain1* to: some...@yahoo.com CC: user2@mydomain2,

Re: [Dovecot] Plugin mail-filter tangles

2014-05-28 Thread Axel Luttgens
Le 26 mai 2014 à 14:12, Stanislas SABATIER a écrit : [...] I've already done that but it did change the behavior. You said it works as expected on your test machine, but did you try to exactly reproduce my case ? ie : having 3 different users within 3 different domains all managed by

Re: [Dovecot] Plugin mail-filter tangles

2014-05-26 Thread Axel Luttgens
Le 26 mai 2014 à 10:01, Stanislas SABATIER a écrit : To extend my previous message : I added the option '-o lmtp_destination_recipient_limit=1' to Postfix and try again to send a message to someone outside my domains, but adding two people in CC. It seems that Dovecot is still handling

Re: [Dovecot] Plugin mail-filter tangles

2014-05-26 Thread Axel Luttgens
Le 26 mai 2014 à 10:54, Stanislas SABATIER a écrit : You're right, Postfix is still passing the two CC recipients in one LMTP process. I didn't find how to force Postfix to send emails one by one… Still digging… Anyway, I believe the way Dovecot is handling this case is not the right way.

Re: [Dovecot] Index cache errors worse with 2.2.x

2014-05-25 Thread Axel Luttgens
Le 23 mai 2014 à 11:54, Alexander 'Leo' Bergolth a écrit : [...] I tried to add dotlock to mbox_write_locks since according to the source, the LDA (maildrop) seems to try dotlock before fcntl. Hello Alexander, I don't know very much about maildrop, but isn't this configurable, perhaps

Re: [Dovecot] Plugin mail-filter tangles

2014-05-25 Thread Axel Luttgens
Le 24 mai 2014 à 18:14, Stanislas SABATIER a écrit : System installed : Dovecot 2.2.12 as IMAP server and Postfix as MTA. Dovecot and Postfix connected via LMTP + Dovecot mail plugin 'mail-filter' to encrypt/decrypt emails on the fly with public/private users' RSA keys. [...] Final result

Re: [Dovecot] Lifetime of redirect info stored by Sieve in .dovecot.lda-dupes

2014-05-09 Thread Axel Luttgens
Le 9 mai 2014 à 01:37, Stephan Bosch a écrit : [...] Right. This should help: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/3b6917a4807c Fine! I'll now try to find another edge case. ;-) Thanks again, Axel

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

[Dovecot] Reapplying sieve rules

2014-04-22 Thread Axel Luttgens
I did a mistake (shame on me). While migrating accounts on a new server, I didn't pay attention to a detail: sieve_max_actions, that I set to a low value for my testings, but then forgot to raise before the migration. As a result, several redirect-only accounts have now their inbox filled with

Re: [Dovecot] Reapplying sieve rules

2014-04-22 Thread Axel Luttgens
Le 22 avr. 2014 à 10:25, Stephan Bosch a écrit : [...] Normally, I would say: use the sieve-filter tool. But, unfortunately, it doesn't currently allow sending e-mail anywhere to prevent serious mishaps. So, currently, with Sieve the answer is no. :/ Perhaps you can hack something with

[Dovecot] doveadm auth and the nologin extra field

2014-04-18 Thread Axel Luttgens
Hello, Still busy with details... Considering, as in my previous example, a password_query returning '!' or NULL for the nologin column, depending on an account's status (suspended or not). Let's consider a suspended user some.user. In the case of a successful authentication, one has:

[Dovecot] About the nologin extra field

2014-04-14 Thread Axel Luttgens
Hello, While experimenting with the nologin extra field, I met a possibly overlooked behavior. Let's suppose the user database has those two columns: enabled: the user may/may not login (account active/not active) nologin: NULL if the mailbox is available, '!' if it is

Re: [Dovecot] Crash in pop3 with version 2.2.12

2014-04-04 Thread Axel Luttgens
Le 28 mars 2014 à 17:12, Urban Loesch a écrit : Hi, thanks for your fast help. Now pop3 works again without error. Thanks Urban Am 28.03.2014 15:03, schrieb Teemu Huovila: Thats my bad. This commit should fix it http://hg.dovecot.org/dovecot-2.2/rev/b0359910ec96. Thanks for

Re: [Dovecot] Crash in pop3 with version 2.2.12

2014-04-04 Thread Axel Luttgens
Le 4 avr. 2014 à 10:37, Teemu Huovila a écrit : Hello On 04/04/2014 11:18 AM, Axel Luttgens wrote: I'm still wondering... under which circumstances could the crash occur? This issue occurs whenever the function src/pop3/pop3-commands.c:client_uidls_save() is called. The function

Re: [Dovecot] mdbox with mail_attachment_dir per user in 2.2.12

2014-04-04 Thread Axel Luttgens
Le 3 avr. 2014 à 15:12, Pavel Stano a écrit : Hello, we have 2 netapp arrays with 2 volumes and we need to store our mail data in one or other volume for every user. We want keep data for one user in one volume only. So we would like to have 2 separate mail_attachment_dir, one on every

Re: [Dovecot] lmtp_rcpt_check_quota not working

2014-02-13 Thread Axel Luttgens
Le 11 févr. 2014 à 08:34, Bernhard Schmidt a écrit : [...] so Dovecot should reject in RCPT TO phase, but according to the logs of the upstream Postfix it does so after END-OF-DATA (host xxx[2001:xxx] said: 452 4.2.2 u...@domain.de Quota exceeded (mailbox for user is full) (in reply to

Re: [Dovecot] broken message header parsing (was Re: forwarded message is broken in 2.2.10 with pigeonhole-0.4.2)

2014-01-16 Thread Axel Luttgens
Le 15 janv. 2014 à 23:29, Axel Luttgens a écrit : [...] Pigeonhole stops parsing headers at nokeyword, OK. Well, yes and no... I've just retried with a redirect to her@some.domain, still through a telnet against lmtp: lmtp - mailbox (with sieve redirect) And it appears

Re: [Dovecot] Dovecot 2 separate login for POP3 connections ?

2014-01-16 Thread Axel Luttgens
Le 16 janv. 2014 à 10:29, BONNET, Frank frank.bon...@esiee.fr a écrit : Hello Is it possible to configure a separate logfile for incoming POP3 connections ( dovecot 2.2.9 ) Hello Frank, Perhaps by defining log_path in a protocol pop3 { ... } section? Axel

Re: [Dovecot] forwarded message is broken in 2.2.10 with pigeonhole-0.4.2

2014-01-15 Thread Axel Luttgens
Le 15 janv. 2014 à 10:17, Burckhard Schmidt a écrit : Hi, forwarding a message with sieve like redirect:copy me@other.domain; was working without any problem until dovecot-2.1.17, dovecots lmtp and dovecot-2.1-pigeonhole-0.3.5. Using dovecot-2.2.10 , dovecots lmtp and

Re: [Dovecot] forwarded message is broken in 2.2.10 with pigeonhole-0.4.2

2014-01-15 Thread Axel Luttgens
Le 15 janv. 2014 à 13:19, Burckhard Schmidt a écrit : [...] Sorry, I lost the leading space by cut/paste. Fine, thank you for the clarification. Could you try something along these lines: redirect me@other.domain; keep; instead of: redirect:copy me@other.domain;

Re: [Dovecot] forwarded message is broken in 2.2.10 with pigeonhole-0.4.2

2014-01-15 Thread Axel Luttgens
Le 15 janv. 2014 à 14:50, Burckhard Schmidt a écrit : Am 15.01.2014 13:52, schrieb Axel Luttgens: Le 15 janv. 2014 à 13:19, Burckhard Schmidt a écrit : [...] Sorry, I lost the leading space by cut/paste. Fine, thank you for the clarification. Could you try something along these lines

Re: [Dovecot] forwarded message is broken in 2.2.10 with pigeonhole-0.4.2

2014-01-15 Thread Axel Luttgens
Le 15 janv. 2014 à 15:33, Axel Luttgens a écrit : [...] I'll try with 2.2.10 as soon as possible. I anyway had to compile 2.2.10. ;-) No more dubious header removal. But but but... Tried again, but now without a leading space at the beginning of the boundary= line, i.e

Re: [Dovecot] broken message header parsing (was Re: forwarded message is broken in 2.2.10 with pigeonhole-0.4.2)

2014-01-15 Thread Axel Luttgens
Le 15 janv. 2014 à 18:28, Steffen Kaiser a écrit : [...] Well, you recieve the message text: keyword: body keyword: body nokeyword keyword: body empty line message body Yes, I was trying to reproduce Burckhard's problem by voluntarily omitting the line-continuation character (hence

Re: [Dovecot] Sieve - not functioning for additional email aliases.

2014-01-13 Thread Axel Luttgens
Le 13 janv. 2014 à 09:56, Jacek Osiecki a écrit : Hi, On one of my servers (old one, version 1.2.5) user reported that vacation message for basic address works fine, but not for the aliases. [...] Any idea how I can debug it? Running test-sieve does not help - it claims that will

Re: [Dovecot] Dovecot quota with MySQL - username issue

2014-01-11 Thread Axel Luttgens
Le 26 déc. 2013 à 10:04, michael a écrit : Hi all, I'm using Dovecot 2.2.8 with quota using a MySQL backend. The Quota plugin is listed for POP3, IMAP and LDA. When it is enabled for LDA, it populates the username field in the MySQL table with e mail addresses. I end up with a mixture

Re: [Dovecot] Pigeonhole make check fails with Dovecot 2.2.8

2013-11-20 Thread Axel Luttgens
Le 20 nov. 2013 à 04:33, Tamsy a écrit : [...] I have tried to compile Pigeonhole 0.4.2 and also the latest dovecot-2-2-pigeonhole-b7434a02fc51 from the Mercurial repository but the outcome at make test is always the same: 3: Test 'Ignoring whitespace' FAILED: header test does not strip

Re: [Dovecot] Pigeonhole make check fails with Dovecot 2.2.8

2013-11-20 Thread Axel Luttgens
Le 20 nov. 2013 à 09:29, Tamsy a écrit : [...] Our servers are running on Ubuntu 10.04, 32bit. With Dovecot/Pigeonhole 2.2.7/0.4.2 that error when running make check for Pigeonhole does not happen on any of our servers. It seems to be the combo Dovecot/Pigeonhole 2.2.8/0.4.2 (and also with

Re: [Dovecot] how can i change the content of rejected message

2013-11-20 Thread Axel Luttgens
Le 20 nov. 2013 à 09:54, ihab a écrit : thanks but i want to change the language of it i don't want it in english Hello, You could have a look at: http://wiki1.dovecot.org/Quota/1.1 under the Custom Quota Exceeded Message heading. HTH, Axel

Re: [Dovecot] Pigeonhole make check fails with Dovecot 2.2.8

2013-11-20 Thread Axel Luttgens
Le 20 nov. 2013 à 16:20, Giam Teck Choon a écrit : [...] Same here but I also include http://hg.dovecot.org/dovecot-2.2/rev/47923cfd4b56 as well. Hello Giam, Just for the sake of the archives consistency... I guess you meant: http://hg.dovecot.org/dovecot-2.2/rev/a91437fe94b6 so

Re: [Dovecot] Pigeonhole make check fails with Dovecot 2.2.8

2013-11-20 Thread Axel Luttgens
Le 20 nov. 2013 à 14:08, Timo Sirainen a écrit : [...] Interestingly caused by the improved caching code. Fixed by http://hg.dovecot.org/dovecot-2.2/rev/f4eb4b5884b2 And http://hg.dovecot.org/dovecot-2.2/rev/4ef184875799 http://hg.dovecot.org/dovecot-2.2/rev/47923cfd4b56 These are

Re: [Dovecot] Using MailDir but local messages still save in mbox format

2013-09-30 Thread Axel Luttgens
Le 29 sept. 2013 à 21:28, /dev/rob0 a écrit : On Sat, Sep 28, 2013 at 04:26:03PM +0200, Axel Luttgens wrote: Le 27 sept. 2013 à 09:35, Mike Edwards a écrit : I think I just fixed the problem but I am not sure if I did it the right way.. It seems that it is postfix that did

Re: [Dovecot] Using MailDir but local messages still save in mbox format

2013-09-28 Thread Axel Luttgens
Le 27 sept. 2013 à 09:35, Mike Edwards a écrit : I think I just fixed the problem but I am not sure if I did it the right way..It seems that it is postfix that did it, not dovecot. I found this in the log for every local message... Sep 26 11:10:10 zeus postfix/local[14565]:

Re: [Dovecot] kqueue bug?

2013-08-30 Thread Axel Luttgens
Le 30 août 2013 à 16:14, Timo Sirainen a écrit : Apparently Dovecot with kqueue ioloop enabled causes random crashes in FreeBSD 9.1. Anyone else noticed something like that? I'm wondering if Dovecot's kqueue code has a bug somewhere (I can't find it) or could it be that FreeBSD itself has

Re: [Dovecot] commented lines still active

2013-08-26 Thread Axel Luttgens
Le 26 août 2013 à 01:43, LuKreme a écrit : despite the manage sieve lines on dovecot.conf being currently commented out show as active in doveconf -n [...] Does your dovecot.conf include other config files? Axel

Re: [Dovecot] Disabled pop3-login

2013-08-26 Thread Axel Luttgens
Le 26 août 2013 à 06:43, LuKreme a écrit : [...] First, that is imap. Second, the string pop3 does not appear anywhere in the output of dovecot.conf. Third, there is no protocols line in dovecot.conf either. Are you saying that to DISABLE pop3-login I have to ENABLE IMAP specifically

Re: [Dovecot] Problem compiling 2.2.5

2013-08-20 Thread Axel Luttgens
Le 20 août 2013 à 18:57, Luciano Mannucci a écrit : I'm trying to upgrade a very old sparcstation running Solaris 8 which is running dovecot 1.x for few users. All I have for the task is good old gcc 2.95.2. The poor sod complains because it can't compute the sizeof(unsigned char

[Dovecot] Any way to test a master user's password?

2013-08-16 Thread Axel Luttgens
Hello, Is there any way to easily check a master user's password, for itself, without having to refer to another user or to weak the security by allowing master users to log in for themselves? For example, this works: # doveadm auth test 'someuser*masteruser' Password: enter

Re: [Dovecot] Override master service settigs with spaces

2013-08-08 Thread Axel Luttgens
Le 8 août 2013 à 09:10, Ulrich Zehl a écrit : On Wed, Aug 07, 2013 at 10:49:28PM +0200, Axel Luttgens wrote: What makes you think quota-status would accept a -o option? Every service running under master accepts -o, as far as I can tell from the code. (Additionally verified by my tests

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2013-08-07 Thread Axel Luttgens
Le 7 août 2013 à 16:32, will moura a écrit : Hi Edward Carraro, I see you got your goal. So I have same trouble and don´t solved. I used the three scenarios you used. based in http://wiki.dovecot.org/LDA/%VirtualUsers And tried using the lmtp, but too don´t worked to delivery mail, I

Re: [Dovecot] Override master service settigs with spaces

2013-08-07 Thread Axel Luttgens
Le 7 août 2013 à 18:03, Ulrich Zehl a écrit : I'd like to override one setting for a master service in conf.d/10-master.conf. Unfortunately, said setting contains spaces, and I do not know how to escape them properly. Here's what I've tried so far. (Note: This is just the easiest/silliest

Re: [Dovecot] v2.2.5 released

2013-08-06 Thread Axel Luttgens
Le 6 août 2013 à 00:19, Jim Knuth a écrit : am 05.08.13 22:03 schrieb Timo Sirainen: http://dovecot.org/releases/2.2/dovecot-2.2.5.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.5.tar.gz.sig [...] thank you. Which Pigeonhole (Sieve) must I use? Hello Jim, Unless I'm wrong, the

Re: [Dovecot] problems with expire plugin

2013-08-05 Thread Axel Luttgens
Le 5 août 2013 à 10:34, Felix Rubio Dalmau a écrit : Sorry, Steffen. My version of dovecot is # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.9.4-15 x86_64 Debian jessie/sid ext4 Additionally, I have corrected the plugin parameters as you suggested. Now looks like: plugin {

Re: [Dovecot] problems with expire plugin

2013-08-05 Thread Axel Luttgens
Le 5 août 2013 à 13:15, Felix Rubio Dalmau a écrit : Ooook! Here it goes! :-) Thank you! Felix # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.9.4-15 x86_64 Debian jessie/sid ext4 [...] mail_plugins = quota zlib [...] Thanks too. :-) The first thing I would try is this one:

Re: [Dovecot] problems with expire plugin

2013-08-05 Thread Axel Luttgens
Le 5 août 2013 à 13:28, Axel Luttgens a écrit : [...] The first thing I would try is this one: mail_plugins = quota zlib expire Moreover, I guess you should also update your lmtp/lda sections: protocol lmtp { mail_plugins = quota zlib sieve expire

Re: [Dovecot] problems with expire plugin

2013-08-05 Thread Axel Luttgens
Le 5 août 2013 à 15:10, Felix Rubio Dalmau a écrit : [...] Now the question is: How should I configure the expires to be different for different boxes? I see that the expires plugin keeps the track of the oldest message on the boxes tracked, only. Should I configure cronjobs like this, for

Re: [Dovecot] dovecot Digest, Vol 124, Issue 4

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 07:43, Felix Rubio Dalmau a écrit : Hello Axel, but then I don't get it: I thought that uid and gid in the user_query where used to access the local FS, whereas the unix_listener auth-userdb are used to indicate under which owner/group must be auth-userdb run...

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Axel Luttgens
Le 1 août 2013 à 18:05, Timo Sirainen a écrit : On 1.8.2013, at 19.02, Axel Luttgens wrote: [...] If yes, could it be that it is never called in my case? If not, then there's definitely some problem :) [...] Could I try to break somewhere earlier in the call chain? It should

Re: [Dovecot] Mail being delivered but MUA showing empty inbox

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 10:25, Nigel Smith a écrit : [...] As demonstrated in my initial post, I can do : #cat /srv/mail/ops.example.com/test/new/1375430267.M868397P2192.ukc-vm02-mx01\,S\=477\,W\=486 [...] Hello Nigel, Somewhat blindly, what's the output of: id its-virtmail

Re: [Dovecot] Mail being delivered but MUA showing empty inbox

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 11:02, Nigel Smith a écrit : Hello Axel, # id its-virtmail uid=1001(its-virtmail) gid=1001(its-virtmail) groups=1001(its-virtmail) # grep 't...@ops.example.com' /etc/dovecot/users

Re: [Dovecot] Mail being delivered but MUA showing empty inbox

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 11:39, Axel Luttgens a écrit : [...] Someone more knowledgeable than I am with maildir? I wanted to add before above question that I would at least try something like this: mail_location = maildir:~/mails t...@ops.example.com:{SSHA512}x:1001

Re: [Dovecot] Mail being delivered but MUA showing empty inbox

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 12:13, Nigel Smith a écrit : I wanted to add before above question that I would at least try something like this: mail_location = maildir:~/mails t...@ops.example.com:{SSHA512}x:1001:1001::/srv/mail/ops.example.com/test::: I'll admit I'm a little

Re: [Dovecot] Mail being delivered but MUA showing empty inbox

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 12:59, Nigel Smith a écrit : Also re-ran Axel's test with a forward slash after the username, no better Ouch! Did I write such a thing? ;-) Anyway, could you now: - comment out all chroot-related settings in dovecot.conf - ensure you have reloaded dovecot

Re: [Dovecot] Mail being delivered but MUA showing empty inbox

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 13:30, Nigel Smith a écrit : Looking more promising with the chroot commented out Axel (doveconf at the bottom) . ;-) Indeed, looks faaar better. Fine! So, I'll now be a bit insisting, but could you now try with: mail_location = maildir:~/mails (or whathever

Re: [Dovecot] Mail being delivered but MUA showing empty inbox

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 14:17, Nigel Smith a écrit : Axel, This seems to bring up a new problem. ;-( Before that change, I could see the new mails in both Telnet and Apple Mail. Now, I can only see the mail in Telnet and not in Apple Mail. No config changes apart form your suggestion

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 14:13, Timo Sirainen a écrit : I'd just do: 1) start quota-status service by e.g. connecting to it via telnet 2) gdb -p `pidof quota-status` b hook_mail_user_created cont 3) recipient=user 4) does it stop?.. if yes, keep hitting s to see if it goes to quota code.

Re: [Dovecot] 2.2.4 - quota-status changing the user it is running as

2013-08-01 Thread Axel Luttgens
Le 30 juil. 2013 à 20:36, Axel Luttgens a écrit : [...] Do you really mean either, not both? I ask, because those patches seem to intervene at quite different levels (but I guess I'll have, one day or another, to get more acquainted with Dovecot's coding, so as not to come with such silly

Re: [Dovecot] 2.2.4 - quota-status changing the user it is running as

2013-08-01 Thread Axel Luttgens
Le 1 août 2013 à 12:44, Timo Sirainen a écrit : On 1.8.2013, at 13.11, Axel Luttgens wrote: [...] unfortunately still requires to relax the permissions on the config unix socket: [...] Yeah. Hmm. I guess this is a good idea to fix too: http://hg.dovecot.org/dovecot-2.2/rev

Re: [Dovecot] misconception in uid and gid

2013-08-01 Thread Axel Luttgens
Le 1 août 2013 à 15:43, Felix Rubio Dalmau a écrit : [...] Nevertheless, if I remove the segments 'vmail' AS uid, 'vmail' AS gid and modify the file conf.d/10-mail.conf to show mail_uid = vmail mail_gid = vmail I get this error: dovecot: auth: Error:

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-01 Thread Axel Luttgens
Le 1 août 2013 à 14:29, Timo Sirainen a écrit : And if you're still stuck with this, set a breakpoint to quota_mail_user_created and step through it to figure out why MODULE_CONTEXT_SET() isn't being called. Yes, still stuck. :-( Did you mean function quota_mail_user_created from

Re: [Dovecot] 2.2.4 - quota-status changing the user it is running as

2013-07-30 Thread Axel Luttgens
Le 30 juil. 2013 à 12:28, Timo Sirainen a écrit : On 14.7.2013, at 19.54, Axel Luttgens wrote: [...] Going on with our telnet session: recipient=john@example.com size=1 action=OK Hmmm... OK, this may be a config problem of mine which may require further

Re: [Dovecot] Dovecot 2.2.4/sendmail with sql user and aliases

2013-07-23 Thread Axel Luttgens
Le 23 juil. 2013 à 02:41, Cedric a écrit : Hi, Ok thank for the interpretation, we used sendmail the last 16 years and I'm trying to migrate a old linuxconf/imapd setup here. [...] Below i provided two differents sql attempt, your input on how to make dovecot lda understand it should

Re: [Dovecot] Dovecot 2.2.4/sendmail with sql user and aliases

2013-07-22 Thread Axel Luttgens
Le 22 juil. 2013 à 16:24, Cedric a écrit : HI, I'll try to explain my problem another way just in case. Hello Cedric, It's still a bit difficult to be sure of all the details, as it seems that the doveconf -n output and the password_query/user_query you have provided are a bit out of sync

Re: [Dovecot] Dovecot 2.2.4/sendmail with sql user and aliases

2013-07-22 Thread Axel Luttgens
Le 22 juil. 2013 à 19:31, Cedric a écrit : Hi, There's the information again : I use sendmail with dovecot-lda delivery : Mvirtual, P=/vdl/libexec/dovecot/dovecot-lda, F=lsDFMShP, S=10, R=20/40, A=/vdl/libexec/dovecot/dovecot-lda -d $u@$h Ha... So, there are

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-19 Thread Axel Luttgens
Le 18 juil. 2013 à 11:25, Axel Luttgens a écrit : [...] It is to be noted that no lines in the log are related to possible problems encountered for launching [the dict server]. It is a bit as if quota_check() in src/plugins/quota/quota-status.c always immediately returned with 1

Re: [Dovecot] zlib plugin undefined symbol: imap_module_register

2013-07-19 Thread Axel Luttgens
Le 19 juil. 2013 à 15:43, Alexander Weber a écrit : Hi all, i've tried to enable the zlib plugin within die LDA, but i've got some strange errors dovecot: lda: Error: dlopen(/usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so) failed:

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-18 Thread Axel Luttgens
Hello, I ended my previous message with : [...] Q3. What am I doing wrong? [...] Given the details discussed in another thread (http://www.dovecot.org/list/dovecot/2013-July/091309.html), I tried by changing the user_query's SELECT from: user_query = \ SELECT DISTINCT \

Re: [Dovecot] INBOX protected foldername?

2013-07-18 Thread Axel Luttgens
Le 18 juil. 2013 à 13:58, Hajo Locke a écrit : Hello, [...] In higher dovecot versions INBOX seems to be a kind of protected foldername. dovecot is not offering this folder in folderlist. If i rename it, the folder is available again. [...] Is there an explaination for this

Re: [Dovecot] Dovecot 2.2.4 does not create home directory?

2013-07-17 Thread Axel Luttgens
Le 17 juil. 2013 à 14:32, Dmitry . a écrit : Hi, [...] And yet, here http://wiki.dovecot.org/HowTo/SimpleVirtualInstall it is written Users can be added by editing this file. Dovecot automatically notices the new users immediately after they're added. It also creates their home

Re: [Dovecot] Variable similar to %u but providing the username changed by a database lookup?

2013-07-17 Thread Axel Luttgens
Le 5 juil. 2013 à 19:14, Axel Luttgens a écrit : [...] Hello Steffen, You helped me to look twice at those matters. So, it seems that variable %u (or, for what matters, even %n) indeed expands to the value as changed thru a database lookup. In fact, I now understand that I

Re: [Dovecot] Dovecot 2.2.4 does not create home directory?

2013-07-17 Thread Axel Luttgens
Le 17 juil. 2013 à 16:11, Dmitry . a écrit : Hello Dmitry, As a side note: the above documents Dovecot 1.x, and you're using 2.2.4. I thought that if it works in 1.x to 2.x then be all the more Probably. :-) But sometimes with incompatibilities. [...] /var/log/dovecot/dovecot.log

Re: [Dovecot] Sieve vacation variables reference

2013-07-16 Thread Axel Luttgens
Le 16 juil. 2013 à 02:15, Simon a écrit : Hi There. [...] is there a definitive list of things like days, subject etc? Hello Simon, You might go to: http://www.rfc-editor.org/search/rfc_search.php and perform there a search on sieve. For the vacation extension, there's

[Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-16 Thread Axel Luttgens
Help! I'm stuck. :-( The config of my experimental setup appears at the end of this message; I'm providing hereafter some more info that may not be immediately obvious. This is dovecot 2.2.4 with changesets 9091d0f2d971 and 2be295a0b64f. All involved databases are sqlite ones. passdb and

Re: [Dovecot] mail not reject when the mailbox is full (Dovecot-LDAP-Imap_quota)

2013-07-16 Thread Axel Luttgens
Le 15 juil. 2013 à 22:41, Victor Oñate a écrit : Hi list... this is my #dovecot -n thanks.. # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-mckinley ia64 Debian 6.0.5 base_dir: /var/run/dovecot/ [...] any idea is welcome Hello Victor, I don't remember exactly, but wasn't

Re: [Dovecot] Difference between using auth_realms and setting up virtual mailboxes in postfix?

2013-07-16 Thread Axel Luttgens
Le 12 juil. 2013 à 21:32, Gab IIpop a écrit : Hi, there is a possibility in the future that I might have to support multiple domain names(but using the same IP address). Postfix has something called 'virtual mailboxes' to help handle this. Hello Gab, Let's suppose you have a simple

Re: [Dovecot] 2.2.4 - quota-status changing the user it is running as

2013-07-15 Thread Axel Luttgens
Le 14 juil. 2013 à 18:54, Axel Luttgens a écrit : [...] Is this the expected behavior, to have quota-status switch to another user? I should have added: And to have it indefinitely running as that user?. Notwithstanding the permission problems that come with that behavior (see my previous

[Dovecot] 2.2.4 - quota-status changing the user it is running as

2013-07-14 Thread Axel Luttgens
Hello, I'm currently experimenting with this quota-status service configuration: service quota-status { client_limit = 1 executable = quota-status -p postfix # Let's make the default explicit. user = root

Re: [Dovecot] Ambiguous behavior with prefetch database?

2013-07-13 Thread Axel Luttgens
Le 12 juil. 2013 à 22:18, Axel Luttgens a écrit : [...] I hope I'll have the opportunity to try it tomorrow. [...] I've applied changesets 9091d0f2d971 and 2be295a0b64f (both were needed) to a clean 2.2.4 source, and it seems to yield the expected results now. Nice to be able to keep

Re: [Dovecot] Ambiguous behavior with prefetch database?

2013-07-12 Thread Axel Luttgens
Le 12 juil. 2013 à 01:44, Timo Sirainen a écrit : [...] Here: http://hg.dovecot.org/dovecot-2.2/rev/2be295a0b64f Hello Timo, I hope I'll have the opportunity to try it tomorrow. In the meantime, thanks again for your care, Axel

[Dovecot] A sqlite-based quota dict

2013-07-12 Thread Axel Luttgens
Hello, While experimenting with the sqlite backend, I noticed a big vacuum wrt its use for a quota dict. This is thus an opportunity to share a solution I managed to devise after some trials and errors and a (very quick and unscientific) look at the code. And also the opportunity to ask the

Re: [Dovecot] Ambiguous behavior with prefetch database?

2013-07-10 Thread Axel Luttgens
Le 10 juil. 2013 à 04:37, Timo Sirainen a écrit : Fixed: http://hg.dovecot.org/dovecot-2.2/rev/9091d0f2d971 And for LDAP: http://hg.dovecot.org/dovecot-2.2/rev/939aa051e3f1 Hello Timo, Many thanks for having taken the pain to have a look at this. (BTW, when do you sleep?) I've tried the

Re: [Dovecot] avoid log message when using nagios check

2013-07-10 Thread Axel Luttgens
Le 10 juil. 2013 à 21:41, Timo Sirainen a écrit : On 10.7.2013, at 22.39, Daniel Parthey wrote: So it would have to disable logging also for the logout message after login.. Can those load balancers be configured to send these kind of extra XCLIENT/ID commands? Is it really worth the

Re: [Dovecot] (no subject)

2013-07-07 Thread Axel Luttgens
Le 7 juil. 2013 à 11:47, Dotan Cohen a écrit : [...] $ /usr/bin/doveadm pw -u u...@somedomain.com -s DIGEST-MD5 Enter new password: # Here I have typed 12345 Retype new password: # Here I have typed 12345 {DIGEST-MD5}f4e442b0dec5009eaa8b9b4104923edc $ printf 12345 | md5sum

  1   2   >