Jon Duggan wrote:
> Jun 25 20:07:41 mail4-db-2 dbmail/lmtpd[427]: Error:[sql]
> dbmysql.c,db_query(+290): [Duplicate entry
> '[email protected]@somedomain.c' for key 1]
> [INSERT INTO dbmail_replycache (to_addr, from_addr, handle, lastseen)
> VALUES ('

Jon,

I would need to see the full query, and the one just before this one.
You'll need to run at trace_errlog=5 to get at them, or use your mysql
logs if you have them.

> Having emptied the users mailbox we’re seeing the same email hit the
> mailbox and have since resorted to rejecting @ postfix.

This might happen if the same message is being inserted twice,
simulaneously, be two different lmtp processes.

> Is this a bug?  We’re running 2.2.11 on both lmtpd and sieve.

How often do you see this?

> 
>  
> 
> We run dbmail-util –r 72h twice daily also.

That's silly. Way too short, way too often. Once a day, with -r 240
should be better. If you set -r too small, the days value in the sieve
scripts is effectively being capped.

> 
>  
> 
> Thanks
> 
>  
> 
> Jon
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to