[Dovecot] location of .subscriptions

Jochen dlfkcf at gmx.net
Tue Feb 5 23:11:33 EET 2008


Hello Timo,

On Tue, Feb 05, 2008 at 04:43:57PM +0200, you wrote:

> Yes. Just change the location = .. in the shared namespace to point to
> maildir instead of mbox.

It seems to work. A maildir structure is created according the
location line in then configuration file.

But in Seamonkey, the MUA I use for the tests, the prefix is showed as
a directory entry. I cannot subscribe to anything because the entry
does not have any mailboxes to subscribe to.

Perhaps I did something wrong? Here is the actual configuration:

--- snip ---
# 1.0.10: /usr/local/etc/dovecot.conf
protocols: imap imaps pop3
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /usr/local/var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
mail_location: mbox:~/mbox:INBOX=/var/mail/%u:INDEX=/var/mailindexes/%u
mail_full_filesystem_access: yes
mbox_write_locks: fcntl
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
pop3_uidl_format(default): 
pop3_uidl_format(imap): 
pop3_uidl_format(pop3): %08Xu%08Xv
namespace:
  type: private
  inbox: yes
namespace:
  type: public
  prefix: aatest/
  location: maildir:/var/spool/imap/test:INDEX=/var/mailindexes:CONTROL=~
auth default:
  passdb:
    driver: shadow
  userdb:
    driver: passwd
--- snip ---

> A few days (or weeks?) ago there was a patch in this list for compiling
> Dovecot v1.1 with gcc 2.95. That would probably work for 2.91 too.

Tried it, does not help. 2.91 is REALLY old, I know. :-/

--- snip ---
failures.c:107: macro `CONTEXT_CALLBACK' used with too many (6) args
make[4]: *** [failures.o] Error 1
make[4]: Leaving directory `/tmp/dovecot-1.1.beta14/src/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/dovecot-1.1.beta14/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/dovecot-1.1.beta14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/dovecot-1.1.beta14'
make: *** [all] Error 2
--- snip ---

The problem is line 144 in src/lib/macro.h:
--- snip ---
#  define CONTEXT_CALLBACK(name, callback_type, callback, context, ...)
--- snip ---

The compiler does not like the three dots in the parameter list.
Unfortunately I don't know enough about C to correct that.

-- 
Regards,
Jochen


More information about the dovecot mailing list