Can I have Maildir anywhere under $HOME?

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 $...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-14-2003
Robert Nicholson
 
Posts: n/a
Default Can I have Maildir anywhere under $HOME?

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?
Reply With Quote
  #2 (permalink)  
Old 10-14-2003
Brian T Glenn
 
Posts: n/a
Default Re: Can I have Maildir anywhere under $HOME?

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0