> A better approach to this would probably be a security log table. > user_idnr, service, login_time, logout_time, session_id, > session_status, > ip_address, tcp_port. > This essentially would require a new table, and some db_update calls in > the right places. > > Cleaning of this table would be manual -or manually(cron) via dbmail- > util.
That's something good also, for me I would clean it monthly. Apart from that, a simple approach for this is the "last_ip" on the dbmail_users table, for now it's simpler and will fit for almost everybody I think. _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev