Re: [Dovecot] v2.1.12 released
From: Timo Sirainen t...@iki.fi To: dovecot-n...@dovecot.org; dovecot@dovecot.org Sent: Friday, 30 November 2012, 9:01 Subject: [Dovecot] v2.1.12 released http://dovecot.org/releases/2.1/dovecot-2.1.12.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.12.tar.gz.sig The dovecot-config file installed by v2.1.11 was missing quotes, which broke building Pigeonhole. This release fixes that. Wow ! Boy you're fast ! s. I merely function as a channel that filters music through the chaos of noise - Vangelis
[Dovecot] 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto
Hello list, Although timos bugfix release this morning I can't build pigeonhole 0.3.3 for dovecot 2.1.12 successfully. I don't know if it is a new bug or if I do something wrong but with dovecot 2.1.10 all worked fine, with the same configure options. configure options (out of debian/rules for building debian package): ./configure --with-dovecot=/usr/lib/dovecot \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=\$${prefix}/lib \ --localstatedir=/var \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --with-moduledir=\$${prefix}/lib/dovecot/modules buildlogextraction with error, the full log is available here: https://launchpadlibrarian.net/124478979/buildlog_ubuntu-precise- amd64.dovecot-2.1-pigeonhole_0.3.3-7~kokelnet~precise_FAILEDTOBUILD.txt.gz Thanks in advance for any help, Tobias Hachmer Making all in lib-sieve-tool make[4]: Entering directory `/build/buildd/dovecot-2.1- pigeonhole-0.3.3/src/lib-sieve-tool' /bin/bash ../../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc - DHAVE_CONFIG_H -I. -I../.. -I../../src/lib-sieve -I/usr/include/dovecot - D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer- size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -Wmissing- declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT sieve-tool.lo -MD -MP -MF .deps/sieve-tool.Tpo -c -o sieve-tool.lo sieve-tool.c libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. - I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security - Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict- aliasing=2 -MT sieve-tool.lo -MD -MP -MF .deps/sieve-tool.Tpo -c sieve-tool.c -fPIC -DPIC -o .libs/sieve-tool.o libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. - I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security - Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict- aliasing=2 -MT sieve-tool.lo -MD -MP -MF .deps/sieve-tool.Tpo -c sieve-tool.c -o sieve-tool.o /dev/null 21 mv -f .deps/sieve-tool.Tpo .deps/sieve-tool.Plo /bin/bash ../../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc - DHAVE_CONFIG_H -I. -I../.. -I../../src/lib-sieve -I/usr/include/dovecot - D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer- size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -Wmissing- declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT mail-raw.lo -MD -MP -MF .deps/mail-raw.Tpo -c -o mail-raw.lo mail-raw.c libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. - I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security - Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict- aliasing=2 -MT mail-raw.lo -MD -MP -MF .deps/mail-raw.Tpo -c mail-raw.c -fPIC -DPIC -o .libs/mail-raw.o libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. - I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security - Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict- aliasing=2 -MT mail-raw.lo -MD -MP -MF .deps/mail-raw.Tpo -c mail-raw.c -o mail-raw.o /dev/null 21 mv -f .deps/mail-raw.Tpo .deps/mail-raw.Plo /bin/bash ../../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc - std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat- security -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime - Wstrict-aliasing=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o libsieve-tool.la sieve-tool.lo mail-raw.lo -lrt libtool: link: ar cru .libs/libsieve-tool.a .libs/sieve-tool.o .libs/mail- raw.o libtool: link: ranlib .libs/libsieve-tool.a libtool: link: ( cd .libs rm -f libsieve-tool.la ln -s ../libsieve- tool.la libsieve-tool.la ) make[4]: Leaving directory `/build/buildd/dovecot-2.1- pigeonhole-0.3.3/src/lib-sieve-tool' Making all in sieve-tools make[4]:
Re: [Dovecot] 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto
On 30.11.2012, at 10.30, Tobias Hachmer wrote: Although timos bugfix release this morning I can't build pigeonhole 0.3.3 for dovecot 2.1.12 successfully. I don't know if it is a new bug or if I do something wrong but with dovecot 2.1.10 all worked fine, with the same configure options. Yes, the build was changed since v2.1.10 because the old way didn't work with some systems. configure options (out of debian/rules for building debian package): .. /usr/bin/ld: cannot find -lssl /usr/bin/ld: cannot find -lcrypto You built Dovecot from a Debian package too, but don't have OpenSSL installed?..
Re: [Dovecot] 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto
On Friday 30 November 2012 10:44:48 Timo Sirainen wrote: You built Dovecot from a Debian package too, but don't have OpenSSL installed?.. Thanks Timo for hte hint. openssl was installed, but the openssl development files (libssl-dev) dependency for my dovecot-dev package was missing. Regards, Tobias Hachmer
Re: [Dovecot] Dovecot director doveadm with switch -A error
Hi, Thanks Timo for your help! I have installed dovecot version 2.1.12 changing format has solved doveadm -o auth_socket_path=director-userdb quota get -A Now, doveadm -o auth_socket_path=director-userdb search -u user mailbox Trash savedbefore 1d works fine Best regards! -- -- Ramon Frontera Gallardo Universitat de les Illes Balears El 30/11/2012, a las 02:17, Timo Sirainen escribió: On 29.11.2012, at 16.22, Ramon Frontera wrote: Now we have found 3 problems with doveadm on proxy server: 1 problem: In our configuration we have: protocol doveadm { auth_socket_path = director-userdb } I have executed this: # doveconf -m doveadm -f service=doveadm auth_socket_path auth_socket_path = director-userdb Now when We execute doveadm quota get -A we have this error: doveadm(user1): Error: /var/run/dovecot//auth-userdb: Proxy is missing destination host (maybe set auth_socket_path=director-userdb) doveadm: Error: Failed to iterate through some users with -o auth_socket_path=director-userdb it works for the early users. That's strange. I don't really have any ideas left how to debug it easily. 2 problem when we execute doveadm -o auth_socket_path=director-userdb quota get -A it works for the early users and then return this error on proxy: doveadm(userabc): Fatal: table formatter doesn't support multi-line values Oh. Hmm. I see the problem.. I'll fix it later. For now you could change the formatter with doveadm -f tab or -f flow 3 problem I have tested other doveadm command on proxy wich also fails: # doveadm -o auth_socket_path=director-userdb search -u user mailbox Trash savedbefore 1d on proxy we have this error: doveadm(user): Error: xx.xx.xx.xx:24245: Internal failure for user on mailserver we have this error: doveadm: Fatal: master: service(doveadm): child 22171 killed with signal 11 (core dumps disabled) I put the gdm bt output hope it help you. (mailserver) #0 auth_master_user_list_next (ctx=0x0) at auth-master.c:680 No locals. #1 0x7f2dfe414f23 in mail_storage_service_all_next (ctx=0xf92900, username_r=0x7fff4306cab8) at mail-storage-service.c:1215 __FUNCTION__ = mail_storage_service_all_next #2 0x7f2dfd0b0ed2 in doveadm_expire_mail_init (ctx=0xf89020) at doveadm-expire.c:420 This should fix it: http://hg.dovecot.org/dovecot-2.1/rev/75dc4cb4bfe0
[Dovecot] Maildir conversion
Hi all, I am using Dovecot 1.2.7, and trying to do my first Mbox to Maildir conversion. So I created a small script: #!/bin/bash ls userlist.txt for i in `cat userlist.txt`; do echo -; echo Converting user $i...; echo -; su - $i -s /bin/bash -c /opt/scripts/mb2md.pl -s mail -R; su - $i -s /bin/bash -c /opt/scripts/mb2md.pl -m -s /var/mail/$i; su - $i -s /bin/bash -c cp ~$i/mail/.subscriptions ~$i/Maildir/subscriptions; done rm -f userlist.txt I would like some help with the following: 1. Trying it, I get multiple warnings for some mailboxes like this: WARNING: UID from X-UID: header too low. Ignoring it Is this a problem? Or I can ignore it? 2. I understand that I also have to instruct my MDA (procmail) to deliver mail to the new location. I found that I have to create an /etc/procmailrc with the following line: DEFAULT=$HOME/Maildir/ My question is: Some users have their own .procmailrc file inside their home directory, to filter mail etc. Their file does not contain the above statement. Would the default procmailrc file be processed for them as well? Or their file takes precedence, causing the default file not to be processed at all? Thank you
[Dovecot] Newbie Basic ACL issue
i can not impliment a basic acl to a /public/.News folder. however with out ACL it works great but after implementing acl Public folder can be seen while subscribing but i can not create folder inside it nor i can view already created .News folder. when i restart dovecot it shows me some thing like this root@mailsrv:/public/.News# /etc/init.d/dovecot restart Restarting IMAP/POP3 mail server: dovecotILoading modules from directory: /usr/lib/dovecot/modules/imap IModule loaded: /usr/lib/dovecot/modules/imap/lib01_acl_plugin.so IModule loaded: /usr/lib/dovecot/modules/imap/lib02_imap_acl_plugin.so IEffective uid=65534, gid=65534, home=/tmp Iacl: No acl_shared_dict setting - shared mailbox listing is disabled root@mailsrv:/public/.News# dovecot -n # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.6 log_timestamp: %Y-%m-%d %H:%M:%S ssl_cert_file: /etc/ssl/certs/postfix.pem ssl_key_file: /etc/ssl/private/postfix.key login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_privileged_group: mail mail_location: maildir:~/Maildir:INBOX=~/Maildir/:INDEX=~/Maildir/index mail_debug: yes mbox_write_locks: fcntl dotlock mail_plugins: acl imap_acl namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: public separator: / prefix: Public/ location: maildir:/public:INDEX=/public/index list: yes subscriptions: yes lda: mail_plugins: acl auth default: mechanisms: plain login passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix plugin: acl: vfile as i read in few howto's that dovecot-acl file should be placed in the mail publish folder like in my case /public/.News/dovecot-acl here is the output of my file root@mailsrv:/public/.News# cat dovecot-acl owner lrwstipekxa anyone= lr now after this implimentation i can see the folder Public in subscription now when i try to create a new folder inside .News folder via outlook 2007 it says cannot move the item. the server responded: 'NOPERM] Permission denied i think i am messed up permission actually i have 2 users tom and fmaster both doing the same thing. weather i write this anyone lrwstpekxa or user=tom lrwstpekxa it does the same for both user what i want is just a simple thing. i want tom to be the owner of .News and fmaster has read only. so he can only read the news but can not delete even can not change the flag to read or unread. Note: both are system users (not virtual users) Nov 30 20:50:42 mailsrv dovecot: IMAP(fmaster): open(/public/.News/dovecot-uidlist) failed: Permission denied Nov 30 20:50:42 mailsrv dovecot: IMAP(fmaster): open(/public/.News/dovecot-uidlist) failed: Permission denied Nov 30 20:54:45 mailsrv dovecot: IMAP(fmaster): open(/public/index/.News/dovecot.index.log) failed: Permission denied (euid=1001(fmaster) egid=1001(fmaster) missing +w perm: /public/index/.News/dovecot.index.log) Nov 30 20:54:50 mailsrv dovecot: IMAP(fmaster): open(/public/index/.News/dovecot.index.log) failed: Permission denied (euid=1001(fmaster) egid=1001(fmaster) missing +w perm: /public/index/.News/dovecot.index.log) i thought its a system level permission issue so i pass this command chmod 777 /public -R but still i receive the same outlook error but no errors in /var/log/mail.err. please hell me what kind of user right should be on the .News folder. for example, tom or root which one should have the rwx rights on the folder. and what kind of changes should i made in deovecot-acl any help, tip would be highly appreciated. Thanks,
Re: [Dovecot] Maildir conversion
snip 2. I understand that I also have to instruct my MDA (procmail) to deliver mail to the new location. I found that I have to create an /etc/procmailrc with the following line: DEFAULT=$HOME/Maildir/ My question is: Some users have their own .procmailrc file inside their home directory, to filter mail etc. Their file does not contain the above statement. Would the default procmailrc file be processed for them as well? Or their file takes precedence, causing the default file not to be processed at all? Thank you On my systems it works that way. Only the /etc/procmailrc file has that statement.
[Dovecot] Redelivery of mdbox messages to pass through sieve
Hey, I've been slack and haven't updated my sieve script for yonks, and finally got round to it. What I was wondering is whether there was a way to basically take all the messages from a folder and pass it through sieve again. I've found earlier messages in this list, but they were for Maildir format, not mdbox which I use now. Does anyone know of a way to do this? Cheers, Hugh
Re: [Dovecot] Redelivery of mdbox messages to pass through sieve
On 11/30/2012 11:34 PM Hugh Davenport wrote: Hey, I've been slack and haven't updated my sieve script for yonks, and finally got round to it. What I was wondering is whether there was a way to basically take all the messages from a folder and pass it through sieve again. I've found earlier messages in this list, but they were for Maildir format, not mdbox which I use now. Does anyone know of a way to do this? See sieve-filter(1) || http://pigeonhole.dovecot.org/doc/man1/sieve-filter.1.html Regards, Pascal -- The trapper recommends today: cafefeed.1233...@localdomain.org
Re: [Dovecot] Redelivery of mdbox messages to pass through sieve
On 2012-12-01 12:30, Pascal Volk wrote: See sieve-filter(1) || http://pigeonhole.dovecot.org/doc/man1/sieve-filter.1.html Thanks muchly, I will look into this. Cheers, Hugh
[Dovecot] 回复: 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto
Did you installed openssh? Tobias Hachmer li...@kokelnet.de编写: Hello list, Although timos bugfix release this morning I can't build pigeonhole 0.3.3 for dovecot 2.1.12 successfully. I don't know if it is a new bug or if I do something wrong but with dovecot 2.1.10 all worked fine, with the same configure options. configure options (out of debian/rules for building debian package): ./configure --with-dovecot=/usr/lib/dovecot \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=\$${prefix}/lib \ --localstatedir=/var \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --with-moduledir=\$${prefix}/lib/dovecot/modules buildlogextraction with error, the full log is available here: https://launchpadlibrarian.net/124478979/buildlog_ubuntu-precise- amd64.dovecot-2.1-pigeonhole_0.3.3-7~kokelnet~precise_FAILEDTOBUILD.txt.gz Thanks in advance for any help, Tobias Hachmer Making all in lib-sieve-tool make[4]: Entering directory `/build/buildd/dovecot-2.1- pigeonhole-0.3.3/src/lib-sieve-tool' /bin/bash ../../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc - DHAVE_CONFIG_H -I. -I../.. -I../../src/lib-sieve -I/usr/include/dovecot - D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer- size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -Wmissing- declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT sieve-tool.lo -MD -MP -MF .deps/sieve-tool.Tpo -c -o sieve-tool.lo sieve-tool.c libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. - I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security - Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict- aliasing=2 -MT sieve-tool.lo -MD -MP -MF .deps/sieve-tool.Tpo -c sieve-tool.c -fPIC -DPIC -o .libs/sieve-tool.o libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. - I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security - Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict- aliasing=2 -MT sieve-tool.lo -MD -MP -MF .deps/sieve-tool.Tpo -c sieve-tool.c -o sieve-tool.o /dev/null 21 mv -f .deps/sieve-tool.Tpo .deps/sieve-tool.Plo /bin/bash ../../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc - DHAVE_CONFIG_H -I. -I../.. -I../../src/lib-sieve -I/usr/include/dovecot - D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer- size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -Wmissing- declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT mail-raw.lo -MD -MP -MF .deps/mail-raw.Tpo -c -o mail-raw.lo mail-raw.c libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. - I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security - Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict- aliasing=2 -MT mail-raw.lo -MD -MP -MF .deps/mail-raw.Tpo -c mail-raw.c -fPIC -DPIC -o .libs/mail-raw.o libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. - I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security - Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar- subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict- aliasing=2 -MT mail-raw.lo -MD -MP -MF .deps/mail-raw.Tpo -c mail-raw.c -o mail-raw.o /dev/null 21 mv -f .deps/mail-raw.Tpo .deps/mail-raw.Plo /bin/bash ../../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc - std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat- security -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime - Wstrict-aliasing=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o libsieve-tool.la sieve-tool.lo mail-raw.lo -lrt libtool: link: ar cru .libs/libsieve-tool.a .libs/sieve-tool.o .libs/mail- raw.o libtool: link: ranlib .libs/libsieve-tool.a libtool: link: ( cd .libs rm -f libsieve-tool.la ln -s ../libsieve- tool.la libsieve-tool.la ) make[4]: Leaving directory `/build/buildd/dovecot-2.1-