Re: [vchkpw] group problem with vadduser

2008-12-21 Thread Zhan Li
How to instal vpopmail

1.  CREATE DATABASE vpopmail;

GRANT select,insert,update,delete,create,drop ON vpopmail.*

TO *vpopmailus...@localhost IDENTIFIED BY '*vpoppasswd*';

2, groupadd -g 89 vchkpw

   useradd -g vchkpw -u 89 -d /home/vpopmail vpopmail



3. cd vpopmail-5.4.9



mkdir ~vpopmail/etc

chown vpopmail.vchkpw ~vpopmail/etc

echo "localhost|0|*vpopmailuser*|*vpoppasswd*|vpopmail" >
~vpopmail/etc/vpopmail.mysql

chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql

  chmod 640 ~vpopmail/etc/vpopmail.mysql

compile :

./configure   --disable-roaming-users   --enable-logging=p
--disable-passwd   --enable-clear-passwd   --disable-domain-quotas
--enable-auth-module=mysql   --enable-auth-logging
--enable-sql-logging --enable-valias --disable-mysql-limits

make

make install-strip

3.vi /home/vpopmail/etc/vlimits.default(check default diskquota)

4.vi /home/vpopmail/etc/vpomail.mysql

5.  echo "yourdomain.com" > /home/vpopmail/etc/defaultdomain

6.  vi quotawarn.msg
cp quotawarn.msg /home/vpopmail/domains/.quotawarn.msg

echo "Message rejected. Not enough storage space in user's mailbox to
accept message." > /home/vpopmail/domains/.over-quota.msg



   8. /home/vpopmail/bin/vadddomain yourdomain.com yourpassword

  /home/vpopmail/bin/vadduser some...@yourdomain.com apassword

On Mon, Dec 22, 2008 at 10:16 AM, LUIZ CARLOS GOMES AMERICO <
lc.amer...@ig.com.br> wrote:

> 2008/12/21 Zhan Li :
> > Try to change the both vchkpw's groupid and userid to 89.
> >
> >
> > On Sat, Dec 20, 2008 at 1:09 AM, marco ~  wrote:
> >>
> >> Hi,
> >>
> >> I have a problem with vadduser.
> >>
> >> When I used a new user with vadduser, the group isn't  vchkpw, it's
> >> 504 (unknow group on my system)
> >>
> >> I had reinstall vpopmail and everything is ok during the installation.
> >>
> >> vchkpw group is 502.
> >>
> >> Could you help me ?
> >>
> >> Marco.
> >>
> >>
> >>
> >
> >
>
> 
>
>


!DSPAM:494eee3432313421213645!


Re: [vchkpw] group problem with vadduser

2008-12-21 Thread LUIZ CARLOS GOMES AMERICO
2008/12/21 Zhan Li :
> Try to change the both vchkpw's groupid and userid to 89.
>
>
> On Sat, Dec 20, 2008 at 1:09 AM, marco ~  wrote:
>>
>> Hi,
>>
>> I have a problem with vadduser.
>>
>> When I used a new user with vadduser, the group isn't  vchkpw, it's
>> 504 (unknow group on my system)
>>
>> I had reinstall vpopmail and everything is ok during the installation.
>>
>> vchkpw group is 502.
>>
>> Could you help me ?
>>
>> Marco.
>>
>>
>>
>
> 

!DSPAM:494ece6332311531469070!



Re: [vchkpw] group problem with vadduser

2008-12-21 Thread Remo Mattei
Usermod and groupmod will allow to change that with no break check the  
option out


Remo

Inviato da iPhone

Il giorno 21/dic/08, alle ore 14:59, "marco ~"  ha  
scritto:



Try to change the both vchkpw's groupid and userid to 89.

--> I must just edit the /etc/group file or recompile and re-install
vpopmail with the new id ?
(the server is on production with more than 8000 email account, so I
can't break the whole system)


On Sun, Dec 21, 2008 at 10:55 PM, Zhan Li   
wrote:

Try to change the both vchkpw's groupid and userid to 89.


On Sat, Dec 20, 2008 at 1:09 AM, marco ~  wrote:


Hi,

I have a problem with vadduser.

When I used a new user with vadduser, the group isn't  vchkpw, it's
504 (unknow group on my system)

I had reinstall vpopmail and everything is ok during the  
installation.


vchkpw group is 502.

Could you help me ?

Marco.










--
Marco -- supersonic --








!DSPAM:494ec49e32311503833348!



Re: [vchkpw] group problem with vadduser

2008-12-21 Thread Zhan Li
Try to change the both vchkpw's groupid and userid to 89.


On Sat, Dec 20, 2008 at 1:09 AM, marco ~  wrote:

> Hi,
>
> I have a problem with vadduser.
>
> When I used a new user with vadduser, the group isn't  vchkpw, it's
> 504 (unknow group on my system)
>
> I had reinstall vpopmail and everything is ok during the installation.
>
> vchkpw group is 502.
>
> Could you help me ?
>
> Marco.
>
> 
>
>


!DSPAM:494ebb3732312114320301!


Re: [vchkpw] group problem with vadduser

2008-12-21 Thread marco ~
Try to change the both vchkpw's groupid and userid to 89.

--> I must just edit the /etc/group file or recompile and re-install
vpopmail with the new id ?
(the server is on production with more than 8000 email account, so I
can't break the whole system)


On Sun, Dec 21, 2008 at 10:55 PM, Zhan Li  wrote:
> Try to change the both vchkpw's groupid and userid to 89.
>
>
> On Sat, Dec 20, 2008 at 1:09 AM, marco ~  wrote:
>>
>> Hi,
>>
>> I have a problem with vadduser.
>>
>> When I used a new user with vadduser, the group isn't  vchkpw, it's
>> 504 (unknow group on my system)
>>
>> I had reinstall vpopmail and everything is ok during the installation.
>>
>> vchkpw group is 502.
>>
>> Could you help me ?
>>
>> Marco.
>>
>>
>>
>
> 



-- 
Marco -- supersonic --

!DSPAM:494ebc5732312137532699!