Skip to content

Instantly share code, notes, and snippets.

View maverabilisim's full-sized avatar
🎯
Focusing

maverabilisim

🎯
Focusing
View GitHub Profile
@maverabilisim
maverabilisim / imscp_migration
Created November 7, 2015 11:02 — forked from b13n1u/imscp_migration
I-MSCP migration from old server to a new one.
#Migrate i-mscp to a new server
#the new imscp is already installed and does have a different IP than the old one
#1. Dump the DB and copy the i-MSCP backup to new server:
rsync -rave "ssh -l root" /var/www/imscp/backups 10.0.0.3:/var/tmp/imscp_old_backups
#2.Install the old config DB
#3. Copy all customer data:
rsync -rave "ssh -l root " /var/www/virtual/ 10.0.0.3:/var/www/virtual
@maverabilisim
maverabilisim / pfdel.perl
Created October 5, 2015 14:54 — forked from gionn/pfdel.perl
pfdel - deletes message containing specified address from Postfix queue. Matches either sender or recipient address.
#!/usr/bin/perl -w
#
# pfdel - deletes message containing specified address from
# Postfix queue. Matches either sender or recipient address.
#
# Usage: pfdel <email_address>
#
use strict;