I have an active mail server running on OS X server 4.1.3. I have a couple of problems that are concerning.
1) I deleted a user with a lot of email using server.app The user is gone now but the email folders in /Library/Server/Mail/Data/mail/users/username are still there. I expected server.app to clean things up. The reason I need to do this is to get some disk space back. The user concerned is no longer with the organisation concerned and had a lot of email.
Can I just ‘sudo rm -rf /Library/Server/Mail/Data/mail/users/username and be done with it?
2) My /tmp is also filling up with odd files with names like uid=2371&where=body&rand=fcd7a8d041305ad6 owned by _dovecot
I’d like to understand what they are but I would also like to delete them. dovecot has the variable mail_temp_dir set to /tmp.
It is a mystery to me where to fine adequate documentation on OS X Server and mail. Help and pointers welcome.
Angus