Paul/Jon,

 

I ask your help on another thing!

 

For sure dbmail-util is not cleaning messages!

I was checking the function on dm_db.c , and after a:

 

dbmail-util -d -y

 

the query:

 

                r = db_query(c, "SELECT p.id FROM %smimeparts p LEFT JOIN
%spartlists l ON p.id = l.part_id "

                                "WHERE l.part_id IS NULL", DBPFX, DBPFX);

 

That is on function:

 

int db_icheck_mimeparts(gboolean cleanup)

 

Doesn't return any rows, I tested it manually.

 

Has it doesn't return any rows, the while below this where the messages with
DELETE status are supposed to be deleted by the query:

 

                                db_exec(c, "DELETE FROM %smimeparts WHERE id
= %llu", DBPFX, *(u64_t *)ids->data);

 

It doesn't.

 

 

Where the error may be?

I must be before this

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to