Virtual Users and domains with postfix, courier

Discussion in 'HOWTO-Related Questions' started by toastmaster, Jan 18, 2006.

  1. toastmaster

    toastmaster New Member

    Hello,

    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!:D 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.
     
  2. falko

    falko Super Moderator

    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.

    /var/log/mail.log, /var/log/mail.err, /var/log/mail.warn
     

Share This Page