On 28-01-14 13:38, Mats Christensen wrote:

> Jan 28 13:05:14.286 dbmail01.test.s dbmail-imapd[62401]: [0xdff4b0] 
> Database:[db] db_query(+363): [0xbfebd0] [SELECT message_idnr,envelope FROM 
> dbmail_envelope e LEFT JOIN dbmail_messages m USING (physmessage_id) WHERE 
> m.mailbox_idnr = 15 AND message_idnr = 21]
> Jan 28 13:05:14.294 dbmail01.test.s dbmail-imapd[62401]: [0xdff4b0] 
> Database:[db] log_query_time(+307): last query took [0.007] seconds
> Jan 28 13:05:14.295 dbmail01.test.s dbmail-imapd[62401]: [0xdff4b0] 
> Database:[db] db_con_close(+291): [0xbfebd0] connection to pool
> Jan 28 13:05:14.295 dbmail01.test.s dbmail-imapd[62401]: [0xdff4b0] 
> Debug:[imap] _fetch_envelopes(+979): Variables: s: (null) s?s: 

Apparently there's nothing in dbmail_envelope for the message involved.
You can run above query to verify.

Now why there's nothing there is another matter. You could run
dbmail-util -by to try and fix this. If this fails check the logs for
the reason. Also, a new message being inserted should also generate a
record in dbmail_envelope. If that's not the case, the message delivery
should also have triggered an error. There should be a 'insert envelope
failed' in the logs, with the SQL error above that.


-- 
________________________________________________________________
Paul J Stevens       pjstevns @ gmail, twitter, github, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to