LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mail server (https://www.linuxquestions.org/questions/linux-networking-3/mail-server-389683/)

Ammad 12-06-2005 01:33 AM

mail server
 
i am moving all mailbox to another hard disk, so all users are unable to connect mail system. and having 12000 mailboxes,
my question is that users can get mails (imap), and mailboxes move successfully is it possible ?


whats will be solution without clustering. using linux

genlee 12-07-2005 10:00 AM

If you are just moving the mailboxes to another drive in the same server, it shouldn't be that difficult. I would just do something like this during off peak hours:

stop smtp/pop3/imap
mv mailboxes to new drive
remap pop3/imap and smtp server to new mailbox point(edit conf, modify db entries, ect)
restart services

Users shouldn't lose any new incoming mails since most smtp servers will attempt to deliver for atleast 24hrs before bouncing the email back to the user.

Ammad 12-07-2005 10:14 PM

i am moving mailbox same server 2nd hard disk. but during moving mailbox will not be accessable, but i don't want this.

i want to know that mailboxes are also available during moving ?
is it possible

genlee 12-08-2005 08:00 AM

It would be possible with some setups like if your mail server has a db backend. Take mysql for example. I would write a script that would move user's mailbox and then update the db to point to the new location. Doing it this way, only a single user would have downtime for as long as it takes to move their mailbox(should only be seconds) and migrated/nonmigrated users will still have access to their mail.


All times are GMT -5. The time now is 08:49 PM.