Roger Klorese
2017-Jan-22 01:33 UTC
Relative home path not allowed - but how is this relative?
I just set up my server with MySQL support for authentication/authorization
compatible with Postfix Admin.
Initially, I was getting the "Relative home directory paths not
supported"
message, and it's easy to see why - Postfix Admin stores the maildir as
"$domain/$userpart@$domain".
But the directories in 10-mail.conf are set as
mail_location = maildir:/home/mailboxes/%d/%u
mail_home = maildir:/home/mailboxes/%d/%u
...and the user_query has been revised to:
user_query = SELECT concat('/home/mailboxes/', maildir) as full_maildir
FROM mailbox WHERE username = '%u';
...so how are any of these relative paths?
Roger Klorese
2017-Jan-22 01:45 UTC
Relative home path not allowed - but how is this relative?
Never mind - query was a little screwed up...! Got it now. Thanks. On Sat, Jan 21, 2017 at 5:33 PM, Roger Klorese <rogerklorese at gmail.com> wrote:> I just set up my server with MySQL support for > authentication/authorization compatible with Postfix Admin. > > Initially, I was getting the "Relative home directory paths not supported" > message, and it's easy to see why - Postfix Admin stores the maildir as > "$domain/$userpart@$domain". > > But the directories in 10-mail.conf are set as > > mail_location = maildir:/home/mailboxes/%d/%u > mail_home = maildir:/home/mailboxes/%d/%u > > ...and the user_query has been revised to: > > user_query = SELECT concat('/home/mailboxes/', maildir) as full_maildir > FROM mailbox WHERE username = '%u'; > > ...so how are any of these relative paths? >