#1  
Old 19th April 2007, 21:05
hnodine hnodine is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Exclamation File permissions for postfix

Hello-

I changed the file permissions (recursively ) for the entire /home/vmail directory while trying to troubleshoot maildrop and now I cannot login to any of the mail accounts on the server. I followed the Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) How To. Can anyone show me how to reset the directory and file permissions to their defaults?
Reply With Quote
Sponsored Links
  #2  
Old 20th April 2007, 14:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

If there aren't any emails in that directory, it might be easier to just recreate the whole /home/vmail directory.
__________________
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
  #3  
Old 20th April 2007, 15:37
hnodine hnodine is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default Which comands to recreate the /home/vmail directory

Hi Falko-

Which commands would recreate the /home/vmail directory with the proper permissions? Also, would the users currently in the database be able to accept mail again after /home/vmail is recreated?
Reply With Quote
  #4  
Old 21st April 2007, 13:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by hnodine
Hi Falko-

Which commands would recreate the /home/vmail directory with the proper permissions?
Try this:
Code:
rm -fr /home/vmail
mkdir /home/vmail
chown vmail:vmail /home/vmail
Quote:
Originally Posted by hnodine
Also, would the users currently in the database be able to accept mail again after /home/vmail is recreated?
Yes.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
hnodine (21st April 2007)
  #5  
Old 21st April 2007, 16:02
hnodine hnodine is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
 
Default thanks, back to working on maildrop delivery

Thank you for your help.
Back to work on a maildrop script to place the mail spamassassin marks as junk into each users junk folder.
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
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Dspam planet_fox General 6 20th January 2007 18:42
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
jamed up my table borders?? Boon-Dog-Danny Installation/Configuration 5 23rd September 2006 16:12


All times are GMT +2. The time now is 18:03.


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