Author Topic: Migrating from Cpanel to Plesk  (Read 4434 times)

paul

  • Posts: 41
    • View Profile
Migrating from Cpanel to Plesk
« on: July 27, 2007, 11:57:48 am »
I'm moving all my accounts from my 2001 Pentium 3 to a Dual Core.  My host requires me to go from Cpanel to Plesk.  I previously had Exim configured using Dean's settings, it worked like a charm is there any customization need on Plesk.

Anybody run into any problems when migrating like this?

Any input is much appreciated.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Migrating from Cpanel to Plesk
« Reply #1 on: July 28, 2007, 04:53:37 pm »
Greetings,

I recommend, at minimum, applying the following optimizations to a Plesk server:

http://listmailpro.com/forum/index.php?topic=48.0

PHP "Safe Mode" should be disabled in the "Setup" options for each ListMail domain.

To setup bounce.cgi you must chmod 755 /var/www/vhosts/DOMAIN/cgi-bin and create a file in /var/qmail/mailnames/DOMAIN.com named .qmail-bounce containing:

|/usr/bin/perl /var/www/vhosts/DOMAIN.com/cgi-bin/bounce.cgi

For large volume sending (>20k/day) there are some special qmail patches I recommend which I can be employed to compile.

Please let me know if I can be of further assistance!

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

paul

  • Posts: 41
    • View Profile
Special Patches
« Reply #2 on: July 28, 2007, 05:25:06 pm »
Hey Dean,

1,000 Thanks for taking the time.

My list is 146,000 in size.  I have to migrate because my host only uses Plesk now and I am in desperate need of a server upgrade.  I'm still running RH 7.3.  I'm also moving to CentOS.

What special patches do you recommend for qmail to make listmailpro work like a charm?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Migrating from Cpanel to Plesk
« Reply #3 on: July 28, 2007, 07:49:11 pm »
Here's how to apply the qmail "bigext-todo" (to prevent "silly qmail syndrome") and "outgoingip" patches (set IP in /var/qmail/control/outgoingip) as well as further split the queue folders for better performance with large #s of messages in queue.

# shutdown qmail
service qmail stop
killall qmail-remote

# make sure no more qmail processes
ps auxw | grep qmail

# get and compile patches with my super-easy script
cd /usr/src
wget http://lmhost.com/mf-qmail.tgz
tar xzf mf-qmail.tgz
cd mf-qmail
./cmd 8 199 #(Plesk 8.x)
cd qmail-1.03
make setup check
cd ..
./queue_repair.py -r

Next, follow the maillog while sending a test message to make sure things are working.

tail -f /usr/local/psa/var/log/maillog
Ctrl-C exits

Also contained in the archive is a script "iprotate.php" that can be run to rotate email through all IPs on the server every X seconds.  The benefits of this are overrated, I believe.  (If you do it make sure you have proper reverse PTR entries for all IPs or set them in the excludes() array in the script)

Regards :D
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

paul

  • Posts: 41
    • View Profile
Hey Dean.
« Reply #4 on: July 29, 2007, 03:12:50 am »
Hi Dean,

Can I pay for you to do this for me?  How do I submit such an order?  I probably won't be migrated until late this week or early next week.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Migrating from Cpanel to Plesk
« Reply #5 on: July 29, 2007, 01:52:50 pm »
Paul,

When you are ready, simply set up a request for a Server Analysis.  Mention this post in the notes and I will do this and other optimizations.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

paul

  • Posts: 41
    • View Profile
Will do.
« Reply #6 on: July 29, 2007, 04:11:26 pm »
As soon as I learn of my date for migration, I'll set it up with you.


1000 Thanks! You Da man as usual!