This is a discussion on Can I have Maildir anywhere under $HOME? within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Is it possible to configure qmail so that it will delivery mail to a Maildir under several directories below my $...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Is it possible to configure qmail so that it will delivery mail to a
Maildir under several directories below my $HOME? when you see ./Maildir/ in .qmail files is that relative the users $HOME or does it always have to be ./Maildir/ for instance how does one configure a user in qmail to have their Maildir say $HOME/mailnames/domain/user/Maildir for anybody familiar with Plesk ... this is so Horde/IMP and authpsa can authenticate a virtual user and correctly locate their home directory. When we have Maildir directly under $HOME there isn't any information in PSA's poppasswd that enables it to locate the home directory whenever it looks up with both username and domain. In order to support virtual users across domains potentially with the same usernames Plesk authenticates a user with both user and domain and if you just have /home/username as the homedir in poppasswd it won't be able to validate the user so the thinking here is that it might be possible to have the above directory so that authpsa can still look up the user's record in poppasswd with both username and domainname and yet deliver the email with the permissions of the user instead of popuser. Anybody know how to tell qmail where the Maildir lies within the users $HOME directory? |
|
|||
|
On 14 Oct 2003 05:57:03 -0700, Robert Nicholson <robert@elastica.com> may have written:
> Is it possible to configure qmail so that it will delivery mail to a > Maildir > under several directories below my $HOME? > > when you see ./Maildir/ in .qmail files is that relative the users > $HOME or does > it always have to be ./Maildir/ > > for instance how does one configure a user in qmail to have their > Maildir say > > $HOME/mailnames/domain/user/Maildir > > for anybody familiar with Plesk ... this is so Horde/IMP and authpsa > can authenticate a virtual user and correctly locate their home > directory. When we have Maildir directly under $HOME there isn't any > information in PSA's poppasswd that enables it to locate the home > directory whenever it looks up with both username and domain. In order > to support virtual users across domains potentially with the same > usernames Plesk authenticates a user with both user and domain and if > you just have /home/username as the homedir in poppasswd it won't be > able to validate the user so the thinking here is that it might be > possible to have the above directory so that authpsa can still look up > the user's record in poppasswd with both username and domainname and > yet deliver the email with the permissions of the user instead of > popuser. > > Anybody know how to tell qmail where the Maildir lies within the users > $HOME directory? The user's .qmail file will tell qmail where to deliver the message. I do not know how these programs you mention work, but if you read through man qmail-getpw, man dot-qmail, and man qmail-command, you should be able to see how it works and configure appropriately for your setup. HTH, -- Brian T Glenn delink.net Internet Services |