Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 6th July 2010, 14:16
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

nono wait ..

show me what the following command returns:
Code:
cat /proc/mounts
Reply With Quote
Sponsored Links
  #12  
Old 6th July 2010, 14:19
mixian mixian is offline
Member
 
Join Date: Jun 2010
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ns1:/mnt/var/vmail# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user, grpjquota=aquota.group 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
none /selinux selinuxfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/sda2 /mnt ext3 rw,data=ordered 0 0
ns1:/mnt/var/vmail#

my big partition is sda2

please see my last post....i have modify it...

Last edited by mixian; 6th July 2010 at 14:23.
Reply With Quote
  #13  
Old 6th July 2010, 14:47
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Before you start doing the stuff below, is there anything else on sda2, or is it empty?


1. move the contents back from /mnt/var/vmail to /var/vmail
Code:
mv /mnt/var/vmail/* /var/vmail/
2. rename the dir /var/vmail to /var/vmail_old
Code:
mv /var/vmail /var/vmail_old
3. create a dir /var/vmail
Code:
mkdir /var/vmail
4. unmount your drive from /mnt
Code:
umount /mnt
5. edit /etc/fstab and give it this content:
Code:
/dev/sda1 / ext3 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jq fmt=vfsv0 0 1
/dev/sda2 /var/vmail ext3 default 0 0
/dev/sda3 swap swap defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
6. type:
Code:
mount -a
7. move the content of vmail_old to /var/vmail
Code:
mv /var/vmail_old/* /var/vmail/
Reply With Quote
  #14  
Old 6th July 2010, 15:04
mixian mixian is offline
Member
 
Join Date: Jun 2010
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

there is only a "lost+found" directory (empty)

and

"umount /mnt" command FAIL....device is busy.

Is amazon issue ?!?!

Any application or service is active on /mnt.

ns1:/mnt# fuser -m /mnt/
/mnt/: 15020c 15752c 15753c 15955c 15956c 16413c 16740c

ns1:/mnt#

?!????!?!!?!

Last edited by mixian; 6th July 2010 at 16:05.
Reply With Quote
  #15  
Old 6th July 2010, 16:48
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

ns1:/mnt#

you're inside /mnt .. you cannot unmount when you're inside the /mnt folder .. so

cd /;; umount /mnt
Reply With Quote
  #16  
Old 6th July 2010, 17:45
mixian mixian is offline
Member
 
Join Date: Jun 2010
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Excuse me for my stupid error

ok the procedure but now the incoming messages remaining in the Maildir file and not result in the inbox of account
Reply With Quote
  #17  
Old 6th July 2010, 18:16
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Quote:
Originally Posted by mixian View Post
ok the procedure but now the incoming messages remaining in the Maildir file and not result in the inbox of account
Sorry, could you elaborate this? i have no idea what you're saying
Reply With Quote
  #18  
Old 6th July 2010, 18:32
mixian mixian is offline
Member
 
Join Date: Jun 2010
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

After following the procedure no longer receiving mail.
I noticed that remain in a file (/ var / vmail / Maildir) concatenated one after another, instead of being moved to the correct file.

I have also reassigned the permissions to folder as before.

Thanks for your patience and sorry for my bad English.
Reply With Quote
  #19  
Old 7th July 2010, 12:27
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Ehm, after you have moved the /var/vmail_old to /var/vmail ..

in the /var/vmail dir, you should have your domains as directories, in it the names of the users f.e.:

/var/vmail/domain.tld/info/ <-- this dir should contain the new / cur / etc dirs just like a Maildir dir.

if you create a guest account for me, and send me the info in a pm, i can have a look at it, and give you better instructions, let me know if you're up for that.
Reply With Quote
  #20  
Old 7th July 2010, 13:06
mixian mixian is offline
Member
 
Join Date: Jun 2010
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Before doing this, I want you to note that in a previous post voltron81 had the same problem.
Transfer / var / vmail is corrupt. Mailfilter files! and the message remains in / var / vmail / Maildir files.

The post:

http://www.howtoforge.com/forums/showthread.php?t=40928

My /var/vmail :


#################
ns1:/var/vmail# ls -la
total 28
drwxr-xr-x 3 vmail vmail 4096 Jul 7 12:01 .
drwxr-xr-x 17 root root 4096 Jul 6 14:34 ..
-rw------- 1 vmail vmail 13141 Jul 7 10:28 Maildir
drwxr-xr-x 3 vmail vmail 4096 Jul 7 01:40 domain.ltd
ns1:/var/vmail#

N.B. In Maildir file there are all the emails that are not displayed in the mailbox info@domain.tld

#################
ns1:/var/vmail/domain.ltd# ls -la
total 12
drwxr-xr-x 3 vmail vmail 4096 Jul 7 01:40 .
drwxr-xr-x 3 vmail vmail 4096 Jul 7 12:01 ..
drwx------ 10 vmail vmail 4096 Jul 7 01:40 info
ns1:/var/vmail/domain.ltd#

#################
ns1:/var/vmail/domain.ltd/info# ls -la
total 56
drwx------ 10 vmail vmail 4096 Jul 7 01:40 .
drwxr-xr-x 3 vmail vmail 4096 Jul 7 01:40 ..
drwx------ 6 vmail vmail 4096 Jul 7 01:40 .Drafts
drwx------ 6 vmail vmail 4096 Jul 7 01:40 .Junk
drwx------ 6 vmail vmail 4096 Jul 7 01:40 .Sent
drwx------ 6 vmail vmail 4096 Jul 7 01:40 .Trash
drwx------ 2 vmail vmail 4096 Jul 7 01:40 courierimapkeywords
-rw-r--r-- 1 vmail vmail 48 Jul 7 01:40 courierimapsubscribed
-rw-r--r-- 1 vmail vmail 94 Jul 7 11:07 courierimapuiddb
drwx------ 2 vmail vmail 4096 Jul 7 11:07 cur
-rw-r--r-- 1 vmail vmail 191 Jul 7 11:07 maildirsize
drwx------ 2 vmail vmail 4096 Jul 7 01:48 new
-rw-r--r-- 1 vmail vmail 24 Jul 7 01:40 subscriptions
drwx------ 2 vmail vmail 4096 Jul 7 11:07 tmp
ns1:/var/vmail/domain.ltd/info#
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
Cannot send or receive mail after setup 50CentOS HOWTO-Related Questions 3 11th June 2010 16:10
ISPconfig 3 some users cannot send email to outside Rockblade Installation/Configuration 7 29th April 2010 02:40
with ISPConfig, Postfix, and Courier, mail does not send or receive karazy-k Server Operation 15 20th July 2009 06:44
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 12:14
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16


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


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