We have some users that have left the company and we have suspended their e-mail address, but trac continues to send notifications to these addresses. How can I remove the e-mail address from their trac profile?
No plugins necessary, if you're comfortable with the command line. TracAdmin is your friend.
List the name and email for the given sids (username):
Now just send the empty string to clear their email address:
Check that it worked:
Need to set it to something else? No problem:
You could go into the database and update the record:
If you're using sqlite, it would be something like "sqlite3 trac.db", where trac.db is under your trac directory somewhere.
In addition, in trac.ini there are settings for automatically emailing changes and tickets.
If the person is still on tickets as one of those three, they will continue to get emails if the trac username is the first part of their email address and the setting "smtp_default_domain" matches the domain part.
Another approach that I found is to use the UserManagerPlugin. The "User Session Management" provides the functionality to remove old users from the system.
After installing the plugin,