Main Page

From brokenpoet.org wiki

Contents

Apache

.htaccess stuff

domlog Rotation

Recursion Errors and Rewrite Logs

apf/bfd

Block Countries by CIDR

Remove all Erroneous Entries in APF

bash

awk

awk one liners

sed

sed one liners

cPanel Specific

Dumping Mailman Mailing List Users to a File

Unable to compile Encode::Detect::Detector

Exim

Dealing with the 'Default Address' Issue

Enable or Disable SpamAssassin for Users

Firewall

apf/bfd

Block Countries by CIDR

Custom BFD rules for courier, exim and cpanel

Remove all Erroneous Entries in APF

Remove ALL rules from APF

DShield

DShield Blocklist Update

FTP

HTML for logging into FTP

MySQL

Fixing 'Unrepairable' MySQL tables

Installing mytop

"Too Many Connections" Error

Perl

Changing CPAN mirrors

Find Installed Perl Modules

PHP

fopen and Remote Includes

fsockopen test

Process HTML files with PHP Handler

PostgreSQL

DoS

DNS

Clustering in WHM

Lock a Domain

Handy One Liners

Change all users to :fail:

Check domlogs for IP

Find compromised PHP Scripts

Find and Replace string in all files

Find installed perl modules

Remove ALL rules from APF

Remove Bad Rules from APF

Remove all Mail from all addresses on an account

Usage Report

Usage Report Plus 'Catch-All' Stats

Scripts

Authored by Benjamin

bash scripts

Backup for Specific cPanel user using cron

Change SpamAssassin Status

Check All User Cron Jobs

Check All User Cron Jobs with Pause

Check Default Address Size

Check to see if DNS is local or external

Check Exim Queue and Mail Warning if it is Large

File Removal Cron Script

Fix Mail Ownership

Get DShield Blocklist

Remove Default Mail

perl scripts

Authored by Others

bash scripts

DoS script that works with APF

Repair all MySQL Databases

perl scripts

Run SMTP Test to Server

Wiki Help

Wiki Help

Personal tools