19 Jan
2024
19 Jan
'24
7:56 a.m.
I also wanted to ask if it's possible to add the local server name so I can use one database for all systems?
I suppose there's a chance there could be issues with namespace conflicts, but this would make it much easier for me.
Not sure how you are tracking your users, in my setup each user is the full email address with domain. (user@example.com) This way when it saves the time stamp it's associated with the username/email which is unique. My dictionary looks like this...
connect = host=/var/lib/mysql/mysql.sock dbname=mailservice map { pattern = shared/last-login/$user table = lastEmailCheck value_field = last value_type = uint fields { email = $user } }