On Wed, 2007-06-13 at 16:43 +1200, Robert Coup wrote: > Hey folks, > > I want to authenticate a pop3 user without a domain part and then use > the domain part to specify a Maildir subfolder to grab messages from. > > So, this was my attempt: > # use the domain part to access a subfolder > mail_location = maildir:/mail/%n/Maildir/%d > # strip of the domain part for authentication purposes > auth_username_format = %n > > login: [EMAIL PROTECTED] > > Authentication of testuser works great, but mail_debug shows me that the > domain-part (%d) is empty when expanding mail_location.
Do you mean that you want to have [EMAIL PROTECTED] and [EMAIL PROTECTED] have the same password but different maildirs? What passdb and userdb are you using? I don't think there's a way to do this with auth_* settings. With SQL it would be easy.
signature.asc
Description: This is a digitally signed message part