Index: [Article Count Order] [Thread]

Date:  Mon, 16 Oct 2006 13:46:55 -0700
From:  "Ken Marcus - Precision Web Hosting, Inc." <kenmarcus (at mark) precisionweb.net>
Subject:  [coba-e:07592] Re: Unable to add new user or remove virtual site
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <16e101c6f164$37ec6260$6700a8c0@OfficeKen>
References:  <4522CC0C.4546.2335FF0 (at mark) localhost> <452406E7.4000009 (at mark) monostar.net> <16b001c6f15c$c8cd97c0$6700a8c0 (at mark) OfficeKen>
X-Mail-Count: 07592

From: "Ken Marcus - Precision Web Hosting, Inc." 
<kenmarcus (at mark) precisionweb.net>
To: <coba-e (at mark) bluequartz.org>
Sent: Monday, October 16, 2006 12:53 PM
Subject: [coba-e:07591] Re: Unable to add new user or remove virtual site


>
> ----- Original Message ----- 
> From: "Kristian Eklund" <kristian.eklund (at mark) monostar.net>
> To: <coba-e (at mark) bluequartz.org>
> Sent: Wednesday, October 04, 2006 12:09 PM
> Subject: [coba-e:07426] Re: Unable to add new user or remove virtual site
>
>
>> Hi,
>>
>>> Every time I try to add a new user to an existing site, or remove a 
>>> virtual site, I get this error message.
>>
>> I got this error last week and I fixed it by chown'ing
>> access.db and the other files in /etc/mail that are owned by smmts:root 
>> or something like that.
>>
>> /Kristian
>
>
> Kristian
>
> I am seeing the same error on one of my servers.
>
> Rebooting did not fix it.
>
> Would it be possible to let me know what permissions you have on the files 
> in the  /etc/mail directory?
>
> ----
> Ken Marcus
> Precision Web Hosting, Inc.
> http://www.precisionweb.net
>
>


When I chown  the files they just change back.

Anyway, when I added a user with the shells tools

/usr/sbin/cadduser --name=test555 --password='test555' --fullname='something' 
  --fqdn=www.thetestsite.com --admin  --adminPassword='theserverpass'  --quota=200


It showed a problem with the /etc/mail/access     where it would not 
makemap.
CCE Error:305 WARN 
"[[base-email.couldnt_make_map,file=\"/etc/mail/access\"]]"

I did a makemap
makemap hash /etc/mail/access.db < /etc/mail/access
makemap: /etc/mail/access.db: line 18: key aaron (at mark) somedomainontheserver.com: 
duplicate key
makemap: /etc/mail/access.db: line 21: key 
aaron (at mark) mail.somedomainontheserver.com: duplicate key
makemap: /etc/mail/access.db: line 24: key 
aaron (at mark) www.somedomainontheserver.com: duplicate key


I fixed that and it works now.



----
Ken Marcus
Precision Web Hosting, Inc.
http://www.precisionweb.net