Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th January 2006, 20:19
toastmaster toastmaster is offline
Junior Member
 
Join Date: Jan 2006
Location: Ephrata, Washington, USA
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to toastmaster
Question 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! 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.
__________________
Jason Gerdes
Reply With Quote
Sponsored Links
  #2  
Old 18th January 2006, 20:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota... killfrog HOWTO-Related Questions 3 25th September 2009 21:45
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ruskicar HOWTO-Related Questions 26 20th July 2007 16:28
Virtual Users And Domains With Postfix, Courier And MySQL binkley HOWTO-Related Questions 3 16th January 2006 19:46
Backup the Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Qu rogierbanis HOWTO-Related Questions 1 13th January 2006 09:34
Virtual Users And Domains With Postfix, Courier And MySQL: POP/IMAP authentication SeanG HOWTO-Related Questions 3 1st January 2006 17:08


All times are GMT +2. The time now is 09:39.


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