Daniel Urstöger wrote:
well, good that dbmail is open source(d)!

For the webmail thing I only need to update
on new messages and the user doesn´t have
IMAP access so I think for me hacking the
dbmail-lmtp should be enough, rigth?

No, you should check dbmail-message.c,dbmail_message_store()

Take a look at the source for 2.3, and search for
db_mailbox_mtime_update.

But if all you really care about is message insertion, you should stick to the trigger approach:

Add an 'AFTER INSERT ON dbmail_messages' trigger that updates a datetime field on dbmail_mailboxes for the mailbox record involved.


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

Reply via email to