[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sqlcreatehomedir queries..



I forgot to cc the mailinglist ..

My permissions on sqlcreatehomedir : 

-rwsr-x---    1 root     nofiles     15576 Mar 14 11:06 /usr/local/sbin/sqlcreatehomedir

and in my sqlserver config : 

autohomedir /usr/local/sbin/sqlcreatehomedir

Greetings,
Michiel

On Fri, Aug 09, 2002 at 06:53:35PM +1000, Andrew Blogg wrote:
> Which qmail user is the correct one? And what entry should I have in the
> sqlserver file?
> 
> I just found another problem, I have mydomain.com and alias user
> specified in the passwd table, yet qmail tries to remotely deliver the
> messages.. it doesn't seem to treat them as local? .. 
> 
> -
> Andrew
> 
> -----Original Message-----
> From: Michiel Van Opstal [mailto:michiel@xxxxxxxxxxxxx] 
> Sent: Friday, 9 August 2002 6:42 PM
> To: Andrew Blogg
> Subject: Re: sqlcreatehomedir queries..
> 
> Are you sure its suid root and can be executed by the correct qmail user
> ?
> 
> Greetings,
> 
> Michiel
> On Fri, Aug 09, 2002 at 06:24:32PM +1000, Andrew Blogg wrote:
> > Hi,
> >  
> > I am trying to get sqlcreatehomedir working, yet I keep getting
> errors.
> >  
> > If I run the command 'sqlcreatehomedir user virtualhost' manually, as
> > root and as qmail users, it works fine.
> >  
> > I have attempted the following in the sqlserver file
> >  
> > autohomedir yes
> > autohomedir /usr/local/sbin
> > autohomedir /usr/local/sbin/sqlcreatehomedir
> >  
> > And attempted to create a user and send email to that user on each of
> > the three occasions, but I'm still having problems. 
> >  
> > I would like to get this function working as it would be much easier
> to
> > create new users by a simple insert statement to the database!
> >  
> > Thanks
> >  
> > -
> > Andrew
>