Re: [Dovecot] LMTP benefit vs LDA
Daniel Parthey writes: Davide wrote: my question is what is benefit implementing LMTP service replacing LDA i have dovecot 2.1.8 with vpoipmail+qmail and about 500 users now i'm using LDA and i'm interested on LMTP service. with LMTP... * you dont need to care about mail filesystem permissions * you can use dovecot lmtp proxy and/or director * you don't need to spawn a new process for each message One of the (potential) benefit is that a LMTP, because it can handle multiple recipients, has the ability to optimize I/O (or storage?) by using hardlinking to a single copy of a message (deduping). I don't know if Dovecot takes advantage of this in any way though. Joseph Tam jtam.h...@gmail.com
[Dovecot] Quota
Hi, is it possible to ask Dovecot for a users quota by talking to the Dovecot server over TCP? I know about doveadm quota -u user, but I would like to know, if I can query for that over a network connection (on the Postfix ML they suggested writing a policy service that checks quota. Postfix is not always on the same server as Dovecot is). Does the LMTP protocol give that information somehow? I am not so familiar with LMTP. Or some Unix-Socket to query that could also be configured as inet_listener? Thanks in advance -Christian Rößner -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich
Re: [Dovecot] Quota
Christian Rößner wrote: is it possible to ask Dovecot for a users quota by talking to the Dovecot server over TCP? I know about doveadm quota -u user, but I would like to know, if I can query for that over a network connection (on the Postfix ML they suggested writing a policy service that checks quota. Postfix is not always on the same server as Dovecot is). Does the LMTP protocol give that information somehow? I am not so familiar with LMTP. Or some Unix-Socket to query that could also be configured as inet_listener? LMTP only returns an error if you're already over quota. You can query the quota of a specific mailbox via IMAP using GETQUOTAROOT: http://tools.ietf.org/rfc/rfc2087.txt Several script languages provide helper functions for this: perl: IMAP::Admin-get_quotaroot php: imap_get_quota ruby: Net::IMAP::MailboxQuota Regards Daniel -- https://plus.google.com/103021802792276734820
Re: [Dovecot] Quota
Hi perl: IMAP::Admin-get_quotaroot php: imap_get_quota ruby: Net::IMAP::MailboxQuota python-imaplib in my case ;) If connecting from the policy service, can I use Dovecot master password to get quota over IMAP? Thanks again Christian Regards Daniel -- https://plus.google.com/103021802792276734820
Re: [Dovecot] Quota
On 4.11.2012, at 22.34, Christian Rößner wrote: is it possible to ask Dovecot for a users quota by talking to the Dovecot server over TCP? I know about doveadm quota -u user, but I would like to know, if I can query for that over a network connection (on the Postfix ML they suggested writing a policy service that checks quota. Postfix is not always on the same server as Dovecot is). Does the LMTP protocol give that information somehow? I am not so familiar with LMTP. Or some Unix-Socket to query that could also be configured as inet_listener? You could connect to doveadm-server socket and basically ask the doveadm quota command via it. There's not much documentation about it though. But I'm sure I've mentioned details a couple of times in this mailing list.. I've also had some plans to make a somewhat easier socket for asking this. Maybe using doveadm-server process, or maybe a whole new quota-query binary that can talk multiple protocols.. It would be pretty easy to do, mainly I just haven't been sure what would be the cleanest way to implement this.
Re: [Dovecot] Quota
Christian Rößner wrote: perl: IMAP::Admin-get_quotaroot php: imap_get_quota ruby: Net::IMAP::MailboxQuota python-imaplib in my case ;) If connecting from the policy service, can I use Dovecot master password to get quota over IMAP? Yes, I think a master user login should work as if the user has logged in. If you store quota in a database, the policy service could query the database. Regards Daniel -- https://plus.google.com/103021802792276734820
Re: [Dovecot] maildir S= and W=
FYI: On Wed, 2012-10-31 at 15:09 +0100, Alessio Cecchi wrote: Yes, W= is not set by maildrop I had some conversation with Sam (the maildrop upstream), who said he would accept a patch adding ,W= support to maildrop. He may even look at it himself, when he should ever find some time being very bored ;) Given that maildrop is one of the most important MDAs, perhaps someone of the dovecot developers may have also an interest in this :) Cheers, Chris. smime.p7s Description: S/MIME cryptographic signature
[Dovecot] [bump] Re: starting dovecot
Timo? on Fri Nov 02 2012, Dave Abrahams dave-AT-boostpro.com wrote: on Thu Nov 01 2012, Dave Abrahams dave-AT-boostpro.com wrote: My system never issues the dovecot start command. I do, however, run /usr/local/libexec/dovecot/imap on port 9xxx. I talk to the server through port 9xxx and through the preauth tunnel. Is this arrangement OK? Are there some things that will only work if dovecot is invoked? In particular, I'm curious because of messages like the one below that I got from doveadm search: doveadm(dave): Error: net_connect_unix(/usr/local/var/run/dovecot/indexer) failed: No such file or directory Is the lack of this (or any other) socket attributable to not having started dovecot itself? -- Dave Abrahams BoostPro Computing Software DevelopmentTraining http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
Re: [Dovecot] starting dovecot
Hi Dave, Dave Abrahams wrote: My system never issues the dovecot start command. I do, however, run /usr/local/libexec/dovecot/imap on port 9xxx. I talk to the server through port 9xxx and through the preauth tunnel. Is this arrangement OK? No, most probably not. You try to investigate why dovecot does not run: http://wiki2.dovecot.org/WhyDoesItNotWork Show your doveconf -n output and dovecot logfile content please. Are there some things that will only work if dovecot is invoked? The dovecot main process spawns all the services and sockets, you should invoke service binaries directly only for debugging purposes. Regards Daniel -- https://plus.google.com/103021802792276734820