ops-trust / portal

Ops-Trust Platform - Portal
https://www.ops-trust.net
Apache License 2.0
21 stars 4 forks source link

Verify functioning of record() function in mail-handler.pl #21

Open massar opened 9 years ago

massar commented 9 years ago

In mail-handler.pl one of the last steps in the mail handling process this is called:

record $tg, $ml_lhs;

This is supposed to update the mailinglist table with the current time stamp of the message in the activity field. This seems to only actually occur for lists in the main tg. Why not others? I don't see anything obvious and I don't have an easy way to test other test groups to see.

On the database do this or some variant to see what is going on:

select lhs,trustgroup,activity from mailinglist WHERE activity IS NOT NULL;