[Dovecot] Compiling Dovecot on Debian (was Re: Error starting dovecot)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 7 Sep 2008, R A wrote: The most recent debianized dovecot I know of is in the ubuntu intrepid tree. You can download their source packages and compile on any debian platform and get fairly up to date packages. Think they were up to 1.1.2 last I saw. Dovecot was simple on Etch: apt-get build-dep dovecot (I cannot remember if the default pulls all and every dev package, e.g. for all supported databases.) downloaded the source ./configure --help | more ./configure [bunch of options] make && make install downloaded dovecote-sieve ./configure --help | more ./configure --with-dovecot=../dovecot-1.0 make && make install Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIxMjOVJMDrex4hCIRAqYyAJ9idpUjhAYozdctPolDIYExUmT8XgCfdusu sPgIZwbBfJzysMhUhhV3WpE= =w0aD -END PGP SIGNATURE-
Re: [Dovecot] v1.2.alpha1 released (automatic debian packages)
Timo Sirainen schreef: http://dovecot.org/releases/1.2/alpha/dovecot-1.2.alpha1.tar.gz http://dovecot.org/releases/1.2/alpha/dovecot-1.2.alpha1.tar.gz.sig Since an alpha version of v1.2 is released I now publish the new urls for the Dovecot v1.2 Debian autobuilder. The instructions are still the same as described at http://wiki.dovecot.org/PrebuiltBinaries , but the /etc/apt/sources.list lines are as follows: deb http://xi.rename-it.nl/debian/ experimental-auto main deb-src http://xi.rename-it.nl/debian/ experimental-auto main These automatically built Debian packages are a little more experimental than the 1.1 versions because these also include the new and not yet released Sieve implementation. I will provide tarballs for v1.2 ManageSieve some time this week. Regards, Stephan.
Re: [Dovecot] iphone connection problem]
Sorry, bounced this the first time ;( Darren I'd happily switched to a real cert if I knew that this was the problem. Are you using the cert actually on the phone to validate its identity? I have the org unit set slightly differently on my fake CA and the phone to make netscape derived browsers happy. The trouble is that I'm not getting a useful enough error message from anyone to diagnose problem. I have also considered putting my fake CA cert on the phone to see if that would make it happier, Darren >Charles Marcus wrote: >>You're not using self-signed certs by any chance? >> >> > >I have had good success using the cheapo certs from GoDaddy - they >offer a cert with multiple Alt names so you can connect using a >variety of server names. Quite inexpensive and the whole setup was >very smooth (they are just a cheapo registrar who verify you based on >the WHOIS info only) > >Ed W
Re: [Dovecot] iphone connection problem
Darren Platt wrote: I'd happily switched to a real cert if I knew that this was the problem. Are you using the cert actually on the phone to validate its identity? I have the org unit set slightly differently on my fake CA and the phone to make netscape derived browsers happy. The trouble is that I'm not getting a useful enough error message from anyone to diagnose problem. I have also considered putting my fake CA cert on the phone to see if that would make it happier, Sorry - I don't have an iPhone - however, some of the super cheap providers are like near single digit dollars a year for a cert so it's not too expensive to run a test Ed W
Re: [Dovecot] Cosmetic issue with dots in Maildir folder names
On Sep 8, 2008, at 12:37 AM, Holger Weiss wrote: Just a minor cosmetic issue: We use the listescape plugin in order to support "." characters in Maildir++ folder names, and in at least the following case, the escaped representation of the dot character ("\2e") won't be translated back to a "." in messages for the IMAP client: | 1 SELECT non.existent | 1 NO Mailbox doesn't exist: non\2eexistent Well .. I guess the plugin could guess that any \2e (and the few other escapes) in any error string could be converted back, but I don't think it's really worth the trouble since normally a client wouldn't ever issue such a command that gives an error.. There's a similar problem also if you're using namespace prefixes. They're dropped from the error messages. Maybe when I some day manage to solve that somehow this listescape problem might get solved at the same time. :) PGP.sig Description: This is a digitally signed message part
[Dovecot] Cosmetic issue with dots in Maildir folder names
Just a minor cosmetic issue: We use the listescape plugin in order to support "." characters in Maildir++ folder names, and in at least the following case, the escaped representation of the dot character ("\2e") won't be translated back to a "." in messages for the IMAP client: | 1 SELECT non.existent | 1 NO Mailbox doesn't exist: non\2eexistent However, SELECTing an existing folder whose name includes a dot works fine, and it also works in other cases, e.g.: | 2 CREATE does.exist | 2 OK Create completed. | 3 LIST "" does.exist | * LIST (\HasNoChildren) "/" does.exist | 3 OK List completed. This is with Dovecot 1.1.3; we use "separator = /" and we've defined REAL_SEP to '.' and VIRTUAL_SEP to '/' in the plugin. Holger
Re: [Dovecot] Initial support for shared mailboxes
Timo Sirainen schrieb: On Sat, 2008-09-06 at 11:11 +0300, Timo Sirainen wrote: On Sat, 2008-09-06 at 10:05 +0200, Robert Schetterer wrote: Timo Sirainen schrieb: On Sat, 2008-09-06 at 09:42 +0200, Robert Schetterer wrote: Hi Timo, what about imap acl full implemented ( not plugin ) is there a chance to have it in v1.2 ? It's not in my plans, but Kolab people are probably going to need it, so maybe they'll implement it. :) And what do you mean by "not plugin"? It's most likely going to be a plugin in any case. Sorry Timo i missposted you *g, the problem is the file based acl ( whatever plugin or not ), i dont know any webmail etc which gives the users themselfs a chance to make their own acls, editing files i.e via ftp is very outdated, what dovecot needs is edit acls direct via the client over imap like its in cyrus, so we can use horde or squirrel webmail The problem isn't really about making IMAP commands available for the ACL file creation, that's pretty easy to implement. The problem is that once the ACLs have been given the mailboxes should be visible to other users. That's more difficult to implement. Well, I actually started it today since it's needed for replication: http://hg.dovecot.org/dovecot-1.2/rev/6dd0c6755afe Mailboxes can't be listed yet (and I'm not planning on implementing that anytime soon), but if you add the wanted mailboxes to subscriptions they should be usable by clients. Configuration goes like: namespace shared { separator = / # %%u gets expanded to the remote user. Instead of %%u you can # also use %%n and %%d. prefix = shared/%%u/ location = Maildir:/home/%%u/Maildir:INDEX=~/Maildir/shared/%%u } I didn't bother testing it with ACL plugin yet, but I guess it should work. And as for the IMAP ACL commands then.. Well, they shouldn't be too difficult to implement I think. Someone else could try to do it though. :) Hi Timo, youre great, i will test this soon -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
[Dovecot] Initial support for shared mailboxes
On Sat, 2008-09-06 at 11:11 +0300, Timo Sirainen wrote: > On Sat, 2008-09-06 at 10:05 +0200, Robert Schetterer wrote: > > Timo Sirainen schrieb: > > > On Sat, 2008-09-06 at 09:42 +0200, Robert Schetterer wrote: > > >> Hi Timo, what about imap acl full implemented ( not plugin ) > > >> is there a chance to have it in v1.2 ? > > > > > > It's not in my plans, but Kolab people are probably going to need it, so > > > maybe they'll implement it. :) > > > > > > And what do you mean by "not plugin"? It's most likely going to be a > > > plugin in any case. > > > > > > > Sorry Timo i missposted you *g, > > the problem is the file based acl ( whatever plugin or not ), i dont > > know any > > webmail etc which gives the users themselfs a chance > > to make their own acls, editing files i.e via ftp is > > very outdated, what dovecot needs is edit acls direct via the client > > over imap like its in cyrus, so we can use horde or squirrel webmail > > The problem isn't really about making IMAP commands available for the > ACL file creation, that's pretty easy to implement. The problem is that > once the ACLs have been given the mailboxes should be visible to other > users. That's more difficult to implement. Well, I actually started it today since it's needed for replication: http://hg.dovecot.org/dovecot-1.2/rev/6dd0c6755afe Mailboxes can't be listed yet (and I'm not planning on implementing that anytime soon), but if you add the wanted mailboxes to subscriptions they should be usable by clients. Configuration goes like: namespace shared { separator = / # %%u gets expanded to the remote user. Instead of %%u you can # also use %%n and %%d. prefix = shared/%%u/ location = Maildir:/home/%%u/Maildir:INDEX=~/Maildir/shared/%%u } I didn't bother testing it with ACL plugin yet, but I guess it should work. And as for the IMAP ACL commands then.. Well, they shouldn't be too difficult to implement I think. Someone else could try to do it though. :) signature.asc Description: This is a digitally signed message part
Re: [Dovecot] iphone connection problem
Charles Marcus wrote: You're not using self-signed certs by any chance? I have had good success using the cheapo certs from GoDaddy - they offer a cert with multiple Alt names so you can connect using a variety of server names. Quite inexpensive and the whole setup was very smooth (they are just a cheapo registrar who verify you based on the WHOIS info only) Ed W
Re: [Dovecot] antispam plugin problem with dspam
Harlan Stenn wrote: Would it be better if the antispam plugin logged whatever stderr output came from the dspam invocation? I'd say yes. I don't seen any kind of error that should be shown to a "normal" user.
Re: [Dovecot] antispam plugin problem with dspam
Harlan Stenn wrote: I'm trying to use the dovecot antispam plugin with dspam. I'm running dovecot 1.1.2. Using thunderbird and IMAP, when I drag a spam message from the inbox into the SPAM folder, I get a popup saying "The current command did not succeed. The mail server responded: antispam signature not found. When I look at the message in the maildir folder, I see the dspam signature both in the header of the message and at the end of the body. What's a good way to debug this situation and figure things out? I'm not seeing anything in any log files, and I'm not seeing much in the way of debug capability in the dovecot antispam plugin. save the message to a file and pass it to dspam on the console.
Re: [Dovecot] ACL plugin: k permission and sub-subfolders
On Sun, 2008-09-07 at 00:40 +0200, Heiko Schlichting wrote: > I'm trying to disallow the creating of subfolders for some special folder > for all users. Using ACL plugin for this seems to work at first glance but > is not a full solution or is buggy as it allows the creation of > sub-subfolders. Thanks, fixed: http://hg.dovecot.org/dovecot-1.1/rev/d2657188377b This will also make it easier to later create code to treat ACLs recursively. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] v1.2.alpha1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 07/09/08 12:11: >> It is very strange that all events are logged except the shutdown. > > Maybe try running with > > strace -o log ./dovecot -F I tried and this line has been logged Sep 7 12:19:02 mail dovecot: Dovecot v1.2.alpha1 starting up (core dumps disabled) Normally when I start Dovecot I got this line: Sep 7 12:19:51 mail dovecot: Dovecot v1.2.alpha1 starting up When I killed -9 the dovecot task (not strace, but dovecot), the program ended, but no line has been logged. This happens also in 1.x where x<2 Ciao, luigi - -- / +--[Luigi Rosa]-- \ It's time you learn that freedom is never a gift. It has to be earned. --Kirk, The Return of the Archons -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIw6uA3kWu7Tfl6ZQRAg90AKC4/cDR5jNLdp9ND6KcDL5bz3HIngCfUIcs iPs7jwwjph7T6zKxDsq4SFc= =ew0m -END PGP SIGNATURE-
Re: [Dovecot] v1.2.alpha1 released
On Sun, 2008-09-07 at 12:22 +0200, Luigi Rosa wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Timo Sirainen said the following on 07/09/08 12:11: > > >> It is very strange that all events are logged except the shutdown. > > > > Maybe try running with > > > > strace -o log ./dovecot -F > > I tried and this line has been logged > > Sep 7 12:19:02 mail dovecot: Dovecot v1.2.alpha1 starting up (core dumps > disabled) > > Normally when I start Dovecot I got this line: > > Sep 7 12:19:51 mail dovecot: Dovecot v1.2.alpha1 starting up There's a ulimit -c difference. > When I killed -9 the dovecot task (not strace, but dovecot), the program > ended, > but no line has been logged. Well, sure if you're going to kill -9 it then it doesn't log anything. There's no way Dovecot can do anything because you had kernel kill it directly without any kind of a notification.. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] v1.2.alpha1 released
On Sun, 2008-09-07 at 12:08 +0200, Luigi Rosa wrote: > It is very strange that all events are logged except the shutdown. Maybe try running with strace -o log ./dovecot -F signature.asc Description: This is a digitally signed message part
Re: [Dovecot] v1.2.alpha1 released
Timo Sirainen said the following on 07/09/08 11:53: > You're probably looking at the wrong file. Info and warnings/errors may > be logged to different files. http://wiki.dovecot.org/Logging If I have this lines in dovecot.conf: syslog_facility = local5 #log_path = /var/log/dovecot And this line in syslog.conf local5.*/var/log/dovecot According to wiki page, all log lines should go to /var/log/dovecot via syslog service, and this is exactly what happens. In fact in the past I found warning and errors logged to this file via syslog. It is very strange that all events are logged except the shutdown. Ciao, luigi -- / +--[Luigi Rosa]-- \ According to the obituary notices, a mean and unimportant person never dies.
Re: [Dovecot] v1.2.alpha1 released
On Sun, 2008-09-07 at 11:46 +0200, Luigi Rosa wrote: > Timo Sirainen said the following on 07/09/08 11:39: > > > dovecot: Sep 07 11:06:41 Warning: Killed with signal 15 > > > > Isn't enough? > > > > dovecot: Sep 07 11:06:41 Warning: Shutting down (Killed with signal 15) > > Uhm... > Does not appear with my setting: > > syslog_facility = local5 > > > Do I have to enable anything else? You're probably looking at the wrong file. Info and warnings/errors may be logged to different files. http://wiki.dovecot.org/Logging signature.asc Description: This is a digitally signed message part
Re: [Dovecot] v1.2.alpha1 released
Timo Sirainen said the following on 07/09/08 11:39: > dovecot: Sep 07 11:06:41 Warning: Killed with signal 15 > > Isn't enough? > > dovecot: Sep 07 11:06:41 Warning: Shutting down (Killed with signal 15) Uhm... Does not appear with my setting: syslog_facility = local5 Do I have to enable anything else? Ciao, luigi -- / +--[Luigi Rosa]-- \ I stayed up all night playing poker with tarot cards. I got a full house and four people died. --Steven Wright
Re: [Dovecot] v1.2.alpha1 released
On Sun, 2008-09-07 at 11:37 +0200, Luigi Rosa wrote: > Timo Sirainen said the following on 05/09/08 19:49: > > > http://dovecot.org/releases/1.2/alpha/dovecot-1.2.alpha1.tar.gz > > Is it possibile to log also the shutdown of Dovecot deamon along with startup? dovecot: Sep 07 11:06:41 Warning: Killed with signal 15 Isn't enough? dovecot: Sep 07 11:06:41 Warning: Shutting down (Killed with signal 15) Maybe? signature.asc Description: This is a digitally signed message part
Re: [Dovecot] v1.2.alpha1 released
Timo Sirainen said the following on 05/09/08 19:49: > http://dovecot.org/releases/1.2/alpha/dovecot-1.2.alpha1.tar.gz Is it possibile to log also the shutdown of Dovecot deamon along with startup? Ciao, luigi -- / +--[Luigi Rosa]-- \ First draw the curves; then plot the data.