On Oct 6, 2008, at 12:18 PM, Timo Sirainen wrote:

On Oct 6, 2008, at 3:32 AM, Robert Schetterer wrote:

namespace shared {
separator = /
# %%u gets expanded to the remote user. Instead of %%u you can
# also use %%n and %%d.
prefix = "shared/"
location =
maildir:/usr/local/virtual/%d:CONTROL=/usr/local/virtual/%d:INDEX=/ usr/local/virtual/%d

%d gets expanded immediately when user logs in. So if your user is [EMAIL PROTECTED], this gets expanded to:

maildir:/usr/local/virtual/domain:CONTROL=..etc..

With %%d it would expand to the destination user's domain, but I don't think you want that either. If your users' mailboxes are in / usr/local/virtual/%d/%n and you want them to be accessed, you'll need to use /usr/local/virtual/%%d/%%n as the path.

Or if you want user to be able to access only the same domain's users, use /usr/local/virtual/%d/%%n.

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to