Re: [Dovecot] mailbox count folders issues
On Thu, 19 Nov 2009 18:53:19 -0500 Timo Sirainen t...@iki.fi wrote: On Thu, 2009-11-19 at 18:31 -0500, Timo Sirainen wrote: On Thu, 2009-11-19 at 09:10 +0200, Nikita Koshikov wrote: Nov 19 08:57:34 IMAP(al...@domain.com): Warning: header rewrite: size=32824 Nov 19 08:57:34 IMAP(al...@domain.com): Warning: mail_index_update_header_ext: ext_id=2 offset=0 size=32824 Nov 19 08:57:34 IMAP(al...@domain.com): Warning: log_append_ext_hdr_update: size=65536 Thanks. Pretty simple fix after all that I missed: http://hg.dovecot.org/dovecot-1.2/rev/3e1ca490dde0 Except .. although that above patch helps a bit, it still breaks after header size goes to 64k and fixing that requires changing index file format a bit. This should help there: http://hg.dovecot.org/dovecot-1.2/rev/e5d38150be58 Sorry, but with version 1.2.8 the crash is still here: Nov 20 10:16:00 IMAP(al...@domain.com): Panic: file mail-transaction-log-append.c: line 31 (log_append_buffer): assertion failed: ((type MAIL_TRANSACTION_) Nov 20 10:16:00 IMAP(al...@domain.com): Error: Raw backtrace: imap [0x80d2411] - imap [0x80d2482] - imap [0x80d1de9] - imap [0x80b4a9f] - imap(mail_tran] Nov 20 10:16:00 dovecot: Error: child 29596 (imap) killed with signal 6 (core dumped) I have tried delete old indexes, but this didn't help. current gdb-trace is attached.GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as i686-pc-linux-gnu... warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /usr/lib/dovecot/imap/lib10_quota_plugin.so...done. Loaded symbols for /usr/lib/dovecot/imap/lib10_quota_plugin.so Reading symbols from /usr/lib/dovecot/imap/lib11_imap_quota_plugin.so...done. Loaded symbols for /usr/lib/dovecot/imap/lib11_imap_quota_plugin.so Reading symbols from /usr/lib/dovecot/imap/lib11_trash_plugin.so...done. Loaded symbols for /usr/lib/dovecot/imap/lib11_trash_plugin.so Reading symbols from /usr/lib/dovecot/imap/lib20_autocreate_plugin.so...done. Loaded symbols for /usr/lib/dovecot/imap/lib20_autocreate_plugin.so Reading symbols from /usr/lib/dovecot/imap/lib20_expire_plugin.so...done. Loaded symbols for /usr/lib/dovecot/imap/lib20_expire_plugin.so Reading symbols from /usr/lib/dovecot/imap/lib20_virtual_plugin.so...done. Loaded symbols for /usr/lib/dovecot/imap/lib20_virtual_plugin.so Reading symbols from /usr/lib/dovecot/imap/lib20_zlib_plugin.so...done. Loaded symbols for /usr/lib/dovecot/imap/lib20_zlib_plugin.so Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib/libbz2.so.1...done. Loaded symbols for /lib/libbz2.so.1 Reading symbols from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1...done. Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1 Core was generated by `imap'. Program terminated with signal 6, Aborted. [New process 29596] #0 0xe424 in __kernel_vsyscall () (gdb) bt full #0 0xe424 in __kernel_vsyscall () No symbol table info available. #1 0xb7e2b660 in raise () from /lib/libc.so.6 No symbol table info available. #2 0xb7e2ce98 in abort () from /lib/libc.so.6 No symbol table info available. #3 0x080d2425 in default_fatal_finish (type=value optimized out, status=0) at failures.c:160 backtrace = 0xb7d5d6c0 imap [0x80d2411] - imap [0x80d2482] - imap [0x80d1de9] - imap [0x80b4a9f] - imap(mail_transaction_log_append+0x68d) [0x80b556d] - imap [0x80aa039] - imap(mail_index_sync_commit+0xa5) [0x80ad535]... #4 0x080d2482 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x80ea0cc file %s: line %d (%s): assertion failed: (%s), args=0xbff736b4 �U\017\b\037) at failures.c:443 No locals. #5 0x080d1de9 in i_panic (format=0x80ea0cc file %s: line %d (%s): assertion failed: (%s)) at failures.c:207 No locals. #6 0x080b4a9f in log_append_buffer (ctx=0xbff737a8, buf=0xb7d4d670, hdr_buf=0x0, type=29596) at mail-transaction-log-append.c:31 hdr = {size = 196419352, type = 32824} hdr_size = value optimized out hdr_pos = value optimized out __PRETTY_FUNCTION__ = log_append_buffer #7 0x080b556d in mail_transaction_log_append (t=0xb205fb8, log_file_seq_r=0xbff73910, log_file_offset_r=0xbff73900) at mail-transaction-log-append.c:348 index = (struct
Re: [Dovecot] Dovecot and SATA Backend
Extra question, what is the better : iSCSI SATA backend or NFS share ? NFS share is more convenient to have a failover server. Everyone wants to use nfs for mailstorage, because it is convenient, but nfs is the wrong storage model for mail. NFS shines on big files but metadata performance is low, too much overhead! We currently have a mailcluster with 1 mailboxes and the data ist stored on a netapp storage. If you have a Mailbox with more then 1000 mails, it gets slow over nfs. Our new architecuture will look like this: No NFS, no iSCSI we use DAS. There will be multiple dedicated mailbox server in pairs with a small postfix instance and dovecot. These Servers will only be used for delivering/IMAP/POP3. To get HA we use DRBD und Heartbeat in active/passive setup. In the front there will be a IMAP/POP3 proxy to direct the user to his mailbox server. This setup scales and is cheap, you only have to find a way to distribute the mailboxes around all mailbox servers. I think rackspace email uses a similar setup with drbd and dovecot.
Re: [Dovecot] Dovecot and SATA Backend
alex handle schrieb: Extra question, what is the better : iSCSI SATA backend or NFS share ? NFS share is more convenient to have a failover server. Everyone wants to use nfs for mailstorage, because it is convenient, but nfs is the wrong storage model for mail. NFS shines on big files but metadata performance is low, too much overhead! We currently have a mailcluster with 1 mailboxes and the data ist stored on a netapp storage. If you have a Mailbox with more then 1000 mails, it gets slow over nfs. Our new architecuture will look like this: No NFS, no iSCSI we use DAS. There will be multiple dedicated mailbox server in pairs with a small postfix instance and dovecot. These Servers will only be used for delivering/IMAP/POP3. To get HA we use DRBD und Heartbeat in active/passive setup. In the front there will be a IMAP/POP3 proxy to direct the user to his mailbox server. This setup scales and is cheap, you only have to find a way to distribute the mailboxes around all mailbox servers. I think rackspace email uses a similar setup with drbd and dovecot. sorry for the stupid question what is DAS do you have a link etc for it, to get more info -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Re: [Dovecot] Dovecot and SATA Backend
Robert Schetterer rob...@schetterer.org writes: sorry for the stupid question what is DAS do you have a link etc for it, to get more info See http://en.wikipedia.org/wiki/Direct-attached_storage -- Nicolas
Re: [Dovecot] quota is not ignoring trash
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 19 Nov 2009, JC wrote: I have debian lenny configured with postfix 2.5.5 and dovecot 1.0.15 with mysql, every user has a different quota. The problem is that the quota is not ignoring trash folder, how can I solve this problem? And another question, is there a see http://wiki.dovecot.org/Quota possibility to ignore sent folder?. I think you must upgrade to v1.1, better, v1.2. Regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSwabuXWSIuGy1ktrAQLo4AgAp+CczMEeOzEtp3RkwkWcbmn4XI4+qeTy j4d25S8bpmO+PZWH0s7Oe3HgpG6sRGdEkOtPU2Hk6DR2O4LNT9cuHQB8OLDnk3av QPecxjLRNjjR2NKcPgwM2m+TIhTsI6L3OTv5l/K3bjxOrW9aQiu3/yUwlsrPepYd oEHjwKM9bdJe+W9NoBwAeTZQZsn3J1glXLU2kxWgYEqfp2EgqBzr1BktWjHnWP+l BwWo06KehuczZM4ulWqTJ+TAKvb5iuD4m4AAgSuSbddVW1K1Yc+qKiLwmzqc8u7r ZXmUNkOjyAVxDZ+zbE5JYN3HDUxeRI6s2MsbXlik8zcDM4ULcPsVFQ== =pPbk -END PGP SIGNATURE-
Re: [Dovecot] Dovecot and SATA Backend
El Viernes 20 Noviembre 2009 a las 13:05, alex handle escribió: to put it simply: local storage We use Dell R710 in pair, each with 6 15K SAS Disks and RAID 10 - iSCSI or NFS can hardly be faster But faster is not always the way to measure things. In this topic, I think that raw disk access speed is not a critical value; I've tested our setup with maildir on NFS and performance is close enough to local disks. Given this, I prefer the extra features our NAS/SAN setup gives us, like having data replication between phisically separated disks in a couple of clicks ,redundant paths to data, easier management, ... -- Joseba Torre. Vicegerencia de TICs, área de Explotación
Re: [Dovecot] v1.2.8 released
On November 19, 2009 7:45:05 PM -0500 Timo Sirainen t...@iki.fi wrote: http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz.sig This is mainly to fix the 0777 base_dir creation issue, which could be considered a security hole, exploitable by local users. An attacker could for example replace Dovecot's auth socket and log in as other users. Gaining root privileges isn't possible though. Isn't it possible to login as a master user? -frank
Re: [Dovecot] v1.2.8 released
On Nov 20, 2009, at 9:06 AM, Frank Cusack wrote: On November 19, 2009 7:45:05 PM -0500 Timo Sirainen t...@iki.fi wrote: http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz.sig This is mainly to fix the 0777 base_dir creation issue, which could be considered a security hole, exploitable by local users. An attacker could for example replace Dovecot's auth socket and log in as other users. Gaining root privileges isn't possible though. Isn't it possible to login as a master user? Master user simply means ability to log in as another user with your own password. There's no way to log in as root.
Re: [Dovecot] Dovecot and SATA Backend
But faster is not always the way to measure things. In this topic, I think that raw disk access speed is not a critical value; I've tested our setup with maildir on NFS and performance is close enough to local disks. Given this, I prefer the extra features our NAS/SAN setup gives us, like having data replication between phisically separated disks in a couple of clicks ,redundant paths to data, easier management, ... In my test local storage was always ~ 2 times faster than nfs. if you have the deep pockets to buy all the storage gear and replication licenses/maintainence then it's for sure far better. But if you are an isp, you have to sell the storagespace for pennies. So we came up with a cheap robust and scalable storage solution special to our mailsetup. It Supports HA with blocklevel-replication and snapshots with lvm so it's even some what manageable. Another point against nfs is that i wanted to avoid potential locking/coruption problems. I know it can be solved by always redirecting the same user to the same server, but then again i loose the convenience of nfs. So i ditch nfs complety and use multiple storage servers in pairs running dovecot.
[Dovecot] [OT] preferred clients
I'm getting tired of Thunderbird telling me I have unread messages in folders that haven't gotten new messages for months so I'm looking for a new mail client. I know the problem lies with Thunderbird because everything is fine via RoundCube and if it tell Thunderbird to rebuild it's index it shows the folder correctly again. Except of course for a subset of the messages in my inbox that it insists where delivered at the exact time I re-indexed it, every time. So what IMAP clients do people prefer these days? Preferably windows or cross platform and it needs to have decent key bindings because (probably like many of you) I get 100s of emails a day via lists and anything that speeds my way through them is good. I run my own server (probably obvious being on this list) and can install webmail clients as well. I ran squirrelmail for a while but although functional it's quite dated. I'm using RoundCube for access away from my systems now but it lacks keyboard shortcut support and trying to click one email after another with a laptop touchpad gets painful fast. Thanks, Jonathan
Re: [Dovecot] [OT] preferred clients
screen+mutt -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Re: [Dovecot] [OT] preferred clients
On Fri, 20 Nov 2009, Jonathan wrote: So what IMAP clients do people prefer these days? Preferably windows or cross platform and it needs to have decent key bindings because (probably like many of you) I get 100s of emails a day via lists and anything that speeds my way through them is good. I would recommend mutt and alpine. They both works well with dovecot. Mutt is more powerfull and configurable (after learning how to set it up); alpine is more straightforward at first. -- Nicolas
Re: [Dovecot] [OT] preferred clients
Jonathan wrote: So what IMAP clients do people prefer these days? Preferably windows or cross platform and it needs to have decent key bindings... Have you tried the new Thunderbird 3 beta? There was a thread on this list recently about it. It has a lot of IMAP improvements. Sylpheed has a new beta out as well with improved IMAP support. (Sylpheed runs on Windows and Linux, I wish it ran on Macs). j
Re: [Dovecot] [OT] preferred clients
Jonathan jonat...@kc8onw.net writes: Hi Jonathan! So what IMAP clients do people prefer these days? I use Gnus [1], the version that is included in Emacs 23. Preferably windows or cross platform and it needs to have decent key bindings because (probably like many of you) I get 100s of emails a day via lists and anything that speeds my way through them is good. Gnus has those, but far more important to good key bindings is good scoring mechanisms. I also get more than 200 messages from several lists, but three quarters of them are not interesting to me and already scored down by Gnus. Because I sort threads by score and use different fonts for different scores, the important ones are easily visible. Bye, Tassilo __ [1] http://www.gnus.org
Re: [Dovecot] [OT] preferred clients
On 11/20/2009 1:27 PM, John Gateley wrote: Jonathan wrote: So what IMAP clients do people prefer these days? Preferably windows or cross platform and it needs to have decent key bindings... Have you tried the new Thunderbird 3 beta? There was a thread on this list recently about it. It has a lot of IMAP improvements. I'm running Beta 4 now. I could try dropping back to Thunderbird 2.x but I don't want to have to choose between features and stability like that. I'm greedy and want both. Sylpheed has a new beta out as well with improved IMAP support. (Sylpheed runs on Windows and Linux, I wish it ran on Macs). I'm giving Claws Mail, a fork of Sylpheed apparently, a try. Haven't found a way to change key bindings yet and SHIFT-! is really awkward for marking a message unread. Jonathan
Re: [Dovecot] [OT] preferred clients
On 11/20/2009 12:59 PM, Jonathan wrote: I'm getting tired of Thunderbird telling me I have unread messages in folders that haven't gotten new messages for months so I'm looking for a new mail client. I know the problem lies with Thunderbird because everything is fine via RoundCube and if it tell Thunderbird to rebuild it's index it shows the folder correctly again. Except of course for a subset of the messages in my inbox that it insists where delivered at the exact time I re-indexed it, every time. What IMAP server? We have been using Thunderbird for about 8 years on 60+ computers since about version 0.8, and have *never* had a *recurring* problem like that. Of course there have been the occasional time I had to delete the folders and let TBird redownload everything and rebuild the indexes, but never, ever has there been a recurring problem... Methinks there is something else going on, it is not thunderbird per se (yes, I understand you are only seeing this when using TBird). I can't wait for TBird 3 for all of the IMAP improvements...
Re: [Dovecot] [OT] preferred clients
Personally, I am using Horde (http://www.horde.org/) at work (this address) and Outlook 2007 at home (largely due to getting freaky attachments I need to open on a regular basis that only Microsoft mail clients seem to be able to open properly). Horde is a webmail client, and works well in Firefox (where you can open the left hand menu in a sidebar separate from your tabs). I install it with the calendar, notes, tasks, etc included and we tell our users to log into it in order to change their passwords. Thomas Berezansky Merrimack Valley Library Consortium Quoting Jonathan jonat...@kc8onw.net: I'm getting tired of Thunderbird telling me I have unread messages in folders that haven't gotten new messages for months so I'm looking for a new mail client. I know the problem lies with Thunderbird because everything is fine via RoundCube and if it tell Thunderbird to rebuild it's index it shows the folder correctly again. Except of course for a subset of the messages in my inbox that it insists where delivered at the exact time I re-indexed it, every time. So what IMAP clients do people prefer these days? Preferably windows or cross platform and it needs to have decent key bindings because (probably like many of you) I get 100s of emails a day via lists and anything that speeds my way through them is good. I run my own server (probably obvious being on this list) and can install webmail clients as well. I ran squirrelmail for a while but although functional it's quite dated. I'm using RoundCube for access away from my systems now but it lacks keyboard shortcut support and trying to click one email after another with a laptop touchpad gets painful fast. Thanks, Jonathan
Re: [Dovecot] mailbox count folders issues
On Fri, 2009-11-20 at 10:23 +0200, Nikita Koshikov wrote: Nov 20 10:16:00 IMAP(al...@domain.com): Panic: file mail-transaction-log-append.c: line 31 (log_append_buffer): assertion failed: ((type MAIL_TRANSACTION_) Oh, missed that one: http://hg.dovecot.org/dovecot-1.2/rev/fa8a438c64ce signature.asc Description: This is a digitally signed message part
Re: [Dovecot] [OT] preferred clients
On Fri, 20 Nov 2009, John Gateley wrote: Jonathan wrote: So what IMAP clients do people prefer these days? Preferably windows or cross platform and it needs to have decent key bindings... Have you tried the new Thunderbird 3 beta? There was a thread on this list recently about it. It has a lot of IMAP improvements. It is very good compared to TB2. However, the exact problem the OP described still exists in 3.0b4. I've had the folks I setup with TB3 bugging the hell out of me about the all of a sudden a bunch of messages are marked new issue. Charles Sylpheed has a new beta out as well with improved IMAP support. (Sylpheed runs on Windows and Linux, I wish it ran on Macs). j
Re: [Dovecot] [OT] preferred clients
On 11/20/2009, Thomas Berezansky (tsb...@mvlc.org) wrote: and Outlook 2007 at home (largely due to getting freaky attachments I need to open on a regular basis that only Microsoft mail clients seem to be able to open properly). If you're talking about winmail.dat files, I found a very simple/elegant solution for TBird for our office that totally eliminated this problem - happy to share if anyone wants...
Re: [Dovecot] [OT] preferred clients
On 11/20/2009, Charles Sprickman (sp...@bway.net) wrote: It is very good compared to TB2. However, the exact problem the OP described still exists in 3.0b4. I've had the folks I setup with TB3 bugging the hell out of me about the all of a sudden a bunch of messages are marked new issue. This has to be some weird dovecot config problem... we just haven't ever seen anything even close to that here. Do you use mbox or maildir (we've always used maildir)?
Re: [Dovecot] [OT] preferred clients
On 11/20/2009, Charles Marcus (cmar...@media-brokers.com) wrote: What IMAP server? heh... dumb question, huh... dovecot -n output?
Re: [Dovecot] [OT] preferred clients
On Fri, 20 Nov 2009, Charles Marcus wrote: On 11/20/2009, Charles Sprickman (sp...@bway.net) wrote: It is very good compared to TB2. However, the exact problem the OP described still exists in 3.0b4. I've had the folks I setup with TB3 bugging the hell out of me about the all of a sudden a bunch of messages are marked new issue. This has to be some weird dovecot config problem... we just haven't ever seen anything even close to that here. I doubt it... As the OP said, this seems unique to TB. Webmail (roundcube) does not have any issues. Do you use mbox or maildir (we've always used maildir)? Maildir. We're talking about a mailbox with two or more users always in it and around 40K messages across a few hundred folders. The scale of it all seems to be part of the issue I think. C
Re: [Dovecot] [OT] preferred clients
On 11/20/2009, Charles Sprickman (sp...@bway.net) wrote: We're talking about a mailbox with two or more users always in it and around 40K messages across a few hundred folders. The scale of it all seems to be part of the issue I think. Ok, last question then I'll shut up... ;) Have you tried debugging using rawlog and/or the TBird debugging techniques described on the wiki? http://wiki.dovecot.org/Debugging/Thunderbird
[Dovecot] Plugin Compatibility
We are looking to develop a plugin against the 1.2.X line (8 as of right now). Seeing that v2.0 is not too far off, is there any reason to think that a plugin developed for 1.2.X would NOT be compatible with the 2.0 line?Thanks,Tony This message is intended solely for the individual(s) to whom it is addressed. If you are not the intended recipient, any dissemination or copying is strictly prohibited. If you believe you received this message in error, please notify the sender and delete from your system. Thank you.
[Dovecot] Problem compiling dovecot 1.2.8 on Solaris 10?
I've got an issue using Sun's compilers on Solaris 10 - it appears that dovecot is trying to use the getopt function, that's part of GNU's glibc, and, therefore, not present when using Sun's compilers. Any ideas on how to resolve? cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-auth -I../../src/lib-mail -I../../src/lib-imap -I../../src/lib-index -I../../src/lib-storage/index/maildir -I../../src/auth -DPKG_RUNDIR=\/usr/local/var/run/dovecot\ -I/usr/local/include -I/usr/local/ssl/include -D_XPG6 -L/usr/local/lib -L/usr/local/ssl/lib -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc99 -I/usr/local/include -I/usr/local/ssl/include -L/usr/local/lib -L/usr/local/ssl/lib -D_XPG6 -xstrconst -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c authtest.c authtest.c, line 164: warning: implicit function declaration: getopt authtest.c, line 167: undefined symbol: optarg authtest.c, line 167: warning: improper pointer/integer combination: op = authtest.c, line 170: warning: improper pointer/integer combination: op = authtest.c, line 176: undefined symbol: optind authtest.c, line 178: undefined symbol: optind cc: acomp failed for authtest.c -Drew Schatt
Re: [Dovecot] Problem compiling dovecot 1.2.8 on Solaris 10?
On Nov 20, 2009, at 2:40 PM, Drew Schatt wrote: I've got an issue using Sun's compilers on Solaris 10 - it appears that dovecot is trying to use the getopt function, that's part of GNU's glibc, and, therefore, not present when using Sun's compilers. Any ideas on how to resolve? cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib- auth -I../../src/lib-mail -I../../src/lib-imap -I../../src/lib- index -I../../src/lib-storage/index/maildir -I../../src/auth - DPKG_RUNDIR=\/usr/local/var/run/dovecot\ -I/usr/local/include - I/usr/local/ssl/include -D_XPG6 -L/usr/local/lib -L/usr/local/ssl/ lib -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc99 -I/ usr/local/include -I/usr/local/ssl/include -L/usr/local/lib -L/usr/ local/ssl/lib -D_XPG6 -xstrconst -KPIC -lm -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -c authtest.c authtest.c, line 164: warning: implicit function declaration: getopt authtest.c, line 167: undefined symbol: optarg authtest.c, line 167: warning: improper pointer/integer combination: op = authtest.c, line 170: warning: improper pointer/integer combination: op = authtest.c, line 176: undefined symbol: optind authtest.c, line 178: undefined symbol: optind cc: acomp failed for authtest.c Hey Drew, fancy meeting you here. ;) Building 1.2.x under Solaris is on my to-do list for this weekend, so if nobody has any suggestions today, I'll figure it out. -Dave -- Dave McGuire Port Charlotte, FL
Re: [Dovecot] Plugin Compatibility
On Nov 20, 2009, at 2:28 PM, Tony Rutherford wrote: We are looking to develop a plugin against the 1.2.X line (8 as of right now). Seeing that v2.0 is not too far off, is there any reason to think that a plugin developed for 1.2.X would NOT be compatible with the 2.0 line? There are some differences (and some I haven't yet done), but I porting should be pretty easy. In general all the changes just make it easier to write plugins.
Re: [Dovecot] [OT] preferred clients
On Fri, 20 Nov 2009 13:38:43 -0500 Jonathan Jonathan jonat...@kc8onw.net replied: [snip] I'm giving Claws Mail, a fork of Sylpheed apparently, a try. Haven't found a way to change key bindings yet and SHIFT-! is really awkward for marking a message unread. MESSAGE MARK Place cursor over 'Mark as Read Press the key combination you want to use. Warning, you will not receive a warning if over writing an existing binding. As always, RTFM is a worth while exercise. CM has a forum that can answer any questions that you might have as well. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | I always say beauty is only sin deep. Saki, Reginald's Choir Treat
Re: [Dovecot] Problem compiling dovecot 1.2.8 on Solaris 10?
On Nov 20, 2009, at 2:40 PM, Drew Schatt wrote: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-auth -I../../src/lib-mail -I../../src/lib-imap -I../../src/lib-index -I../../src/lib-storage/index/maildir -I../../src/auth -DPKG_RUNDIR=\/usr/local/var/run/dovecot\ -I/usr/local/include -I/usr/local/ssl/include -D_XPG6 -L/usr/local/lib -L/usr/local/ssl/lib -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc99 -I/usr/local/include -I/usr/local/ssl/include -L/usr/local/lib -L/usr/local/ssl/lib -D_XPG6 -xstrconst -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c authtest.c authtest.c, line 164: warning: implicit function declaration: getopt This breaks because you're defining _XPG6. Why are you doing it?
Re: [Dovecot] [OT] preferred clients
On 11/20/09 , Nov 20, 11:13 AM, Charles Marcus wrote: On 11/20/2009, Charles Sprickman (sp...@bway.net) wrote: It is very good compared to TB2. However, the exact problem the OP described still exists in 3.0b4. I've had the folks I setup with TB3 bugging the hell out of me about the all of a sudden a bunch of messages are marked new issue. This has to be some weird dovecot config problem... we just haven't ever seen anything even close to that here. Do you use mbox or maildir (we've always used maildir)? I have this problem quite frequently. Only seems to happen on folders that have a ton of messages (i.e. dovecot mailing list). I've checked in a webmail IMAP client and they don't appear as unseen, so I'm guessing it is a TB problem. Not very thorough I know, but it certainly points to TB. Using maildir DAS, dovecot 1.2.5, TB 3b4 And I thought it was just me :)
[Dovecot] quota in SQL and static userdb
Hello, which solution will be working or will be working better (performance). Using dovecot 1.2.6 (plugin section contains quota_rule = *:storage=500M:messages=1 and i need override this default quota for some users) A) passdb sql(SELECT userid AS user, pw AS password, quota AS userdb_quota_rule FROM users WHERE userid = '%u') + userdb static (uid=500 gid=500 home=/home/mail/%d/%n allow_all_users=yes) - using extra fields quota with no prefetch userdb or B) passdb sql(SELECT userid AS user, pw AS password, quota AS userdb_quota_rule, CONCAT('/home/mail/', domain, '/', user) AS userdb_home, 500 AS userdb_uid, 500 AS userdb_gid FROM users WHERE userid = '%u') + prefetch (eg same sql file) Solution for LDA only(postfix local delivery) and for another IMAP/POP3 dovecot instance? And how to implement domain quotas (something like user quotas using dict) ? Thank you. -- Lampa
[Dovecot] NONEXISTENT status code
I'm going to take exception to the way dovecot (1.2.8) is returning the NONEXISTENT response code in certain cases. For example, these transactions: c: 1 EXAMINE foo S: 1 NO [NONEXISTENT] Mailbox doesn't exist: foo C: 2 STATUS foo (MESSAGES) S: 2 NO [NONEXISTENT] Mailbox doesn't exist: foo ...don't appear to be the proper usage of NONEXISTENT. From RFC 5530[3]: NONEXISTENT The operation attempts to delete something that does not exist. NONEXISTENT should be used for RENAME or DELETE (also the UID EXPUNGE) commands. Although the textual description is appropriate in the above situations - the mailbox truly doesn't exist - this is not what the response code indicates. Under the RFCs, it seems that failure of a STATUS or EXAMINE command with a NO response *could* mean the mailbox doesn't exist, but there is no method of reporting this via a response code. michael
Re: [Dovecot] NONEXISTENT status code
On Fri, 2009-11-20 at 15:43 -0700, Michael M. Slusarz wrote: From RFC 5530[3]: NONEXISTENT The operation attempts to delete something that does not exist. NONEXISTENT should be used for RENAME or DELETE (also the UID EXPUNGE) commands. Well, that sucks.. I'll ask Arnt if he had an actual reason for the above text, but I suppose I'll anyway have to modify Dovecot to internally separate between NONEXISTENT and NONEXISTENT_DELETE or something. signature.asc Description: This is a digitally signed message part
[Dovecot] mbox sync: UID inserted in the middle of mailbox
Hi All, Our webmail having an issue with the harddrive so I build new webmail on other machine (using Squirrelmail+dovecot+postfix). After copy all data/home folder from the backup, when this user want to access his Sent item, nothing's in it. I've checked the log and found the message as below. mailserver dovecot: IMAP(x): mbox sync: UID inserted in the middle of mailbox /home//mail/Sent (691 657, seq=473, idx_msgs=10950) mailserver dovecot: IMAP(x): mbox sync: UID inserted in the middle of mailbox /home//mail/Sent (691 657, seq=473, idx_msgs=10950) This is only happen with the Sent items, since I also found other similar log and this user advised that everything is fine with that folder mailserver dovecot: IMAP(x): mbox sync: UID inserted in the middle of mailbox /home/x/mail/Accountant Info (327 326, seq=306, idx_msgs=353) mailserver dovecot: IMAP(x): mbox sync: UID inserted in the middle of mailbox /home/x/mail/Accountant Info (327 326, seq=306, idx_msgs=353) I've rebuild the index file by delete the Sent item folder in .imap directory, no such luck. Any help would be really appreciated Thank you
Re: [Dovecot] Problem compiling dovecot 1.2.8 on Solaris 10?
On Nov 20, 2009, at 12:17 PM, Timo Sirainen wrote: On Nov 20, 2009, at 2:40 PM, Drew Schatt wrote: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-auth -I../../src/lib-mail -I../../src/lib-imap -I../../src/lib-index -I../../src/lib-storage/index/maildir -I../../src/auth -DPKG_RUNDIR=\/usr/local/var/run/dovecot\ -I/usr/local/include -I/usr/local/ssl/include -D_XPG6 -L/usr/local/lib -L/usr/local/ssl/lib -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc99 -I/usr/local/include -I/usr/local/ssl/include -L/usr/local/lib -L/usr/local/ssl/lib -D_XPG6 -xstrconst -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c authtest.c authtest.c, line 164: warning: implicit function declaration: getopt This breaks because you're defining _XPG6. Why are you doing it? I was defining _XPG6 because a lot of the code I was compiling is c99 code, and requires it to be set to be totally happy. Removing the -xc99 and the -D_XPG6 from my compiler options seems to have fixed the problem completely. Thanks Timo. -Drew