Re: [Dovecot] Don't Understand Error Entry
On Fri, 2008-05-23 at 15:36 -0400, Carlos Williams wrote: imap(rangry): May 22 13:33:31 Error: Error parsing IMAP envelope: Thu, 20 Apr 2006 10:10:01 -0400 Re: Hi there I have a question ((Rodney Angry NIL rodney.s.angry example.com)) ((Rodney Angry NIL rodney.s.angry example.com)) ((NIL NIL rodney.s.angry example.com)) ((Gryder, Connie NIL CONSTANCE.L.GRYDER example.com)) NIL NIL [EMAIL PROTECTED] NIL I don't understand what this error message means and why its flooding my logs. I do know the that the name in parenthesis on line one is a user on my email server. rangry is a user on my domain with a valid email account but I can't tell if the problem is coming from example.com or originating from rangry. You could delete .imap.index.cache (or whatever the .cache file was called in 0.99, i can't remember) to get it rebuilt. That probably fixes this. But as others said, upgrading would be a good idea. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Disallow folder delete
On Tue, 2008-05-20 at 18:53 -0700, Kenneth Porter wrote: It might be nice to have a mode that disallows deletion of *non-empty* folders. In order for a user to delete the folder, the folder must first be emptied and purged. Yes, this sounds like a possibly good idea. Only problem is that it should probably be per-user configurable but there's really no per-user configuration currently.. METADATA extension will probably help there in future. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] I've moved
On Sat, 2008-05-24 at 12:55 +0200, Robert Schetterer wrote: Timo Sirainen schrieb: I've moved again. If you need to know my new address, whois imapwiki.org (dovecot.org address is still lagging behind). My living costs also increased some because of this, but hopefully I'll get enough money from Dovecot coding to pay for it. :) I'll try to get back to replying mails within the next few days. Hi Timo, what is the best way to donate to dovecot ? http://dovecot.org/donate.html lists pretty much everything: Paypal at least works, and for larger sums direct money transfers using IBAN number also work (bank takes something like 10 euros). There are also things still in my Amazon wishlist, but they don't really help paying the bills. :) signature.asc Description: This is a digitally signed message part
[Dovecot] Problem compiling antispam plugin with Dovecot 1.1
Hi I am trying to compile antispam plugin with Dovecot 1.1, but i get an error when running make install: pdc-server:~/tmp/dovecot-antispam# make cc -c -DHAVE_CONFIG_H -Wall -I/root/tmp/dovecot-1.1.rc5/ -I/root/tmp/dovecot-1.1.rc5/src/ -I/root/tmp/dovecot-1.1.rc5/src/lib/ -I/root/tmp/dovecot-1.1.rc5/src/lib-storage/ -I/root/tmp/dovecot-1.1.rc5/src/lib-mail/ -I/root/tmp/dovecot-1.1.rc5/src/lib-imap/ -I/root/tmp/dovecot-1.1.rc5/src/lib-dict/ -I/root/tmp/dovecot-1.1.rc5/src/lib-index/ -I/root/tmp/dovecot-1.1.rc5/src/imap/ -DCONFIG_DEBUG -DDEBUG_SYSLOG -DCONFIG_DEBUG_VERBOSE -DCONFIG_DOVECOT_11 -Dmempool_unref(x)=pool_unref(x) -fPIC -shared -Wall -Wextra -DPLUGINNAME=antispam -o debug.o.o debug.c cc -DHAVE_CONFIG_H -Wall -I/root/tmp/dovecot-1.1.rc5/ -I/root/tmp/dovecot-1.1.rc5/src/ -I/root/tmp/dovecot-1.1.rc5/src/lib/ -I/root/tmp/dovecot-1.1.rc5/src/lib-storage/ -I/root/tmp/dovecot-1.1.rc5/src/lib-mail/ -I/root/tmp/dovecot-1.1.rc5/src/lib-imap/ -I/root/tmp/dovecot-1.1.rc5/src/lib-dict/ -I/root/tmp/dovecot-1.1.rc5/src/lib-index/ -I/root/tmp/dovecot-1.1.rc5/src/imap/ -DCONFIG_DEBUG -DDEBUG_SYSLOG -DCONFIG_DEBUG_VERBOSE -DCONFIG_DOVECOT_11 -Dmempool_unref(x)=pool_unref(x) -fPIC -shared -Wall -Wextra -DPLUGINNAME=antispamantispam-storage-1.1.c -o antispam-storage-1.1 cc -o .o cc: no input files make: *** [.o] Error 1 When running make clean to try to compile again, a file called antispam-storage-1.1.c (without any extension) is not deleted, and this file was not before running make install. If I run again make install with that file present (after running make clean), i get this output: cc -c -DHAVE_CONFIG_H -Wall -I/root/tmp/dovecot-1.1.rc5/ -I/root/tmp/dovecot-1.1.rc5/src/ -I/root/tmp/dovecot-1.1.rc5/src/lib/ -I/root/tmp/dovecot-1.1.rc5/src/lib-storage/ -I/root/tmp/dovecot-1.1.rc5/src/lib-mail/ -I/root/tmp/dovecot-1.1.rc5/src/lib-imap/ -I/root/tmp/dovecot-1.1.rc5/src/lib-dict/ -I/root/tmp/dovecot-1.1.rc5/src/lib-index/ -I/root/tmp/dovecot-1.1.rc5/src/imap/ -DCONFIG_DEBUG -DDEBUG_SYSLOG -DCONFIG_DEBUG_VERBOSE -DCONFIG_DOVECOT_11 -Dmempool_unref(x)=pool_unref(x) -fPIC -shared -Wall -Wextra -DPLUGINNAME=antispam -o debug.o debug.c cc -o .o cc: no input files make: *** [.o] Error 1 If I run make clean and manually deleted that file before running make install, i get again the first output. Why am i getting this error? Regards.
Re: [Dovecot] Multiple private namespace question
Timo Sirainen wrote: But I don't think there are any problems if you make INBOX. namespace the hidden one. Most clients don't care about namespaces. Hi Timo, thanks for the reply - I understand what you're saying. Can you theorize what will happen to the already configured/subscribed users (Thunderbird) whose tree looks like: INBOX |_ Sent |_ Drafts ...when I would change the default namespace around and make the empty prefix inbox=yes? Would everything suddenly become flat on them and cause confusion? Ala: INBOX Sent Drafts Most Thunderbird instances already configured say INBOX. under the setting of '(IMAP Account) - Server Settings - Advanced - Personal Namespace'; I think this value is filled in automatically by Thunderbird the first time you configure the account and it queries the server and received the namespace advertisement. Would it be correct to assume that all these existing users would be fine (because of the hidden INBOX prefix namespace, compatibility mode), and only new users would see a flat hierarchy when setting up Thunderbird? Many thanks, -te -- Troy Engel | Systems Engineer Fluid Inc. | http://www.fluid.com
Re: [Dovecot] Error while set mailQuota=0 with mbox and LDAP backend
On Sat, 2008-05-24 at 04:39 +0800, Zhang Huangbin wrote: The problem is if i set 'mailQuota=0' in LDAP, postfix can't send mail to recipient user. But it works fine with 'mailQuota != 0', such as '10240'(10M). 0 means the user has 0 bytes quota, not unlimited. Maybe this should be changed.. You could always work around it by just returning a very large value. homeDirectory=home,mailMessageStore=dirsize:mail,mailQuota=quota=dirsize:storage Also what is mailMessageStore=dirsize:mail? I don't think it does anything. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Sort output of dovecot -n alphabetically?
On Thu, 2008-05-22 at 08:46 -0400, Charles Marcus wrote: Is there a way? Postfix does this by default, and it makes it much less likely to miss/overlook a setting... If there is no way, any chance to modify it so that it does? I'd rather not touch that code until it gets rewritten with v2.0. Also I kind of like it that the current way lists them in the same order as they're in dovecot-example.conf. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Maildir locking by LDA of dovecot
On Thu, 2008-05-22 at 10:14 +0400, Mike Grozak wrote: dovecot.log:deliver([EMAIL PROTECTED]): May 16 04:18:48 Info: msgid=[EMAIL PROTECTED]: save failed to INBOX: Timeout while waiting for lock You can't really do much about these on Dovecot's side, but you could try reducing the max. number of simultaneous deliver processes your MTA launches. Another possibility is to upgrade to Dovecot v1.1. There deliver doesn't wait for dovecot-uidlist lock. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Bug [1.1rc5]: Crash during CPU architecture changed index upgrade
On Tue, 2008-05-06 at 22:01 -0700, Cabel Sasser wrote: file /Users/cabel/mail/.imap/INBOX/dovecot.index: CPU architecture changed May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): fscking index file / Users/cabel/mail/.imap/INBOX/dovecot.index May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): Fixed index file / Users/cabel/mail/.imap/INBOX/dovecot.index: log_file_seq 1 - 637534208 May 6 19:46:48 posh dovecot[1169]: IMAP(cabel): /Users/cabel/ mail/.imap/INBOX/dovecot.index: log_file_head_offset too small May 6 19:46:48 posh dovecot[1169]: Panic: IMAP(cabel): file mail- transaction-log-view.c: line 215 (mail_transaction_log_view_set): assertion failed: (min_file_offset = view-tail-hdr.hdr_size) Fixed in hg now. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Problems with apple'mail client
On Fri, 2008-05-23 at 10:01 +0200, Osvaldo Alvarez Pozo wrote: On Thu, May 22, 2008 at 7:09 PM, Charles Marcus [EMAIL PROTECTED] wrote: On 5/22/2008, Osvaldo Alvarez Pozo ([EMAIL PROTECTED]) wrote: my config is as follow logs? -- Best regards, Charles there is no logs , the macs sends nothing So there are no authentication attempts? Does it even connect to the Postfix (those should get logged as well)? If not, it's clearly an Apple mail configuration problem (or a network/firewall problem). I have it working fine. signature.asc Description: This is a digitally signed message part
[Dovecot] singe system user for all virtual users
hi, i would like to have all the emails stored under one system user and system group. i keep user passwords in LDAP. for userdb i wanted to use static. but i keep getting this error: Error: Error in configuration file /usr/local/etc/dovecot.conf line 909: Unknown setting: userdb Fatal: Invalid configuration in /usr/local/etc/dovecot.conf i am using version 1.0.13 my /usr/local/etc/dovecot.conf without comments is: base_dir = /var/run/dovecot/ protocols = imaps imap listen = * disable_plaintext_auth = no shutdown_clients = yes log_timestamp = %Y-%m-%d %H:%M:%S ssl_disable = no ssl_cert_file = /etc/apache2/ssl/server.pem ssl_key_file = /etc/apache2/ssl/server.key mail_location = maildir:/home/MAIL/%n mail_privileged_group = mail protocol imap { login_greeting_capability = yes imap_client_workarounds = tb-extra-mailbox-sep } protocol lda { postmaster_address = [EMAIL PROTECTED] hostname = base auth_socket_path = /var/run/dovecot/auth-master } auth_verbose = yes auth_debug = yes auth_debug_passwords = yes auth default { mechanisms = plain passdb ldap { args = /etc/dovecot/dovecot-ldap.conf } userdb static { args = uid=mail gid=mail home=/home/MAIL/%n } auth_userdb = user = mail socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = mail # User running Dovecot LDA group = mail # Or alternatively mode 0660 + LDA user in this group } } } dict { } plugin { } what do i do wrong? best regards, Wojtek
Re: [Dovecot] Building 1.1.rc5 fails on Solaris 10
On Fri, 2008-05-23 at 10:46 +0200, Peter Eriksson wrote: Next step would be to modify the code to still check for GSSAPI headers and libraries even though krb5-config exists but doesn't support the gssapi argument... Does this work? http://hg.dovecot.org/dovecot-1.1/rev/e6187b556b65 signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Wrong message information
On Fri, 2008-05-23 at 11:12 +0200, Anders wrote: Timo Sirainen wrote: Right, that helped me to reproduce it. Fixed: http://hg.dovecot.org/dovecot-1.1/rev/cb1c6c942768 Hi again. That fixed my testcase as well, but now I just got another report of a mail with an epoch date. It turns out that I can still get in trouble if running the send_fetch_test script concurrently, with eventual output like this: 2008-05-23 10:54:27.123649 Got valid RFC822.SIZE 1104: 1 (UID 1255 FLAGS () INTERNALDATE 01-Jan-1970 00:00:00 + RFC822.SIZE 1104) Right.. This should help: http://hg.dovecot.org/dovecot-1.1/rev/d920ec986c34 signature.asc Description: This is a digitally signed message part
Re: [Dovecot] singe system user for all virtual users
On Sun, 2008-05-25 at 02:27 +0100, Wojtek Bogusz wrote: Error: Error in configuration file /usr/local/etc/dovecot.conf line 909: Unknown setting: userdb .. auth_userdb = What's this? Remove it. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] imap-login processes
On Mon, 2008-05-19 at 12:06 -0400, Bryan Polk wrote: On Fri, 16 May 2008, Evaggelos Balaskas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hope something like this could help you : # Authentication Cache auth_cache_size = 10240 auth_cache_ttl = 18000 This may have done the trick! The number of imap-login processes has been holding around 60 all morning. So I guess most of the login processes were just waiting for authentication processes to respond? I hadn't thought about that. How many dovecot-auth processes do you have? Increasing auth_worker_max_count might be a good idea. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] imap-login processes
On Sun, 2008-05-25 at 05:08 +0300, Timo Sirainen wrote: On Mon, 2008-05-19 at 12:06 -0400, Bryan Polk wrote: On Fri, 16 May 2008, Evaggelos Balaskas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hope something like this could help you : # Authentication Cache auth_cache_size = 10240 auth_cache_ttl = 18000 This may have done the trick! The number of imap-login processes has been holding around 60 all morning. So I guess most of the login processes were just waiting for authentication processes to respond? I hadn't thought about that. How many dovecot-auth processes do you have? Increasing auth_worker_max_count might be a good idea. Or it should have actually logged an error in that case: Couldn't create new auth worker. Maybe it's the passwd lookups that are slow? What NSS backend are you using? It's probably a good idea to make them use auth workers also: userdb passwd { args = blocking=yes } signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Error while set mailQuota=0 with mbox and LDAP backend
Timo Sirainen wrote: On Sat, 2008-05-24 at 04:39 +0800, Zhang Huangbin wrote: The problem is if i set 'mailQuota=0' in LDAP, postfix can't send mail to recipient user. But it works fine with 'mailQuota != 0', such as '10240'(10M). 0 means the user has 0 bytes quota, not unlimited. Maybe this should be changed.. You could always work around it by just returning a very large value. Hope to see this change. :) homeDirectory=home,mailMessageStore=dirsize:mail,mailQuota=quota=dirsize:storage Also what is mailMessageStore=dirsize:mail? I don't think it does anything. I will delete 'mailMessageStore' for test. Thanks Timo. :) -- Best Regards. Zhang Huangbin - Mail Server Solution for Red Hat(R) Enterprise Linux CentOS 5.x: http://rhms.googlecode.com/
Re: [Dovecot] Error while set mailQuota=0 with mbox and LDAP backend
On May 25, 2008, at 5:40 AM, Zhang Huangbin wrote: Timo Sirainen wrote: On Sat, 2008-05-24 at 04:39 +0800, Zhang Huangbin wrote: The problem is if i set 'mailQuota=0' in LDAP, postfix can't send mail to recipient user. But it works fine with 'mailQuota != 0', such as '10240'(10M). 0 means the user has 0 bytes quota, not unlimited. Maybe this should be changed.. You could always work around it by just returning a very large value. Hope to see this change. :) It actually already works like that in v1.1. I won't change it in v1.0 anymore though. PGP.sig Description: This is a digitally signed message part
Re: [Dovecot] imap-login processes
On Sun, 25 May 2008, Timo Sirainen wrote: On Sun, 2008-05-25 at 05:08 +0300, Timo Sirainen wrote: On Mon, 2008-05-19 at 12:06 -0400, Bryan Polk wrote: On Fri, 16 May 2008, Evaggelos Balaskas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hope something like this could help you : # Authentication Cache auth_cache_size = 10240 auth_cache_ttl = 18000 This may have done the trick! The number of imap-login processes has been holding around 60 all morning. So I guess most of the login processes were just waiting for authentication processes to respond? I hadn't thought about that. How many dovecot-auth processes do you have? Increasing auth_worker_max_count might be a good idea. Or it should have actually logged an error in that case: Couldn't create new auth worker. Maybe it's the passwd lookups that are slow? What NSS backend are you using? It's probably a good idea to make them use auth workers also: userdb passwd { args = blocking=yes } Right now (which is very low usage) there's only one dovecot-auth process and I remember looking at this at the time and not being worried about the number of auth processes, or I probably would have changed the default from 30.. Also, I never saw anything in the logs. I turned on auth_verbose = yes but not auth_debug. We're using a rather old NIS server at the moment, planning to move to LDAP this summer. Dovecot has been running smoothly this week since I turned on the auth_cache stuff, at times going up around 110 imap-login processes but never going higher. It's always responsive which makes the users happy. Thanks again for the great product!
Re: [Dovecot] Multiple files for sieve
On 5/24/2008 Adrián Ribao Martínez wrote: I want this filter for all the users of the system, but I also want to tell dovecot to look in the /home/user/mail/.sieve file for custom per-user filters. Can I do this? 'Include' support is only in v1.1, but I don't use it (yet) so can't vouch for how well it works... http://tinyurl.com/6hcxlw