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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th December 2010, 20:34
trexen trexen is offline
Senior Member
 
Join Date: Jun 2008
Location: Stockholm
Posts: 169
Thanks: 15
Thanked 3 Times in 2 Posts
Smile Maildir copy and UebiMiau folders

Hi,

Question_1:
i wonder whare the customers settings is stored for UebiMiau webmail, a user complain that his created folder is gone when moved from old server to new.
(thanx Till for great support)


Question_2:
Is it possible to just cp prf /var/www/web20/User/web20_simon/Maildir/
new cur tmp ?
there is some files on my old server in thoes folders.

And some in /var/spool/mail/Maildir


Regards
//Marcus
Reply With Quote
Sponsored Links
  #2  
Old 8th December 2010, 17:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by trexen View Post
Question_2:
Is it possible to just cp prf /var/www/web20/User/web20_simon/Maildir/
new cur tmp ?
there is some files on my old server in thoes folders.

And some in /var/spool/mail/Maildir
Theoretically yes, but I suggest you use imapsync: http://www.howtoforge.com/how-to-mig...-with-imapsync
__________________
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 10th December 2010, 14:48
trexen trexen is offline
Senior Member
 
Join Date: Jun 2008
Location: Stockholm
Posts: 169
Thanks: 15
Thanked 3 Times in 2 Posts
Cool rsync Maidir

Hi again,

im just trying to use rsync /var/www and i cant get Maildir folder, got permission denied.

and i cant use root, i don allow root login in ssh and i dont whant user root to use a authentication key file ither.

is thera any other possibility to use rsync and have the permission to rsync the Maildir? so i dont need to use imapsync, it would not be easy if you have lots of customers mailboxes. rsync, just one line of code then youre done.

Ore is there another solution, mirror every mail to another server?

imapsync dont work if you have 100mailboxes and dont know the passwords.


regards
Marcus

Last edited by trexen; 10th December 2010 at 15:53.
Reply With Quote
  #4  
Old 11th December 2010, 11:31
trexen trexen is offline
Senior Member
 
Join Date: Jun 2008
Location: Stockholm
Posts: 169
Thanks: 15
Thanked 3 Times in 2 Posts
 
Smile rsync Maildir solved

Hi,
just whant to share this whit you guys.

Use this HowTo as base:
http://www.howtoforge.com/mirroring_with_rsync


i install sudo, and use visudo to edit sudoers file and add this line
do this on the source server:
web-rsync ALL=NOPASSWD: ALL


Try this syntax if you use other ssh ports and for sudo:
/usr/bin/rsync -avz -e "ssh -p 8093 -i /root/rsync/mirror-rsync-key" --rsync-path='sudo rsync' web-rsync@mail.mydomain.com:/var/www/ /var/www


After this all the Maildir is synced and its working fine, no need for imapsync ore other tools.


//Marcus
Reply With Quote
The Following User Says Thank You to trexen For This Useful Post:
falko (11th December 2010)
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
uebimiau default mail folders location/migration question tgansert Installation/Configuration 7 6th December 2006 17:16
UEBIMIAU webmail script failure vbhubeny Installation/Configuration 5 27th November 2006 14:01


All times are GMT +2. The time now is 04:16.


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