Alex wrote:
> Alex wrote:
> 
>> I get this with some messages:
>> dbmysql.c,db_query: [Duplicate entry '3-12-by amavisd-new-2.2.1
>> (20041222) (Debian) at neti.ee' for key 3] [INSERT INTO
>> dbmail_headervalue (headername_id, physmessage_id, headervalue) VALUES
>> (12,3,'by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee')]
>> dbmail-message.c,_header_cache: insert  headervalue failed
> 
> From the code:
> ---
>         if (db_query(q->str))
>                 /* ignore possible duplicate key collisions */
>                 trace(TRACE_WARNING,"%s,%s: insert  headervalue failed",
>                       __FILE__,__func__);
> ---
> I guess that means that _I_ should ignore the duplicate errors. Would be
> nice, if this would be handled somehow and not ignored though.

No. The warning should be removed. Ignoring duplicate entries for the
same message is very much valid. All we need the header tables for is
for finding messages or headervalues. A single entry for duplicate
headers is sufficient.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to