Re: Two-part question

2004-06-26 Thread Stephen Touset
On Sat, 2004-06-26 at 12:18, Stephen Touset wrote: > On Sat, 2004-06-26 at 11:52, John Summerfield wrote: > > Who owns the directory etc this creates? Who is the cp command being > > run as? > > > > Are the sudo and maildirmake in the right order? > > The problem was with permissions. However,

Re: Two-part question

2004-06-26 Thread Stephen Touset
On Sat, 2004-06-26 at 11:52, John Summerfield wrote: > Who owns the directory etc this creates? Who is the cp command being > run as? > > Are the sudo and maildirmake in the right order? The problem was with permissions. However, I'm going through hell right now trying to set up a sudoers file

Re: Two-part question

2004-06-26 Thread John Summerfield
Stephen Touset wrote: On Sat, 2004-06-26 at 11:27, Stephen Touset wrote: On Sat, 2004-06-26 at 03:50, Darik Horn wrote: Alternatively, you could wrap your local delivery agent with a script like this: #!/bin/ash if [ ! -e "$HOME" ] then # With an appropriate sudo configuration..

Re: Two-part question

2004-06-26 Thread Stephen Touset
On Sat, 2004-06-26 at 11:27, Stephen Touset wrote: > On Sat, 2004-06-26 at 03:50, Darik Horn wrote: > > Alternatively, you could wrap your local delivery agent with a script > > like this: > > > >#!/bin/ash > >if [ ! -e "$HOME" ] > >then > > # With an appropriate sudo configurati

Re: Two-part question

2004-06-26 Thread Stephen Touset
On Sat, 2004-06-26 at 03:50, Darik Horn wrote: > Alternatively, you could wrap your local delivery agent with a script > like this: > >#!/bin/ash >if [ ! -e "$HOME" ] >then > # With an appropriate sudo configuration... > sudo cp -r /etc/skel "$HOME" > maildirmake "$HOME

Re: Two-part question

2004-06-26 Thread Stephen Touset
On Sat, 2004-06-26 at 03:50, Darik Horn wrote: > > I hoped to solve this problem by using pam_mkhomedir.so as a session > > module for Courier, but it seems to be disregarding it. > > IIRC, Courier tries to change into the home directory before calling the > pam_mkhomedir.so module. (Or somesu

Re: Two-part question

2004-06-26 Thread John Summerfield
Stephen Touset wrote: I'm trying to set up a new email server for my company. We've got significant LDAP infrastructure that we wish to use for this purpose, but I'm having a few problems with the implementation. First of which, users' home directories cannot be relied upon to exist. I hoped to sol

Re: Two-part question

2004-06-26 Thread Darik Horn
> I hoped to solve this problem by using pam_mkhomedir.so as a session > module for Courier, but it seems to be disregarding it. IIRC, Courier tries to change into the home directory before calling the pam_mkhomedir.so module. (Or somesuch.) > Does anyone have a suggestion for where I can go fro

Two-part question

2004-06-25 Thread Stephen Touset
I'm trying to set up a new email server for my company. We've got significant LDAP infrastructure that we wish to use for this purpose, but I'm having a few problems with the implementation. First of which, users' home directories cannot be relied upon to exist. I hoped to solve this problem by us