Is there any way to set up an 'admin' password for accounts so I can use the standard IMAP interface to do things like prune the spam folders for all accounts, etc? I know I can always go straight to the database tables and delete rows (for pruning spam folders). But I know the tables are interconnected, and this means I have to have an accurate understanding of all of the data structures which presents a risk of db corruption if I don't do it correctly. Using the IMAP interface just as an IMAP client program would will allow me to locate expired messages in spam folders and delete them without risk of corrupting the mail db. The only problem with that is that with one-way encryption of the passwords for the account, I have no way to know the mailbox's password and therefore I have no way use the IMAP interface to access the mailbox.

So is there any way to add multiple passwords to a userId and/or just have a backdoor 'admin' password? Or is there someway to say "if request is from localhost no password is required for IMAP"? Or am I going about this all wrong for pruning spam folders, etc?

Thx.

Jerry

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to