Virtual Users and domains with postfix, courier

I would like to start out this post by saying thank you to all of the poeple who work on this site. I have found it to be very helpful and informative. You guys rock! I am a linux n00b so please bear with me if my questions are dumb ones.

I have recently completed the postfix courier mysql walkthrough and have a few questions:

1. When I delete a user out of the mySQL database, it doesn't remove the directories for that users mail under /home/vmail/domain.com. Is there any method in place to automatically remove directories/files when the user is deleted from the mySQL database.

2. Where are all of the logs concerning SMTP/POP3/IMAP connections so that I can troubleshoot connection issues.

1. When I delete a user out of the mySQL database, it doesn't remove the directories for that users mail under /home/vmail/domain.com. Is there any method in place to automatically remove directories/files when the user is deleted from the mySQL database.

Click to expand...

You could create a little shell or Perl script that is run by cron and does what you want. Of course, you must know a little bit about shell/Perl scripting.
However, if the directories don't hurt you, leave them there. You can clean up manually from time to time.

toastmaster said:

2. Where are all of the logs concerning SMTP/POP3/IMAP connections so that I can troubleshoot connection issues.