Hi Timo,
Thank you for the response.
I've attached the output for the login connections. The SSL lines
have been stripped as that is not properly set up yet.
This log is with the change suggested (prefix = shared.%u.),
although I can't tell any different in the log entries not in the
results.
Just to clarify, the directory that gets created is named "%h".
Kenneth
On Wed, 01 Sep 2010 18:24:24 +0100 Timo Sirainen tss@iki.fi wrote:
On Tue, 2010-08-31 at 11:33 +0100, Kenneth Cope wrote:
I can not get the %% variable expansion in a namespace to work. What I end up with, on an IMAP connection is a directory named,
for instance, '%h'. The same goes for any of the %% variables used at this point. My current set-up is 'not' the same as the current setup and I'm using virtual users that are not 'live' on the current system.
Set mail_debug=yes. What does it log when 1) logging in and 2) when it creates the %% directory (or is that also on login)?
namespace { list = children location = maildir:%%h:LAYOUT=maildir++:INDEX=~/shared.%Dn_%Dd prefix = shared/%n@%d.
prefix = shared.%u.
Although this won't work well because your username most likely has '.' characters. The only good solution would be to change all separators to '/', but that can then cause problems with existing clients that use your system (possibly requiring some kind of client cache refresh / account recreation).