Index: [Article Count Order] [Thread]

Date:  Wed, 04 Jul 2007 14:12:02 +0200
From:  Jes Kasper Klittum <jes (at mark) enavn.com>
Subject:  [coba-e:10314] Duplicate keys in /etc/mail/access WAS: Re:  Re: Error while creating or updating user or site
To:  coba-e (at mark) bluequartz.org
Message-Id:  <468B8E92.7030404 (at mark) enavn.com>
In-Reply-To:  <008301c70a5d$81952520$476ba8c0@D1SBW92J>
References:  <008301c70a5d$81952520$476ba8c0@D1SBW92J>
X-Mail-Count: 10314

Anyone ever found the reason for this bug? I have experienced this twice now!

Jes

Hugues Lepesant skrev:
> Hi all,
> 
> I've found why I had this error.
> A account have been created, and the option "Disable User's Email" was
> checked.
> 
> This create a duplicate entry in the access file (how ?).
> 
> vbox (at mark) groupe-maury.com           ERROR:5.1.1:550 User unknown
> vbox (at mark) mail.groupe-maury.com              ERROR:5.1.1:550 User unknown
> vbox (at mark) mail.groupe-maury.com              ERROR:5.1.1:550 User unknown <--
> twice
> 
> And that broke the creation of the access.db by makemap.
> 
> Thank again to Brian for his help.
> 
> Best regards,
> Hug 
> 
>> -----Message d'origine-----
>> De : Hugues Lepesant [mailto:hlepesant (at mark) veepee.com] 
>> Envoyé : vendredi 17 novembre 2006 10:18
>> À : coba-e (at mark) bluequartz.org
>> Objet : [coba-e:07945] Re: Error while creating or updating 
>> user or site
>>
>> Hi,
>>
>> [root@maury ~]# cd /etc/mail
>> [root@maury mail]# make
>> make: Nothing to be done for `all'.
>> [root@maury mail]# make clean && make
>> rm -f *.db *~
>> makemap: access.db: line 17: key vbox (at mark) mail.groupe-maury.com: 
>> duplicate key
>> make: *** [access.db] Error 65
>> [root@maury mail]# vim +17 access
>> [root@maury mail]# make clean && make
>> rm -f *.db *~
>> [root@maury mail]# 
>>
>> Now I can create user, and vsite.
>> It works !!! :-)
>> Thanks a lot.
>>
>> Best regards,
>> Hugues
>>
>>
>>
>>
>>  
>>
>>> -----Message d'origine-----
>>> De : Brian N. Smith [mailto:brian (at mark) nuonce.net] Envoyé : vendredi 17 
>>> novembre 2006 00:47 À : coba-e (at mark) bluequartz.org Objet : 
>> [coba-e:07944] 
>>> Re: Error while creating or updating user or site
>>>
>>>> "Sorry, an error occurred while trying to create an email
>>> server map
>>>> file.
>>>> If mail server configuration files were removed or manually
>>> modified,
>>>> please restore the original versions and try again."
>>> Look at your /etc/mail/access.  See if there are any 
>> duplicates.  If 
>>> there aren't, you can do this
>>>
>>> cd /etc/mail
>>> make clean
>>> make
>>>
>>> Post what errors you get, if you get any.
>>>
>>> Thanks,
>>> Brian
>>>
>>>
>>>
>>


	

10314_2.x-vcard (attatchment)(tag is disabled)