HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Users and domains with postfix, courier (http://www.howtoforge.com/forums/showthread.php?t=2139)

toastmaster 18th January 2006 20:19

Virtual Users and domains with postfix, courier
 
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.

falko 18th January 2006 20:42

Quote:

Originally Posted by toastmaster
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.

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.

Quote:

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

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


All times are GMT +2. The time now is 08:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.