[Dovecot] Dovecot in OSCON 2009?
Hi, I'm thinking about attending OSCON 2009 with some other people from Mailtrust and having some kind of an informal Dovecot meeting nearby. We could for example talk about what Dovecot would need to work better in your system, like missing features or if some things are annoyingly difficult etc, or just general talking and socializing. If you're interested in joining, send me a mail (privately, unless you have something else to say besides "yes").
Re: [Dovecot] problem with ldap
On Fri, 2009-03-27 at 09:56 +0800, Xueron Nee wrote: > seems still has some problems :) > > Mar 27 10:03:44 mail dovecot: Dovecot v1.2.beta4 starting up (core dumps > disabled) > Mar 27 10:03:44 mail dovecot: Panic: auth(default): > passdb_register_module(ldap): Already registered How about now: http://hg.dovecot.org/dovecot-1.2/rev/4aa05d7d8b07 signature.asc Description: This is a digitally signed message part
Re: [Dovecot] dovecot-1.1.13 auth-worker killed
On Fri, 2009-03-27 at 12:31 +0100, Jiri Novosad wrote: > dovecot: Mar 27 12:00:34 Error: auth-worker(default): *** glibc detected *** > dovecot-auth: double free or corruption (!prev): 0x2b30d5a7dd90 *** Heap corruption, not good. How often does this happen? > dovecot: Mar 27 12:00:34 Error: child 21838 (auth-worker) killed with signal > 6 (core not dumped) > dovecot: Mar 27 12:10:23 Error: child 22711 (auth-worker) killed with signal > 11 (core not dumped) It says it dumped core file, so it did write it somewhere. You just might not be finding it. > in limits.conf, /proc/sys/kernel/core_pattern is set to /tmp/core. auth-workers are chdired to Dovecot's base_dir (e.g. /var/run/dovecot). The core file is normally written there, do you see it? Try removing path from core_pattern and see if it shows up there then? > passdb: > driver: pam > args: dovecot What PAM configuration are you using? signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Slightly OT : Maildir format (silly) questions
On Fri, 2009-03-27 at 10:45 +0100, Thomas Hummel wrote: > On Thu, Mar 26, 2009 at 06:23:28PM -0400, Timo Sirainen wrote: > > > No. Maybe a more understandable example would have been ~/Maildir/ and > > ~/Maildir/.bar/. If MDA only gets that one path (so it doesn't know > > the "maildir root dir"), it uses a simple rule to figure out where to > > update maildirsize file: Do I have maildirfolder file? If so, use > > parent dir. If not, use current dir. > > You mean the only reason to use a flat layout (hierarchy emulation like > .folder.subfolder.subsubfolder) is to know where to update the file which > store > the Maildir size ? Yes. > Sounds strange : why not calculate Maildir size ? What "Maildir size"? The MDA doesn't necessarily know what the "root maildir" is. The path may not have "Maildir/" string anywhere in it. For example if you told MDA to deliver a mail to Maildir in /foo/bar/baz, should it write the maildirsize to /foo, /foo/bar or /foo/bar/baz? > And regarding quotas : can I > have a quota on some folder and a quota on some of its subfolder(s) ? If yes, > wouldn't that change the problem ? You mean separate quotas for different mailboxes? No, not possible currently. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] outlook problem if TLS mailsettings are off
On Mon, 2009-03-30 at 10:37 +0200, Georg Käfer wrote: > disable_plaintext_auth = no# outlook 2007 with TLS/SSL OFF can show index > of mails, but (double)-/klick on mail gives me "sandwatch"-mouspointer and > I've to restart outlook again (and enable TLS again to get it work again) Sounds like you have some kind of a firewall or antivirus that is capturing the IMAP traffic and breaking it. Try disabling all of them to see if it works then. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Informations in LDAP and Database
On Tue, 2009-03-31 at 12:02 +0200, Etienne MAYNIER wrote: > Hi everybody, > > I'm installing an application using LDAP and I want dovecot to use LDAP > too. The problem is that they don't use the same schema (especially > because we want per-user quotas). Dovecot can use any LDAP schema you want, as long as it contains the information you need. > I think the best solution is to have the authentication by LDAP and others > datas (like quotas) in a database. > > Is it possible with dovecot ? and How ? Yes. Use passdb ldap and userdb sql. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] postfix + dovecot
On Tue, 2009-03-31 at 21:31 +0200, Łukasz Kasperek > I have postfix+ dovecot but when I run sasl - have this: > > Mar 31 21:21:39 localhost postfix/smtpd[13134]: warning: SASL: Connect > to smtpd failed: No such file or directory Looks like a Postfix configuration problem. Apparently it's trying to connect to "smtpd" SASL socket. But you've configured Dovecot to have: >client { > path = /var/spool/postfix/private/auth So fix the Postfix configuration. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] courier-dovecot-migrate.pl issue
On Wed, 2009-04-01 at 22:49 +0200, Louis-David Mitterrand wrote: > BTW, does dovecot (plans to) have an Outbox sending feature like courier > has? (when saved to a special "Outbox" imap folder, the message is sent > by the imap daemon) I'm not planning to implement it myself. It's possible to write a plugin to do it, anyone is welcome to do it. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Courier
Hello, Timo Sirainen schrieb: > On Mar 31, 2009, at 7:58 AM, kosov...@web.de wrote: > >> log_path = /var/log/dovecot.log >> info_log_path = /var/log/dovecot-info.log > .. >> Log: > > This looks like it's only the dovecot-info.log. > >> dovecot: 2009-03-31 13:50:16 Info: POP3(webmas...@silviosiefke.de): >> Couldn't open INBOX top=0/0, retr=0/0, del=0/0, size=0 > > The real error message should have been written to dovecot.log. Is there > anything in there? > > What Dovecot version? > > Thanks the system is running. Had someone a good Howto for Postfix and Sasl. The Howto on the Dovecot website, is not running. Dovecot or Postfix find not the /var/spool/postfix/private/auth. No such file or Directory. Greeting Silvio
Re: [Dovecot] courier-dovecot-migrate.pl issue
On Wed, Apr 01, 2009 at 04:43:32PM -0400, Timo Sirainen wrote: > On Fri, 2009-03-27 at 16:01 +0100, Louis-David Mitterrand wrote: > > When running the migration script, non of the active users' > > "courierimapsubscribed" and "courierimapuiddb" files seem to be > > detected: > > > > ZENON:~# ./courier-dovecot-migrate.pl --to-dovecot --recursive /home > > Testing conversion to Dovecot format > > Finding maildirs under /home > > /home//Maildir: No imap/pop3 uidlist files > > And this directory actually has courierimapuiddb file? Show the ls -l > output of it? I just tested the script and the above command seems to be > finding the files just fine. > > > However when trying the courier-dovecot-migrate-1.0.pl I get plenty of > > mailbox matches, but since I am installing 1.1.12 it is useless to me. > > Actually it's not useless. Dovecot v1.1 can read files generated for > v1.0 just fine. Hi, I did the migration and it worked fine. The only problem with the script is that it does not report the number of directories processed (like the 1.0 script does). Thanks for a great daemon, I'm a former courier user. BTW, does dovecot (plans to) have an Outbox sending feature like courier has? (when saved to a special "Outbox" imap folder, the message is sent by the imap daemon) Cheers, -- http://www.critikart.net
Re: [Dovecot] courier-dovecot-migrate.pl issue
On Fri, 2009-03-27 at 16:01 +0100, Louis-David Mitterrand wrote: > When running the migration script, non of the active users' > "courierimapsubscribed" and "courierimapuiddb" files seem to be > detected: > > ZENON:~# ./courier-dovecot-migrate.pl --to-dovecot --recursive /home > Testing conversion to Dovecot format > Finding maildirs under /home > /home//Maildir: No imap/pop3 uidlist files And this directory actually has courierimapuiddb file? Show the ls -l output of it? I just tested the script and the above command seems to be finding the files just fine. > However when trying the courier-dovecot-migrate-1.0.pl I get plenty of > mailbox matches, but since I am installing 1.1.12 it is useless to me. Actually it's not useless. Dovecot v1.1 can read files generated for v1.0 just fine. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] 1.2.beta4: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor
On Fri, 2009-03-27 at 19:17 +0100, e-frog wrote: > Whenever dovecot is stopped while a dict process is running I see > > Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor I think this also fixes it: http://hg.dovecot.org/dovecot-1.2/rev/7ddf32656d8c signature.asc Description: This is a digitally signed message part
Re: [Dovecot] about quota in dovecot
On Sun, 2009-03-29 at 13:03 +0800, guojinpeng(郭晋鹏) wrote: > Sometimes dovecot only count in the size of INBOX ,without other (I > use imap to create some mailbox),while,sometimes it count in all. Can you reproduce this? It shouldn't be doing that. Do you use Dovecot's deliver or something else to write the mails to maildir? Could the problem be related to that? signature.asc Description: This is a digitally signed message part
Re: [Dovecot] cannot login with plain authentication - missing UID
On Sun, 2009-03-29 at 11:17 -0400, Marc Donovan wrote: > passdb: > driver: passwd-file > args: /etc/dovecot/userdb You only have passdb passwd-file defined. Add also userdb passwd-file. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] ampersand in local-part
On 01.04.2009 20:20 Bradley Giesbrecht wrote: > I have a new email server (postfix/dovecot/mysql) with accounts > migrated from another server (different platform) and email addresses > with ampersands like "r&d...@domain.com" that worked on my old email > server are not working now. > > I'd like some help tracking this issue down. > > Can anyone tell me if this looks like a postfix, dovecot or mysql issue? > > Some log info follows. For brevity I'm just posting this log snip as > I'm thinking I will get a simple answer to this but I will be happy to > post postfix, dovecot or mysql settings in detail if they are required. > > > Thank you, Brad > > dovecot.log file: > [...] > dovecot: Mar 27 16:37:23 Info: auth(default): auth(?,216.111.149.248): > Invalid username: r&d...@domain.com > dovecot: Mar 27 16:37:23 Info: auth(default): cram-md5(?, > 216.111.149.248): Username contains disallowed character: 0x26 > dovecot: Mar 27 16:37:24 Info: auth(default): new auth connection: > pid=68420 Dovecot is complaining about the 'disallowed character'. See http://wiki.dovecot.org/MainConfig#line-549 for more information. Regards, Pascal -- The trapper recommends today: cafefeed.0909...@localdomain.org
[Dovecot] ampersand in local-part
I have a new email server (postfix/dovecot/mysql) with accounts migrated from another server (different platform) and email addresses with ampersands like "r&d...@domain.com" that worked on my old email server are not working now. I'd like some help tracking this issue down. Can anyone tell me if this looks like a postfix, dovecot or mysql issue? Some log info follows. For brevity I'm just posting this log snip as I'm thinking I will get a simple answer to this but I will be happy to post postfix, dovecot or mysql settings in detail if they are required. Thank you, Brad dovecot.log file: [...] dovecot: Mar 27 16:37:23 Info: auth(default): auth(?,216.111.149.248): Invalid username: r&d...@domain.com dovecot: Mar 27 16:37:23 Info: auth(default): cram-md5(?, 216.111.149.248): Username contains disallowed character: 0x26 dovecot: Mar 27 16:37:24 Info: auth(default): new auth connection: pid=68420 dovecot: Mar 27 16:37:25 Info: auth(default): client out: FAIL 1 dovecot: Mar 27 16:37:25 Info: auth(default): client in: AUTH 2 [] dovecot: Mar 27 16:37:25 Info: auth(default): auth(?,216.111.149.248): Invalid username: r&d...@domain.com dovecot: Mar 27 16:37:25 Info: auth(default): plain(?, 216.111.149.248): Username contains disallowed character: 0x26 dovecot: Mar 27 16:37:27 Info: auth(default): client out: FAIL 2 dovecot: Mar 27 16:37:27 Info: imap-login: Disconnected (auth failed, 2 attempts): method=PLAIN, rip=216.111.149.248, lip=216.111.149.248, secured [...]
Re: [Dovecot] Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted
OK, how about this: http://hg.dovecot.org/dovecot-1.1/rev/8b6b192498e3 On Wed, 2009-04-01 at 18:16 +0200, Jérôme Blanc wrote: > Hello, > > any chance this might have helped you ? I'm still stucked with this > wierd problem and I do not wish to switch to Cyrus ;-) > > Thanks ! > > > Le vendredi 27 mars 2009 à 01:26, Jérôme Blanc > a écrit : > > > Here you are. > > > > I had to compress it as it's size is much bigger. > > > > Also, the behaviour changed a bit when using the -f option. Usuall, > > when I start dovecot, it starts the processes and then gives me back > > the prompt. But with strace -f, it doesn't and I can't even stop it > > with a Ctrl + C. That is why at the end, you will see that I killed > > it. > > > > Hope this helps, > > Thanks ! > > > > > > Le jeudi 26 mars 2009 à 19:10, Timo Sirainen a écrit : > > > > > On Mar 26, 2009, at 1:45 PM, Jérôme Blanc wrote: > > > > > > > Hello, > > > > > > > > just in case it might be useful, as extra information to my > > > > previous email, here is the strace of the main dovecot programm. > > > > > > > > Hope these elements will help you determine this odd behaviour. > > > > > > Could you do strace -f dovecot so that it also traces all the > > > child processes? > > > > > > > > > signature.asc Description: This is a digitally signed message part
Re: [Dovecot] dbox with non-dovecot LDA
On Wed, 2009-04-01 at 11:12 -0500, Justin Krejci wrote: > Aside from the code is there any documentation on using dbox with a > non-Dovecot LDA? The only way to do that is to call Dovecot's deliver from your whatever other MDA. Only Dovecot can write to dbox format and it's not ever going to change (unless the other MDA links to Dovecot code to do it). signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Email stress test
On Wed, 2009-04-01 at 20:09 +0400, Proskurin Kirill wrote: > I need to make a stress test on it. > Something like a 1000 concurrent conection to IMAP and SMTP. > > What tool can help me? For imap you can use http://imapwiki.org/ImapTest signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted
Hello, any chance this might have helped you ? I'm still stucked with this wierd problem and I do not wish to switch to Cyrus ;-) Thanks ! Le vendredi 27 mars 2009 à 01:26, Jérôme Blanc a écrit : > Here you are. > > I had to compress it as it's size is much bigger. > > Also, the behaviour changed a bit when using the -f option. Usuall, > when I start dovecot, it starts the processes and then gives me back > the prompt. But with strace -f, it doesn't and I can't even stop it > with a Ctrl + C. That is why at the end, you will see that I killed > it. > > Hope this helps, > Thanks ! > > > Le jeudi 26 mars 2009 à 19:10, Timo Sirainen a écrit : > > > On Mar 26, 2009, at 1:45 PM, Jérôme Blanc wrote: > > > > > Hello, > > > > > > just in case it might be useful, as extra information to my > > > previous email, here is the strace of the main dovecot programm. > > > > > > Hope these elements will help you determine this odd behaviour. > > > > Could you do strace -f dovecot so that it also traces all the > > child processes? > > > > -- Jérôme Blanc OpenPGP : 1024D/F44DB96C signature.asc Description: PGP signature
[Dovecot] dbox with non-dovecot LDA
Aside from the code is there any documentation on using dbox with a non-Dovecot LDA? We have our own MTA and currently use Dovecot with Maildir only for message retrieval and just have our MTA write the message files to our own directory structure (Dovecot per user mailbox locations stored in mysql) but I am interested in looking at moving to dbox if it is better for performance and other things like static filenames. One thing we'd like to do is not use the Dovecot LDA so as to control the entire inbound email delivery process all the way to verifying the actual message is 100% written to disk. Certainly we can use the Dovecot LDA if it came to it but we'd like to retain control over this entire process if possible.
[Dovecot] Email stress test
Hello all. May be not in right list but... I have a email system based on: Exim-4.69 + Dovecot-1.1.11 on FreeBSD-7.1 I need to make a stress test on it. Something like a 1000 concurrent conection to IMAP and SMTP. What tool can help me? -- Best regards, Proskurin Kirill
Re: [Dovecot] Quota calculation problem with 1.2 beta 4
On Wed, 1 Apr 2009, Timo Sirainen wrote: but the IMAP command reported correctly what I also found in the maildirsize file (in userdb the configured limit was 1000M, his actual INBOX size was below 600M): Are you calling deliver with -d parameter? If not, the userdb lookup is not done in that case. If you are, set mail_debug=yes and paste the logs when this happens. I did not call deliver with the -d parameter. I just added that right now From the Wiki page that describes deliver I did not correctly interpret what are the consequences of "-d : Destination username. If given, the user information is looked up from dovecot-auth" It would be nice if one of the pages LDA, LDA/Postfix or Quota wiki pages did explicitely mention that fact Thanks a lot for your help -- Wolfgang Friebel Deutsches Elektronen-Synchrotron DESY Phone/Fax: +49 33762 77372/216Platanenallee 6 Mail: Wolfgang.Friebel AT desy.de D-15738 Zeuthen Germany
Re: [Dovecot] Quota calculation problem with 1.2 beta 4
On Wed, 2009-04-01 at 11:28 +0200, Ralf Hildebrandt wrote: > Two of my users are reporting that their quota is not being > recalculated ALTHOUGH they deleted lots and lots of mails. Does maildirsize file show any such deletions? Like lots of lines / large numbers in lines beginning with "-"? I did a few tests and it seemed to work correctly. Also the Maildir++ quota code hasn't really changed since v1.1 (quota configuration structures changed somewhat though). signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Quota calculation problem with 1.2 beta 4
On Wed, 2009-04-01 at 13:42 +0200, wolfgang.frie...@desy.de wrote: > Along a similar line: with 1.2 beta 4 I had today a user who according to > deliver was over quota: > > Apr 1 08:00:27 apollo dovecot: deliver(user1): sieve: > msgid=<20090401060005.0821b1e8...@hostxxx>: failed to store into mailbox > 'INBOX': Quota exceeded (mailbox for user is full) > > but the IMAP command reported correctly what I also found in the > maildirsize file (in userdb the configured limit was 1000M, his actual > INBOX size was below 600M): Are you calling deliver with -d parameter? If not, the userdb lookup is not done in that case. If you are, set mail_debug=yes and paste the logs when this happens. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Quota calculation problem with 1.2 beta 4
* wolfgang.frie...@desy.de : >> Hi Ralf, did they report so , or is it real, >> sometimes users are failing with expunge options of their client It's real. I checked the mailboxes and there were no messages marked deleted. > Along a similar line: with 1.2 beta 4 I had today a user who according to > deliver was over quota: > > Apr 1 08:00:27 apollo dovecot: deliver(user1): sieve: > msgid=<20090401060005.0821b1e8...@hostxxx>: failed to store into mailbox > 'INBOX': Quota exceeded (mailbox for user is full) > > but the IMAP command reported correctly what I also found in the > maildirsize file (in userdb the configured limit was 1000M, his actual > INBOX size was below 600M): > > 1048576000S > 557816894 10852 Yes, same here. The values in maildirsize are OK and match up with "du -s" numbers BUT imapd reports something different. > With that config the quota for ALL users seems to be at 500M not taking > into account userdb overrides. Indeed. The users do have "speical" values in their maildirsize files > Or is that the effect of a wrong configuration, e.g. quota = > maildir:Quota should become quota = maildir:User Quota ? Ugh. Dunno. Timo? It used to work with 1.1.13! -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.computerbeschimpfung.de Which fundamental human right do you want to give up today? signature.asc Description: Digital signature
Re: [Dovecot] Quota calculation problem with 1.2 beta 4
On Wed, 1 Apr 2009, Robert Schetterer wrote: Ralf Hildebrandt schrieb: Two of my users are reporting that their quota is not being recalculated ALTHOUGH they deleted lots and lots of mails. I'm using today's hg checkout of 1.2 beta 4 Hi Ralf, did they report so , or is it real, sometimes users are failing with expunge options of their client Along a similar line: with 1.2 beta 4 I had today a user who according to deliver was over quota: Apr 1 08:00:27 apollo dovecot: deliver(user1): sieve: msgid=<20090401060005.0821b1e8...@hostxxx>: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full) but the IMAP command reported correctly what I also found in the maildirsize file (in userdb the configured limit was 1000M, his actual INBOX size was below 600M): 1048576000S 557816894 10852 The relevant sections from dovecot.conf are protocol imap { mail_plugins = quota imap_quota zlib acl imap_acl } protocol lda { mail_plugins = sieve quota acl } plugin { quota = maildir:Quota quota_rule = *:storage=500MB quota_rule2 = Trash:ignore } With that config the quota for ALL users seems to be at 500M not taking into account userdb overrides. Or is that the effect of a wrong configuration, e.g. quota = maildir:Quotashould become quota = maildir:User Quota ? -- Wolfgang Friebel Deutsches Elektronen-Synchrotron DESY Phone/Fax: +49 33762 77372/216Platanenallee 6 Mail: Wolfgang.Friebel AT desy.de D-15738 Zeuthen Germany
Re: [Dovecot] Quota calculation problem with 1.2 beta 4
Ralf Hildebrandt schrieb: > Two of my users are reporting that their quota is not being > recalculated ALTHOUGH they deleted lots and lots of mails. > > I'm using today's hg checkout of 1.2 beta 4 > > Hi Ralf, did they report so , or is it real, sometimes users are failing with expunge options of their client -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
[Dovecot] Quota calculation problem with 1.2 beta 4
Two of my users are reporting that their quota is not being recalculated ALTHOUGH they deleted lots and lots of mails. I'm using today's hg checkout of 1.2 beta 4 -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.computerbeschimpfung.de Wen du nicht mit Können beeindrucken kannst, den verwirre mit Schwachsinn! # 1.2.beta4: /usr/local/etc/dovecot.conf # OS: Linux 2.6.29 i686 Debian squeeze/sid protocols: imap imaps pop3s ssl_cert_file: /etc/ssl/certs/postamt.pem ssl_key_file: /etc/ssl/private/postamt.key disable_plaintext_auth: no version_ignore: yes login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login -D login_executable(imap): /usr/local/libexec/dovecot/imap-login -D login_executable(pop3): /usr/local/libexec/dovecot/pop3-login -D login_process_per_connection: no login_process_size: 0 login_processes_count: 64 login_max_processes_count: 2048 login_max_connections: 512 max_mail_processes: 2048 mail_max_userip_connections: 2048 verbose_proctitle: yes mail_location: maildir:~/Maildir fsync_disable: yes maildir_copy_preserve_filename: yes mail_drop_priv_before_exec: yes mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota trash mail_log fts fts_squat zlib autocreate mail_plugins(imap): quota imap_quota trash mail_log fts fts_squat zlib autocreate mail_plugins(pop3): quota mail_log mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 mail_log_max_lines_per_sec: 0 imap_client_workarounds(default): outlook-idle netscape-eoh imap_client_workarounds(imap): outlook-idle netscape-eoh imap_client_workarounds(pop3): pop3_lock_session(default): no pop3_lock_session(imap): no pop3_lock_session(pop3): yes pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %v-%u pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh namespace: type: private separator: . prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: mechanisms: plain login cache_size: 64 master_user_separator: * debug: yes debug_passwords: yes passdb: driver: passwd-file args: /usr/local/etc/dovecot.masterusers pass: yes master: yes passdb: driver: shadow passdb: driver: pam args: cache_key=%u dovecot userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix plugin: fts: squat quota: maildir quota_rule: Trash:storage=2048M quota_warning: storage=90%% /usr/local/scripts/quota-warning 90 quota_warning2: storage=95%% /usr/local/scripts/quota-warning 95 quota_warning3: storage=99%% /usr/local/scripts/quota-warning 99 trash: /usr/local/etc/dovecot-trash.conf autocreate: Trash autocreate2: spam autocreate3: Sent autocreate4: Drafts autosubscribe: Trash autosubscribe2: spam autosubscribe3: Sent autosubscribe4: Drafts
Re: [Dovecot] dbox - how to awaken the monster
On Wed, Apr 1, 2009 at 4:06 AM, Daniel L. Miller wrote: > Odhiambo Washington wrote: > >> I thought so. Now I have seen, read and understood (so far) >> http://wiki.dovecot.org/LDA/Exim. >> However I do not see any examples for configuring dovecot for dbox. Is it >> as >> easy as s/maildir/dbox/g in the following: >> >> mail_location = >> >> maildir:/var/spool/virtual/%d/%n/Maildir:INDEX=/var/dovecot/%u:CONTROL=/var/dovecot/%u >> >> > Not quite. And "configuration" is not "migration" - keep that in mind if > you're trying to change an existing system. > > Given the above, I'd do: > mail_location = dbox:/var/spool/virtual/%d/%n/dbox > > Keep in mind dbox is 100% proprietary to Dovecot. While indexes are > supplemental - even optional - for the other formats, part of what makes > dbox special is that the mails are stored in the indexes. So your > configuration that has the indexes split off to different folders probably > isn't a good idea if you're going to dbox. > >> And suppose I wanted to redeliver mail stored in dbox, using the MTA?? For >> example, I have used the following script to redeliver mail stored in >> Maildir: >> >> > I don't think this would be an option anymore. Maildir stores the raw > message in a simple file - which makes such manipulation easy. Dbox will > store it in a proprietary format. Unless a utility is provided that would > accept a dbox message-id and return a raw message (haven't seen one > advertised) you would have to use some kind of IMAP interface to accomplish > this. If such access is important to you - stick with maildir. > >> Ok. Sorry it looks like I have unending questions:( >> >> > Never apologize for seeking knowledge. Thanks Daniel. Your explanation is clear enough. One last question: Can dbox co-exist with Maildir? And finally, there was a mention of a script to migrate from Maildir to dbox. Where is it? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood
Re: [Dovecot] dbox - how to awaken the monster
On Wed, Apr 1, 2009 at 4:06 AM, Daniel L. Miller wrote: > Odhiambo Washington wrote: > >> I thought so. Now I have seen, read and understood (so far) >> http://wiki.dovecot.org/LDA/Exim. >> However I do not see any examples for configuring dovecot for dbox. Is it >> as >> easy as s/maildir/dbox/g in the following: >> >> mail_location = >> >> maildir:/var/spool/virtual/%d/%n/Maildir:INDEX=/var/dovecot/%u:CONTROL=/var/dovecot/%u >> >> > Not quite. And "configuration" is not "migration" - keep that in mind if > you're trying to change an existing system. > > Given the above, I'd do: > mail_location = dbox:/var/spool/virtual/%d/%n/dbox > > Keep in mind dbox is 100% proprietary to Dovecot. While indexes are > supplemental - even optional - for the other formats, part of what makes > dbox special is that the mails are stored in the indexes. So your > configuration that has the indexes split off to different folders probably > isn't a good idea if you're going to dbox. > >> And suppose I wanted to redeliver mail stored in dbox, using the MTA?? For >> example, I have used the following script to redeliver mail stored in >> Maildir: >> >> > I don't think this would be an option anymore. Maildir stores the raw > message in a simple file - which makes such manipulation easy. Dbox will > store it in a proprietary format. Unless a utility is provided that would > accept a dbox message-id and return a raw message (haven't seen one > advertised) you would have to use some kind of IMAP interface to accomplish > this. If such access is important to you - stick with maildir. > >> Ok. Sorry it looks like I have unending questions:( >> >> > Never apologize for seeking knowledge. Thanks Daniel. One last question: There was a mention of a script to migrate from Maildir to dbox. Where is it? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood