[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 co

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

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

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] (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 > 827c

Re: [Dovecot] DOVECOT 2.2.4 = 501 5.5.4 Unsupported options in LMTP

2013-07-06 Thread Axel Luttgens
Le 4 juil. 2013 à 15:41, Dmitry a écrit : > [...] > > at the same time tcpflow LMTP > > # tcpflow -c -i any host 127.0.0.33 > 127.000.000.033.00024-127.000.000.001.41663: 220 mail Dovecot ready. > 127.000.000.001.41663-127.000.000.033.00024: LHLO localhost > 127.000.000.001.41663-127.000.000.033

[Dovecot] Ambiguous behavior with prefetch database?

2013-07-05 Thread Axel Luttgens
Hello, Let's say dovecot.conf contains: mail_uid= dovemailer mail_gid= dovemailer mail_home = /some/path/%n mail_location = mbox:~/mboxes:INBOX=~/mboxes/inbox and that the password database query is of the form: password_query = \

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

2013-07-05 Thread Axel Luttgens
Le 5 juil. 2013 à 16:27, Steffen Kaiser a écrit : > [...] > The doc http://wiki2.dovecot.org/AuthDatabase/SQL#User_database_lookups > spells: > > SELECT userid AS username > > maybe, you override the wrong field? Hello Steffen, You helped me to look twice at those matters. So, it seems that v

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

2013-07-05 Thread Axel Luttgens
Hello, Variable %u may be used in dovecot.conf whenever the "full username" is needed. But the expansion of %u returns the username before a possible change performed thru a password or user database lookup (e.g., in the case of a SQL database, thru as "AS user" clause). Is there a variable th

Re: [Dovecot] Dovecot 2.2.4 - Fatal: master: service(imap): child 44562 killed with signal 11

2013-07-05 Thread Axel Luttgens
Le 28 juin 2013 à 15:48, Marcin Mirosław a écrit : > [...] > > I have fixed configuration. Sadly, dovecot still throws segfaults. Hello Marcin, Do you still encounter the problem? FYI, just upgraded from 2.2.3 to 2.2.4 here, without any obvious ill effect wrt imap sessions. Axel

Re: [Dovecot] Dovecot 2.2.4 - Fatal: master: service(imap): child 44562 killed with signal 11

2013-06-28 Thread Axel Luttgens
Le 26 juin 2013 à 13:16, Marcin Mirosław a écrit : > Hi all! > I just upgraded dovecot from 2.2.2 to 2.2.4. Now I can't login to imap, > proces imap throws segfault. Here is snip from dovecot.log: > > [...] > 2013-06-25T23:06:47.827616+02:00 meteor dovecot: imap(mar...@mejor.pl) > : Warning: auto

Re: [Dovecot] Dovecot 2.2.2: doveadm user doesn't honor -x option

2013-06-17 Thread Axel Luttgens
Le 16 juin 2013 à 19:19, Timo Sirainen a écrit : > [...] > > Fixed: http://hg.dovecot.org/dovecot-2.2/rev/c290383e60da Hello Timo, Thanks: just tried with 2.2.3, and it worked as expected. >> The same config with Dovecot 2.1.16 yields expected results. > > v2.1 worked a bit differently by re

[Dovecot] Dovecot 2.2.2: doveadm user doesn't honor -x option

2013-06-06 Thread Axel Luttgens
Hello, 1. Considering a user_query similar to this one: SELECT ... FROM ... WHERE CASE '%s' WHEN 'lmtp' THEN ... and issuing following command: doveadm user -x service=lmtp someu...@example.com the log shows: SELECT ... FROM ... WHERE CASE 'doveadm' WHEN 'lmtp' THEN ..

Re: [Dovecot] change inbox dotlock name

2013-05-10 Thread Axel Luttgens
Le 9 mai 2013 à 16:28, Chris Saldanha a écrit : > Axel Luttgens wrote: > > But I fear I don't understand your problem description. > > Could you elaborate? > > Hi Axel, > > The issue is that the procmail port on FreeBSD doesn't acquire a dotlock when &g

Re: [Dovecot] change inbox dotlock name

2013-05-08 Thread Axel Luttgens
Le 8 mai 2013 à 14:42, Chris Saldanha a écrit : > Hi, > > Is there a configuration element that would allow me to change the dot-lock > name for the user's /var/mail inbox when it is locked? Hello Chris, This seems to be fully hard-coded. > dovecot (correctly) acquires .lock, but I'm having

Re: [Dovecot] ot: mirroring/archiving to a Mac?

2013-05-08 Thread Axel Luttgens
Le 8 mai 2013 à 02:44, voy...@sbt.net.au a écrit : > On Wed, May 8, 2013 10:34 am, Reindl Harald wrote: > >> yes >> http://developer.apple.com/library/mac/documentation/Darwin/Reference/Man >> Pages/man1/dovecot.1.html >> >> >> and for the archive itself imapsync and cron is his friend > > Rei

Re: [Dovecot] Idea: POP3 deletion as a flag

2013-05-07 Thread Axel Luttgens
Le 6 mai 2013 à 20:45, Kelsey Cummings a écrit : > On 2013-05-03 19:13, Professa Dementia wrote: >> When I specify that an email be >> deleted from the server, I expect that it is *deleted*. > > While I see the point you're trying to make, I don't think it is valid. On > our servers the deleted

Re: [Dovecot] Idea: POP3 deletion as a flag

2013-05-07 Thread Axel Luttgens
Le 7 mai 2013 à 00:24, Noel Butler a écrit : > On Mon, 2013-05-06 at 15:39 +0200, Axel Luttgens wrote: > >> Hmmm... >> Let's consider the RFC's part related to, for example, the TOP command: >> >> If the POP3 server issues a positive response, then

Re: [Dovecot] Idea: POP3 deletion as a flag

2013-05-06 Thread Axel Luttgens
Le 6 mai 2013 à 01:59, Noel Butler a écrit : > On Sat, 2013-05-04 at 05:29 -0700, Professa Dementia wrote: > >> [...] >> and enabling this option makes the server non-compliant. The section >> under "The UPDATE State" is clear about the behavior of the server: >> >> "The POP3 server removes al

Re: [Dovecot] Idea: POP3 deletion as a flag

2013-05-04 Thread Axel Luttgens
Le 4 mai 2013 à 00:44, Timo Sirainen a écrit : > I didn't ask what their main reason for this was, but for me it would be: > "Oops, I accidentally configured my new email client as POP3 instead of IMAP, > and now it deleted everything from my INBOX." With lazy_expunge the user > would have to e

Re: [Dovecot] Running LMTP as a user other than the root user

2013-04-23 Thread Axel Luttgens
Le 16 avr. 2013 à 19:47, Axel Luttgens a écrit : > [...] Mea culpa. I missed a few enlightening lines in 10-master.conf, at the beginning of the "service auth" section. They are terribly useful for understanding the coding choices and to conclude that everything "works as intended". Axel

Re: [Dovecot] Dovecot 2.1.16: "default_client_count" written to the logs

2013-04-23 Thread Axel Luttgens
Le 23 avr. 2013 à 12:37, Timo Sirainen a écrit : > On Mon, 2013-04-22 at 14:07 +0200, Axel Luttgens wrote: >> Hello, >> >> [...] >> Shouldn't it read "default_client_limit" instead of "default_client_count"? > > Yes, fixed. Thanks,

[Dovecot] Dovecot 2.1.16: "default_client_count" written to the logs

2013-04-22 Thread Axel Luttgens
Hello, As to be expected with low system limits, a warning may be written to the logs: master: Warning: fd limit (ulimit -n) is lower than required under max. load (256 < 1000), because of default_client_count Shouldn't it read "default_client_limit" instead of "default_client_coun

Re: [Dovecot] Small documentation error?

2013-04-16 Thread Axel Luttgens
Le 16 avr. 2013 à 21:01, Timo Sirainen a écrit : > On 16.4.2013, at 20.45, Axel Luttgens wrote: > >> Hello, >> >> At http://wiki2.dovecot.org/MailboxFormat/mbox: >> >> The UID for a new message is calculated from "last used UID" in >>

[Dovecot] Running LMTP as a user other than the root user

2013-04-16 Thread Axel Luttgens
Hello, With this one in Postfix' main.cf: virtual_transport = lmtp:unix:/_ROOT/var/run/dovecot/lmtp and Dovecot settings reproduced at the end of this message, there is no problem for having mail delivered into a user's INBOX. But as soon as I try the security improvement suggested in

[Dovecot] Small documentation error?

2013-04-16 Thread Axel Luttgens
Hello, At http://wiki2.dovecot.org/MailboxFormat/mbox: The UID for a new message is calculated from "last used UID" in X-IMAP header + 1 Shouldn't it read "in X-UID header + 1" instead? Axel

Re: [Dovecot] sieve: seconds-extension for vacation

2013-03-16 Thread Axel Luttgens
Le 16 mars 2013 à 10:23, Peer Heinlein a écrit : > Hi, > > looks like Dovecot-Sieve doesn't know the seconds-extension for vacation: > > main script: line 5: error: unknown tagged argument ':seconds' for the > vacation command (reported only once at first occurence). > main script: error: valida

Re: [Dovecot] mail_max_userip_connections

2013-03-12 Thread Axel Luttgens
Le 12 mars 2013 à 17:18, Simon Brereton a écrit : > [...] > > I suppose this implies it's the webmail client., So, to be sure: the webmail server is running on the same box as the one running Dovecot? > but even having that > open on two different machines shouldn't open 10 connections. Sho

Re: [Dovecot] mail_max_userip_connections

2013-03-12 Thread Axel Luttgens
Le 12 mars 2013 à 16:21, Simon Brereton a écrit : > On 12 Mar 2013 15:31, "Axel Luttgens" wrote: >> >> [...] >> You could have a look at 'doveadm who' >> (http://wiki2.dovecot.org/Tools/Doveadm/Who). >> > > I really should get around

Re: [Dovecot] Documentation Clarification

2013-03-12 Thread Axel Luttgens
Le 12 mars 2013 à 14:28, andr...@cymail.eu a écrit : > Can somebody please clarify the following in the documentation? > > I am actually looging at the 2.x docs: > In the http://wiki2.dovecot.org/Authentication file there is > a good effort to clarify between authentication mechanisms and passwor

Re: [Dovecot] mail_max_userip_connections

2013-03-12 Thread Axel Luttgens
Le 12 mars 2013 à 14:43, Simon Brereton a écrit : > Hi > > [...] > > Is there a command available that can list the connections per IP? Hello Simon, You could have a look at 'doveadm who' (http://wiki2.dovecot.org/Tools/Doveadm/Who). HTH, Axel

Re: [Dovecot] stats plugins causing dns lookup per connection

2013-03-12 Thread Axel Luttgens
Le 12 mars 2013 à 05:51, Kelsey Cummings a écrit : > I noticed our imap servers were generating a lot of A record lookups for > their own IP's the other day and just got around to tracking down the > source. Seems like they are all being caused by guid_128_generate() - > perhaps the lookup could

Re: [Dovecot] Dovecot-2.1.14 - pop3 processes always hangs forever - another follow-up

2013-02-19 Thread Axel Luttgens
Le 19 févr. 2013 à 14:54, Timo Sirainen a écrit : > [...] > > Oops, thanks for noticing :) The i_error() change wasn't intentional. Well, glad to have been of some (very, very little) help. ;-) > Anyway, your changes need also the patch that prevents it from breaking: > http://hg.dovecot.org/

Re: [Dovecot] Dovecot-2.1.14 - pop3 processes always hangs forever - another follow-up

2013-02-19 Thread Axel Luttgens
Le 18 févr. 2013 à 17:41, Axel Luttgens a écrit : > Le 18 févr. 2013 à 10:28, Axel Luttgens a écrit : > >> [...] >> >> It seems it could be easily back ported to 2.1.x. >> I'll try and report back here. > > Hello Timo, > > Please find here

Re: [Dovecot] Dovecot-2.1.14 - pop3 processes always hangs forever - another follow-up

2013-02-18 Thread Axel Luttgens
Le 18 févr. 2013 à 10:28, Axel Luttgens a écrit : > [...] > > It seems it could be easily back ported to 2.1.x. > I'll try and report back here. Hello Timo, Please find hereafter a proposal based on 2.1.4. Tested here, no hangs anymore with virtual uids/gids. I'm just wo

Re: [Dovecot] Dovecot-2.1.14 - pop3 processes always hangs forever - another follow-up

2013-02-18 Thread Axel Luttgens
Le 18 févr. 2013 à 06:21, Timo Sirainen a écrit : > On Sun, 2013-02-17 at 12:24 +0100, Axel Luttgens wrote: >> Le 17 févr. 2013 à 05:47, Timo Sirainen a écrit : >> >>> [...] >>> The gethostbyname() call is used to figure out the current system's domain.

Re: [Dovecot] Dovecot-2.1.14 - pop3 processes always hangs forever - another follow-up

2013-02-17 Thread Axel Luttgens
Le 17 févr. 2013 à 05:47, Timo Sirainen a écrit : > [...] > The gethostbyname() call is used to figure out the current system's domain. > Why it would be hanging there, I don't really know. That call anyway isn't > fully required, you could just replace it with "hent = NULL;" Yes, looks like th

[Dovecot] Dovecot-2.1.14 - pop3 processes always hangs forever - another follow-up

2013-02-15 Thread Axel Luttgens
Hello, With the same basic configs as in my previous messages, I tried with the maildir format instead of the mbox format. That is, in both cases ("virtual" uids/gids vs a single "real" uid/gid), doveconf -n shows: mail_location = maildir:~/maildir instead of: mail_location = mb

Re: [Dovecot] POLL: v2.2 to allow one mail over quota?

2013-02-12 Thread Axel Luttgens
Le 11 févr. 2013 à 02:16, Timo Sirainen a écrit : > [...] > > I wonder if there's a better name for this than "last_extra".. Hello Timo, If I've correctly understood, the idea is to accept an additional message provided there is some free space AND the size of that message additional doesn't

[Dovecot] Dovecot-2.1.14 - pop3 processes always hangs forever - a follow-up

2013-02-08 Thread Axel Luttgens
Suspecting a problem with the "virtual" uids/gids, I've tried with a real user for the mail user: # 2.1.14: /_ETC/dovecot/dovecot.conf # OS: Darwin 12.2.1 x86_64 auth_verbose = yes disable_plaintext_auth = no mail_debug = yes mail_gid = dovemailer

[Dovecot] Dovecot-2.1.14 - pop3 processes always hangs forever

2013-02-08 Thread Axel Luttgens
Hello, I'm currently experimenting with the 2.1.x series and am facing a behavior I can't explain; I must be doing something wrong and probably miss the obvious... ;-) This is a very basic build on Mac OS X 10.8.2: ./configure --prefix=/_COD/dovecot-2.1.14 --sysconfdir=/_ETC --localst

Re: [Dovecot] v2.x services documentation

2012-01-14 Thread Axel Luttgens
Le 7 déc. 2011 à 15:22, Timo Sirainen a écrit : > If you've ever wanted to know everything about the service {} blocks, this > should be quite helpful: http://wiki2.dovecot.org/Services Hello Timo, I know, I'm quite late at reading the messages, and this is really a nice and useful one; thanks

Re: [Dovecot] "doveadm auth user" requiring a tty

2010-11-30 Thread Axel Luttgens
Le 30 nov. 2010 à 01:19, Timo Sirainen a écrit : > [...] > > I'm also not sure if there's any better way to do this.. There is anyway only > two users of askpass() and in both situations it should be pretty safe to > just use stdin. Committed: > > http://hg.dovecot.org/dovecot-2.0/rev/6ea16711

[Dovecot] "doveadm auth user" requiring a tty

2010-11-27 Thread Axel Luttgens
Hello, "doveadm auth user password" may be scripted without a glitch. But this comes with the usual problem of a "ps" command showing the password, which may be especially annoying in case of a single-letter typo: the almost correct password is then visible for about two seconds... Clearing the

Re: [Dovecot] emails getting mangled when dragging from Exchange account to IMAP shared folders

2010-11-09 Thread Axel Luttgens
Le 9 nov. 2010 à 01:57:17, Scott Goodwin a écrit : > Looks like there was some more discussion of this via the digest, but to > keep the original thread intact, I'll just reply here. > I'm still a little confused over whether or not my issue is an > Outlook/Exchange problem or something else, sinc

[Dovecot] password_query, user_query and unrelated userid and emails

2010-09-25 Thread Axel Luttgens
Let's say one has a SQL table with following fields for John Doe: login: u0007 password: {SHA1}... mailhome: /path/to/joeshome email: john@example.com To log in, for internal policy reasons, John MUST make use of his userid "u0007

Re: [Dovecot] v2.0.0 released

2010-09-15 Thread Axel Luttgens
Le 7 sept. 2010 à 16:16:26, Timo Sirainen a écrit : > On Tue, 2010-09-07 at 15:56 +0200, Axel Luttgens wrote: >>> + imap and pop3 processes can now handle multiple connections. >> >> Could someone point to some more info about the above? > > Well, I don&#x

Re: [Dovecot] v2.0.0 released

2010-09-07 Thread Axel Luttgens
Le 16 août 2010 à 16:49:00, Timo Sirainen a écrit : > [...] > + imap and pop3 processes can now handle multiple connections. > [...] Hello, Could someone point to some more info about the above? I remember Mike's message (November 2009, 11th) as well as Timo's plans (January 2010, 23rd),

Re: [Dovecot] How to restart DOVECOT without rebooting

2010-05-25 Thread Axel Luttgens
Le 25 mai 2010 à 16:20:08, Alexander a écrit : > Hi, > How can one reload Dovecot without rebooting? Hello Alexander, You may HUP the dovecot process, as explained at: http://wiki.dovecot.org/RunningDovecot Starting with 2.0, there's also the "reload" argument: Usage: dovecot

Re: [Dovecot] sshfs and outlok express imap directory problem.

2010-05-08 Thread Axel Luttgens
Le 8 mai 2010 à 00:32:29, ringo tr a écrit : > > I mountedvpopmail/domains in sshfs. > > [...] > > May 8 01:25:57 cbumail1 dovecot: imap(ya...@yvz.cbu.edu.tr): > link(/home/vpopmail/domains/yvz.cbu.edu.tr/yavuz/Maildir/cur/1273050327.14629.cbumail1,S=1385:2,S, > > /home/vpopmail/domains

Re: [Dovecot] dovecot-2.0.beta4: compiler gets stuck making master-service-settings.o Mac OS X 10.6.2

2010-04-03 Thread Axel Luttgens
Le 3 avr. 2010 à 15:02:47, Giuliano Gavazzi a écrit : > dovecot-2.0.beta4 > > Environment: > > MacOS X 10.6.2, Xcode 3.2.1 (gcc-4.2) > > Problem: > > ./configure --sysconfdir=/usr/local/conf/ > > make > > [...] > > /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -

[Dovecot] Dovecot 2.0beta3 and dovecot.conf

2010-03-21 Thread Axel Luttgens
Le 17 mars 2010 à 21:25:38, Timo Sirainen a écrit : > On Wed, 2010-03-17 at 21:21 +0100, Renaud Allard wrote: dovecot_delivery transport output: lda: Fatal: User lookup failed: net_connect_unix(/opt/dovecot/etc/dovecot/dovecot.conf) failed: No such file or directory >>> >>> Yeah, I

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-11-12 Thread Axel Luttgens
Le 10 nov. 2009 à 23:44, Timo Sirainen a écrit : > On Tue, 2009-11-10 at 22:56 +0100, Axel Luttgens wrote: >>> Although fdatasync() seems to have gone missing from .h files, but still >>> exists in libc. I guess that's intentional? >> >> Hello Timo, >>

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-11-10 Thread Axel Luttgens
Le 27 oct. 2009 à 20:21, Timo Sirainen a écrit : > On Tue, 2009-10-27 at 13:13 -0500, Mike Abbott wrote: >> >> [...] > > [...] > > Although fdatasync() seems to have gone missing from .h files, but still > exists in libc. I guess that's intentional? Hello Timo, Did Mike reply about that one?

Re: [Dovecot] testing needed

2009-10-20 Thread Axel Luttgens
Le 19 oct. 2009 à 22:55, Timo Sirainen a écrit : Can someone find an OS where the attached program doesn't work? It should print "success". So far tested for success: Linux 2.6, Solaris 10, FreeBSD 7.2, OpenBSD 4.2. Succeeds here on Mac OS X 10.6.1, with gcc version 4.2.1 (Apple Inc. build

Re: [Dovecot] compiling issue 1.2.6 - Solaris

2009-10-06 Thread Axel Luttgens
Le 6 oct. 2009 à 17:23, Dave McGuire a écrit : On Oct 6, 2009, at 10:21 AM, Bruce Bodger wrote: [...] A bit of oddity I just discovered by viewing source code at http://www.opensource.apple.com/ OS X 10.5.8 - OpenSSL 0.9.7l 28 Sep 2006 OS X 10.6.0 - OpenSSL 0.9.6l 04 Nov 2003 OS X 10.

Re: [Dovecot] Apple mail troubles

2009-10-01 Thread Axel Luttgens
Le 1 oct. 2009 à 13:57, Frank Bonnet a écrit : Hello I have an Apple computer user who has great problems using IMAP and Dovecot. Some same messages seems to stay in two or more folders and are impossible to erase from the Apple mail client Anyone has that kind of troubles ? No. Axel PS

Re: [Dovecot] Question about the pop3 feature "leave messages on server for a certain period of time"

2009-09-12 Thread Axel Luttgens
Le 12 sept. 2009 à 09:27, Charles Marcus a écrit : On 9/11/2009, Axel Luttgens (***) wrote: Well, POP is rather well RFC-based too... ;-) In fact, POP and IMAP are both well-defined protocols; they just are optimized for each extreme of possible behaviors: remove everything from the

Re: [Dovecot] Question about the pop3 feature "leave messages on server for a certain period of time"

2009-09-11 Thread Axel Luttgens
Le 11 sept. 2009 à 22:59, Leonardo Rodrigues a écrit : Δημήτριος Καραπιπέρης escreveu: Hi I can clearly understand this, but what if we have two MUAs with different time period settings on the same account , 10 days the first and 20 days the second. The first when it will be connected on th

Re: [Dovecot] Question about the pop3 feature "leave messages on server for a certain period of time"

2009-09-11 Thread Axel Luttgens
Le 11 sept. 2009 à 12:07, Δημήτριος Καραπιπέρης a écrit : Hi I can clearly understand this, but what if we have two MUAs with different time period settings on the same account , 10 days the first and 20 days the second. The first when it will be connected on the 10th day it will delete

Re: [Dovecot] rawlog adjustment

2009-09-02 Thread Axel Luttgens
Le 2 sept. 09 à 09:10, Thomas G. Lau a écrit : Dear Charles, try it with pop3 server, it does not work. Hello Thomas, Don't you see messages like these ones with regular logging: POP3(someuser): Disconnected: Logged out top=0/0, retr=0/0, del=1/4, size=615 (by "regular", I mean with Do

Re: [Dovecot] Are host names a secret?

2009-07-17 Thread Axel Luttgens
Le 17 juil. 09 à 00:45, Ralph Seichter a écrit : Axel Luttgens wrote: [...] What shouldn't be allowed wrt RFC rules, unless I'm wrong: at any time, the user should be able to trace the path of a received message (an SMTP server MUST add a Received header, never remove or mod

Re: [Dovecot] Are host names a secret?

2009-07-16 Thread Axel Luttgens
Le 16 juil. 09 à 23:05, Timo Sirainen a écrit : On Thu, 2009-07-16 at 22:57 +0200, Geert Hendrickx wrote: On Thu, Jul 16, 2009 at 04:30:00PM -0400, Timo Sirainen wrote: Some time ago I added the ability for IMAP clients to fetch messages' GUIDs using FETCH X-GUID command. Because of a bug it

Re: [Dovecot] getting Apple Mail and dovecot/IMAP to co-operate

2009-07-13 Thread Axel Luttgens
Le 13 juil. 09 à 13:53, Jim Reid a écrit : Hi Timo. Thanks again for your help. I've got things just about working as planned. There's one minor irritation however. Users see a strange mailbox icon at the top of their list of mailboxes on the dovecot server. It's called #mbox and has a > sy

Re: [Dovecot] Dovecot and ACL

2009-07-11 Thread Axel Luttgens
Le 11 juil. 09 à 18:00, Daniel Spannbauer a écrit : Steffen Kaiser schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 10 Jul 2009, Daniel Spannbauer wrote: Seems to work, now error in the logs at the moment. Bute wehn I log in over telnet port 143 theres no "acl" at the capabi

Re: [Dovecot] imap connection refused

2009-07-11 Thread Axel Luttgens
Le 11 juil. 09 à 12:53, Daniel Wallner a écrit : On Sat, Jul 11, 2009 at 12:05 PM, Axel Luttgens<**> wrote: Which port number is "imap" on your system? Which port number is "imap2" on your system? port number: 143 cat /etc/services | grep imap imap2

Re: [Dovecot] imap connection refused

2009-07-11 Thread Axel Luttgens
Le 11 juil. 09 à 11:19, Daniel Wallner a écrit : hi, mutt -f imap://m...@test.local@127.0.0.1 Could not connect to 127.0.0.1 (Connection refused). Which port number is "imap" on your system? lsof -i dovecot 20200 root5u IPv4 233361 TCP localhost:imap2 (LISTEN) imap-logi

Re: [Dovecot] v1.2.1 released

2009-07-10 Thread Axel Luttgens
Le 10 juil. 09 à 05:00, Timo Sirainen a écrit : http://dovecot.org/releases/1.2/dovecot-1.2.1.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.1.tar.gz.sig Mainly fixes to some issues found by people when upgrading to v1.2.0. [...] - mbox: New mailboxes were created with UIDVALIDITY

Re: [Dovecot] getting Apple Mail and dovecot/IMAP to co-operate

2009-07-10 Thread Axel Luttgens
Le 8 juil. 09 à 19:33, Jim Reid a écrit : [...] Thanks for the quick response Timo. Sadly, your suggestion doesn't look as if it'll work because there are many non-empty parent mailboxes that have to get shifted to the new dovecot server. ie There are messages in sub as well as sub/box: to

Re: [Dovecot] getting Apple Mail and dovecot/IMAP to co-operate

2009-07-10 Thread Axel Luttgens
Le 8 juil. 09 à 18:58, Jim Reid a écrit : Hi. I've been fighting a losing battle to get Apple Mail and dovecot to play nice. When dovecot is told to use mbox-style mailboxes, it's not possible to create child mailboxes. Apple Mail whines "The IMAP command “CREATE” failed with server error:

Re: [Dovecot] System users, mbox format and global ACLs

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 04:54, Timo Sirainen a écrit : On Tue, 2009-07-07 at 22:53 -0400, Timo Sirainen wrote: I had hoped no one would ever try to use ACLs with mbox format.. I don't think I want to try to make it work. Oops, forgot to delete the second sentence. I did it anyway after some interna

Re: [Dovecot] Sieve vacation with russian subject

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 12:04, Nikita Koshikov a écrit : Hello list, I have noticed that sieve vacation action breaks some non-english letters in the subject. I tested with russian language, if subject contains letters from specific diapason russian alphabet, the message received with unreadable

Re: [Dovecot] Dovecot and ACL

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 11:55, Daniel Spannbauer a écrit : [...] Hmmm, I don't have a imap_acl-Plugin. Sorry but I forgot the Version: Version is 1.0.rc14 Hmm, I guess you're out of luck then; from http://wiki.dovecot.org/ACL: Dovecot v1.0 and v1.1 supports administrator-configured ACL

Re: [Dovecot] Dovecot and ACL

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 09:14, Daniel Spannbauer a écrit : Hello, I try to get per-mailbox-ACLs on dovecot. So, I've modded dovecot.conf: protocol imap { mail_plugins = acl } and plugin { acl = vfile } When I telnet to dovecot an try the command "capability" there is nothing abou

Re: [Dovecot] System users, mbox format and global ACLs

2009-07-08 Thread Axel Luttgens
Le 8 juil. 09 à 04:53, Timo Sirainen a écrit : [...] http://hg.dovecot.org/dovecot-1.2/rev/f3c6cabae3af http://hg.dovecot.org/dovecot-1.2/rev/4c8175452173 [...] [...]http://hg.dovecot.org/dovecot-1.2/rev/bf4f542ec6df [...] http://hg.dovecot.org/dovecot-1.2/rev/5d1a52e8d320 Ouch! After having s

Re: [Dovecot] mbox format and UIDVALIDITY

2009-07-08 Thread Axel Luttgens
Le 7 juil. 09 à 22:04, Timo Sirainen a écrit : On Wed, 2009-07-01 at 17:48 +0200, Axel Luttgens wrote: In fact, any additional mailbox is created with that unique and persistent UIDVALIDITY of 1. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/568ddefd7c18 Many thanks! Axel

Re: [Dovecot] Unable to (un)subscribe mbox with AIX, NFS and netapp filer

2009-07-08 Thread Axel Luttgens
Le 7 juil. 09 à 18:40, Timo Sirainen a écrit : [...] In that case I would have used those nfs_flush_*() functions. Good to know! Thanks for your comment, Axel

Re: [Dovecot] Unable to (un)subscribe mbox with AIX, NFS and netapp filer

2009-07-07 Thread Axel Luttgens
Le 6 juil. 09 à 23:07, Ralf Becker a écrit : Hello Axel, [...] It's not just the log message. If you have a look on the entire function, you'll see that it fails if fchown fails: [...] Yes, you're right; I've been too elliptic... :-( I was worried with a "solution" that potentially could fu

Re: [Dovecot] troubles with broken clients (iPhone) - again

2009-07-07 Thread Axel Luttgens
Le 7 juil. 09 à 10:02, Federico Bianchi a écrit : The PC (Outlook) is accessing the mailbox via POP3, the iPhone is using IMAP; please consider we are talking about a user's home setup, so it's pretty difficult to have a more detailed report on his part (Outlook version, iPhone OS version

Re: [Dovecot] Unable to (un)subscribe mbox with AIX, NFS and netapp filer

2009-07-06 Thread Axel Luttgens
Le 6 juil. 09 à 14:00, Ralf Becker a écrit : Hello Axel, attached is a small tool to test fchown on a freshly created file: <> Damn... didn't go through... ;-) These are the tests I've made using this tool: [...] So I should alter the to subject to ... with AIX, NFS4 and netapp ... :

Re: [Dovecot] troubles with broken clients (iPhone)

2009-07-06 Thread Axel Luttgens
Le 6 juil. 09 à 13:29, Federico Bianchi a écrit : Sorry if the question has been answered before, but I haven't been able to find any relevant topic on your mailing list archive. We are using Dovecot 1.1.6 with legacy mbox storage on a mail server of ours; the trouble is, users connected vi

Re: [Dovecot] Unable to (un)subscribe mbox with AIX, NFS and netapp filer

2009-07-06 Thread Axel Luttgens
Le 6 juil. 09 à 09:47, Ralf Becker a écrit : [...] Jul 6 08:14:32 trevi mail:err|error dovecot: IMAP(beckerr): fchown(/u/f0/rzuser/beckerr/Mail/.subscriptions.lock, -1, -1) failed: Invalid argument [...] The error just appears on NFS mounted shared and I'm not sure if AIX or netapp is the

Re: [Dovecot] Ambiguous mail location setting

2009-07-06 Thread Axel Luttgens
Le 5 juil. 09 à 07:56, Shawn a écrit : "Using Dovecot v1.0.alpha4 on OpenBSD 3.8 (same problem find using Dovecot v1.0.alpha3 on OpenBSD 3.7) [...] dovecot: Nov 04 11:15:28 Error: imap(myuser at mydomain.com ): Ambiguous mail location set

[Dovecot] 1.1.16 and global ACLs

2009-07-04 Thread Axel Luttgens
I was going to test 1.1.16 so as to see how it handles global ACLs (in the hope to have a possible comparison with 1.2.0's odd behavior), when I encountered the problem described hereafter. Note that just disabling ACLs is sufficient to get back a fully functional imap binary. So, should th

Re: [Dovecot] Dovecot 1.2rc4 - launchd keeps trying to restart it, after Dovecot exits with exit code: 89

2009-07-04 Thread Axel Luttgens
Le 4 juil. 09 à 17:25, David Stark a écrit : On 07/04/2009 03:28 PM, James Brown wrote: On 05/07/2009, at 12:07 AM, James Brown wrote: [...] Anywhere in particular that I should look for hints as to what is causing Dovecot to exit? Call it a stab in the dark, but try removing the PID file

Re: [Dovecot] unsu

2009-07-03 Thread Axel Luttgens
Le 1 juil. 09 à 07:35, pj2...@inbox.lv a écrit : -- Tavs bezmaksas pasts Inbox.lv You sure had a lot of things to share. But I don't gnork the slightest thing. Could you elaborate?

Re: [Dovecot] mbox format and UIDVALIDITY

2009-07-03 Thread Axel Luttgens
Le 2 juil. 09 à 18:12, Timo Sirainen a écrit : On Jul 1, 2009, at 5:48 PM, Axel Luttgens wrote: * OK [UIDVALIDITY 1] UIDs valid Hmm. Wonder when that got broken. It used to work, but yes, I can reproduce it with v1.2 too. I'll take a look at it in a few days. Hello

Re: [Dovecot] mbox format and UIDVALIDITY

2009-07-02 Thread Axel Luttgens
Going further with my question... ;-) It stemmed from that consideration (and related ones) of RFC3501: 2.3.1.1.Unique Identifier (UID) Message Attribute A 32-bit value assigned to each message, which when used with the unique identifier validity value (see below) forms a

Re: [Dovecot] dovecot lda and postfix

2009-07-02 Thread Axel Luttgens
Le 1 juil. 09 à 18:05, I wrote: [...] Could you augment your description with the output of postconf -n dovecot -n as well as all the log entries written by both Postfix and Dovecot when you send your email to r...@domain.com, please without obfuscating the data: its already

Re: [Dovecot] dovecot lda and postfix

2009-07-01 Thread Axel Luttgens
Le 1 juil. 09 à 16:05, Mauricio Tavares a écrit : [...] So, could anyone shed some light on what is causing the problem? Thanks! Hello Mauricio, It's rather difficult to have a clear view of what's happening. Could you augment your description with the output of postconf -n

[Dovecot] mbox format and UIDVALIDITY

2009-07-01 Thread Axel Luttgens
My base concern may be illustrated with the help of that simple telnet session: # telnet 127.0.0.1 imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dove

Re: [Dovecot] System users, mbox format and global ACLs

2009-06-30 Thread Axel Luttgens
Le 28 juin 09 à 18:26, Axel Luttgens a écrit : [...] Is such a file supposed to be created there? If yes, why? I would have tended to believe that it is more a server internal matter than a name having to appear in the namespace. [...] Re-reading the above, I thought it could be worth to

Re: [Dovecot] ACLs, imap and launchd

2009-06-30 Thread Axel Luttgens
Le 30 juin 09 à 17:04, Timo Sirainen a écrit : [...] http://hg.dovecot.org/dovecot-1.2/rev/62b9661b4c7a Once again, many thanks Timo! Axel

[Dovecot] System users, mbox format and global ACLs

2009-06-28 Thread Axel Luttgens
I need some help here... ;-) I'm experimenting with global ACLs, but just fail to understand very basic behaviors. So, before digging into the source code, I would really be delighted if someone could immediately point a mistake I'm making and miserably overlooking. The output of dovecot -

Re: [Dovecot] ACLs, imap and launchd

2009-06-28 Thread Axel Luttgens
Le 28 juin 09 à 03:54, Timo Sirainen a écrit : On Fri, 2009-06-26 at 10:33 +0200, Axel Luttgens wrote: Wouldn't it be possible, for example, to consider using a system user such as "nobody" (unless I'm wrong, it should be defined on any unix flavor)? I guess. Done: h

[Dovecot] ACLs, imap and launchd

2009-06-26 Thread Axel Luttgens
I was going to experiment with ACLs when I faced a small problem. It is just sufficient to enable the acl plugin for getting the behavior described hereafter. When launching dovecot from the command line, one gets: sh-3.2# /usr/local/dovecot/sbin/dovecot -F ILoading modules from dire

Re: [Dovecot] Some questions about deliver

2009-06-04 Thread Axel Luttgens
Le 30 mai 09 à 00:04, I wrote : [...] I really believe that it would be worth to engrave that behavior somewhere in the docs. This could prove extremely useful to people considering to replace their existing LDA in their existing setup, by making explicit some points to take care of. As a

Re: [Dovecot] Some questions about deliver

2009-05-29 Thread Axel Luttgens
Le 28 mai 09 à 23:51, Timo Sirainen a écrit : On Tue, 2009-05-26 at 14:35 +0200, Axel Luttgens wrote: [...] That looks like a server configuration mistake. No, it's just a Postfix system quickly and dirtily brought to life for the sole purpose of testing deliver from within

Re: [Dovecot] Some questions about deliver

2009-05-26 Thread Axel Luttgens
Le 26 mai 09 à 02:08, Timo Sirainen a écrit : On Sun, 2009-05-24 at 18:35 +0200, Axel Luttgens wrote: 1. Shouldn't deliver honor the first_valid_uid setting? I'm not sure. Somehow enforcing it there seems like a bad idea to me. Yes, could well be that I overlooked some pos

[Dovecot] Some questions about deliver

2009-05-24 Thread Axel Luttgens
While investigating Dovecot's deliver with Postfix, I encountered some behaviors making me wonder whether I really understand the purpose of that binary. So, if you allow... This is from Postfix' main.cf: mailbox_command = /usr/local/dovecot/libexec/dovecot/deliver -e -n This is my quic

<    1   2   3   >