Re: [Dovecot] POLL: v2.2 to allow one mail over quota?
On Monday 11 February 2013 17:19:06 Michael Grimm wrote: Timo Sirainen t...@iki.fi wrote: I wonder if there's a better name for this than last_extra.. quota_surplus I like this. But my English isn't good enough to know if that word really fits it? It does, but what about: quota_final_add_on What means surplus? Why not simplify things and calll it - quota_mailplus - quota_plusmail - quota_oneplus - quota_plusone Tobias Hachmer
Re: [Dovecot] Dovecot 2.2.beta1
On Sunday 10 February 2013 10:13:54 Luigi Rosa wrote: Would like to, but on the server I use for testing I have pigeonhole and I cannot compile it against 2.2B1 Is there a version for 2.2? Yes, see http://pigeonhole.dovecot.org/download.html Pigeonhole package for Dovecot v2.2 (development) # v2.2 code tree: hg clone http://hg.rename-it.nl/dovecot-2.2-pigeonhole/ Regards, Tobias Hachmer
Re: [Dovecot] 回复: 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto
On Saturday 01 December 2012 08:34:09 Sam DWH wrote: Did you installed openssh? Well, no, I have installed libssl-dev (Ubuntu Precise). What I have really done is to add the libssl-dev to the dependencies of my dovecot-dev package. This dovecot-dev package is a dependency of my pigeonhole package. Regards, Tobias
[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 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] cmd-vacation.c:4:17: fatal error: lib.h: No such file or directory ./configure: line 11410: -lssl: command not found
On Thursday 29 November 2012 16:18:14 Gilles Chauvin wrote: The post I linked above wasn't my post but I had the exact same problem this morning while trying to compile pigeonhole against dovecot 2.1.11. Manually adding the quotes in the dovecot-config file fixed the issue for me. Oh, sorry, I will test, thanks! Regards, Tobias Hachmer
Re: [Dovecot] Help!
Am 12.10.2012 19:09, schrieb Justin Vore: I have installed sendmail, dovecot, and squirrel mail. The squirrel mail portion of it works just fine, but I would like to have Mozilla Thunderbird as a client. Whenever I try and connect to the server it says Thunderbird failed to find the settings for your email account. We do have an MX record in DNS pointing to our server. Enter settings manually or set up automx (http://www.automx.org/). Regards, Tobias Hachmer
[Dovecot] doveadm backup - Fatal: All your namespaces have a location setting.
Hello list, I am using dovecot v2.1.9 and have a problem with doveadm backup: # doveadm backup -u u...@domain.com maildir:/backup/domain.com/user/Maildir doveadm(u...@domain.com): Fatal: All your namespaces have a location setting. It should be empty (default mail_location) in the namespace to be converted. Here my namespace config: namespace { list = children location = maildir:/var/vmail/%%d/%%n/Maildir:INDEX=/var/vmail/%d/%n/shared/%%u prefix = Gemeinsame-Postfaecher/%%u/ separator = / subscriptions = no type = shared } namespace inbox { inbox = yes location = maildir:/var/vmail/%d/%n/Maildir:INDEX=/var/vmail/indexes/%u prefix = separator = / subscriptions = yes type = private } Have I got a problem with my namespace config? Regards, Tobias Hachmer
[Dovecot] Dovecot SASL on another machine
Hello list, is there a way to use Dovecot SASL Authentication for submission on a different machine dovecot runs? e.g.: Dovecot machine - postfix machine(for submission) How can I authenticate my senders on a different physical machine against Dovecot SASL? Thanks, Tobias
Re: [Dovecot] Dovecot SASL on another machine
Am 05.11.2011 17:01, schrieb Timo Sirainen: On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: is there a way to use Dovecot SASL Authentication for submission on a different machine dovecot runs? With v2.0 you should be able to add inet_listener for auth service, which acts as an auth-client socket. Thanks for your reply. I think I didn't couch correct. I want a postfix machine to authenticate against Dovecot SASL for submission service which hasn't installed dovecot locally. The postfix machine has to ask my central dovecot which is at the moment dovecot v1.2.15 but will be soon v2. Is this possible, if yes, how? Greetz, Tobias
Re: [Dovecot] Dovecot SASL on another machine
Am 05.11.2011 17:35, schrieb Timo Sirainen: On Sat, 2011-11-05 at 17:31 +0100, Tobias Hachmer wrote: Am 05.11.2011 17:01, schrieb Timo Sirainen: On Sat, 2011-11-05 at 15:13 +0100, Tobias Hachmer wrote: is there a way to use Dovecot SASL Authentication for submission on a different machine dovecot runs? With v2.0 you should be able to add inet_listener for auth service, which acts as an auth-client socket. Thanks for your reply. I think I didn't couch correct. I want a postfix machine to authenticate against Dovecot SASL for submission service which hasn't installed dovecot locally. The postfix machine has to ask my central dovecot which is at the moment dovecot v1.2.15 but will be soon v2. Yes, this is how I understood it. OK, sorry. Is this possible, if yes, how? With v2.0: service auth { inet_listener { port = 12345 } } Postfix: smtpd_sasl_path = inet:dovecot.foobar.com:12345 Thanks a lot for your quick help!!! Greetz, Tobias
[Dovecot] setacl on complete mailbox
Hi List, how can I grant a user full control on another mailbox (the complete mailbox with all folder and subfolders). With the setacl command I could do this but first I have to list all folders and then I have to do one setacl command for each folder. Is there a command to this in one line? Also for new created folders? Greetz, Tobias
[Dovecot] BestPractice to migrate imap mailbox from one machine to another
Hi list, currently I use dovecot v1.2.15 with maildir++ mailboxes. (Debian Squeeze) I want to set up a different server with dovecot v2, also maildir++ mailboxes. (also Debian Squeeze) What is the best way to copy the existing mailboxes from the older machine running dovecot v1.2.15 to the new naked machine? Greetz, Tobias
Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another
On Fri, 09 Sep 2011 15:22:54 +0200, Robert Schetterer wrote: Am 09.09.2011 15:14, schrieb Tobias Hachmer: What is the best way to copy the existing mailboxes from the older machine running dovecot v1.2.15 to the new naked machine? i used imapsync in a bash script http://ks.lamiral.info/imapsync/ at a massive migration ok, but this tool is not free of charge. Are there any known problems just copying the mailboxes with scp or rsync? Tobias
Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another
On Fri, 09 Sep 2011 15:42:57 +0200, Giulio Casella wrote: Have you tried dsync (part of dovecot)? I don't know if it works for migration to a different (major) version of dovecot, but it's a nice tool. And it works also over ssh. Yeah, I read the sections in the dovecot v2 wiki, but I don't get how to use for migration. As far as I understood it's to keep several dovecot server at a unique data bank. An well, can I use it between dovecot v1.2 and v2? Tobias
Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another
On Fri, 09 Sep 2011 17:16:57 +0200, Giulio Casella wrote: This is working for me: root@oldserver # dsync -v -D -u $user backup ssh newserver dsync -u $user where $user is a username. oldserver and newserver can also have different mailbox format (in my case was mbox - maildir) Thanks for your replies, I will test first the simple copy of the maildirs when the new server is set up. So thanks a lot. Greetz, Tobias
Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another
On Fri, 09 Sep 2011 20:26:59 +0200, Robert Schetterer wrote: i used imapsync in a bash script http://ks.lamiral.info/imapsync/ at a massive migration ok, but this tool is not free of charge. ? you should donate but you can use it without too, i.e its part of ubuntu Oh, cool, thanks for the hint. Yes, I will test simple copy, imapsnc and dsync. Thanks a lot. Tobias
Re: [Dovecot] Quotas not recalculating
On Mon, 5 Sep 2011 08:39:39 +0300, Timo Sirainen wrote: On 5.9.2011, at 4.28, Kyle Brantley wrote: Okay, something else isn't cooperating with this at all. I reconfigured it to use dirsize just to test (quota = dirsize:User quota in 90-quota.conf instead of quota = maildir:User quota), and it is still trying to use maildir quotas: Your user_query in dovecot-sql.conf overrides the quota setting. Same problem here. But how can I use maildirsize quota user_query in dovecot-slq.conf ? I want to manage my users in a sql table and use maildirsize quota. Greetz, Tobias
Re: [Dovecot] Quotas not recalculating
On Tue, 6 Sep 2011 23:08:37 +0300, Timo Sirainen wrote: On 6.9.2011, at 23.01, Tobias Hachmer wrote: On Mon, 5 Sep 2011 08:39:39 +0300, Timo Sirainen wrote: On 5.9.2011, at 4.28, Kyle Brantley wrote: Okay, something else isn't cooperating with this at all. I reconfigured it to use dirsize just to test (quota = dirsize:User quota in 90-quota.conf instead of quota = maildir:User quota), and it is still trying to use maildir quotas: Your user_query in dovecot-sql.conf overrides the quota setting. Same problem here. But how can I use maildirsize quota user_query in dovecot-slq.conf ? I want to manage my users in a sql table and use maildirsize quota. There's nothing special in that. Just about all the examples in wiki assume you want to do that. http://wiki2.dovecot.org/Quota/Configuration#Per-user_quota OK, thanks. Removing CONCAT('*:bytes=', CAST(quota AS CHAR)) AS userdb_quota_rule from user_query as well as from password_query in dovecot-sql.conf worked for me. Greetz, Tobias