Skip to main content
Category

Server Admin

Server Management

PHPList Remove “powered by” email footer

By Server Admin 9 Comments

How to remove  ” powered by PHPList ” from email footer.

Edit sendemaillib.php in admin directory

Replace

$text[“signature”] = “\n\n–\nPowered by PHPlist, www.phplist.com –\n\n”;

With

$text[“signature”] = “”;

For Ver. 2.10.12 – change both text + html sig’s :

$text[“signature”] = “”;
$html[“signature”] = “”;

thanks to Jimbob for the tip.

Exim Commands

By Server Admin No Comments

Exim Commands

REMOVE MAILS BY ID

/usr/sbin/exim -v -Mrm (MAIL ID HERE)

LIST QUEDED MAILS

/usr/sbin/exim -bp

OUTPUT NUMBER OF QUEUED MAILS

/usr/sbin/exim -bpc

DELETE FROZEN MAILS

/usr/sbin/exim -bp | awk '$6~"frozen" { print $3 }' | xargs exim -Mrm

DELIVER FORCEFULLY EMAILS

/usr/sbin/exim -qff -v -C /etc/exim.conf &

FREEZE MAILS FROM SENDER

/usr/sbin/exiqgrep -i -f (MAIL ADDRESS HERE) | xargs exim -Mf

REMOVE MAILS FROM SENDER

/usr/sbin/exiqgrep -i -f (MAIL ADDRESS HERE) | xargs exim -Mrm

Prevent DDOS Attack

By Server Admin One Comment

Prevent DDOS Attack
(D)DoS-Deflate script monitors and tracks the IP addresses that are sending and establishing large amount of TCP network connections. When it detects number of connections from a single IP that exceeds certain preset limit, the script automatically uses APF or IPTABLES to ban and block the IPs.

Installation:

wget http://www.inetbase.com/scripts/ddos/install.sh
chmod 0700 install.sh
./install.sh

UnInstall:

wget http://www.inetbase.com/scripts/ddos/uninstall.ddos
chmod 0700 uninstall.ddos
./uninstall.ddos