Sysadmin Tips and Tricks
Latest information and downloads for all of my sysadmin tips and tricks.
Poptester
Poptester.exp is an expect script to automate the process of testing POP3 accounts. Use it to debug connection issues. Tail the log on the server and initiate connection attempts using this script on a remote box.
Example
Usage: ./poptester.exp HOSTNAME USERNAME PASSWORD [MSGID]
Download: poptester.exp
Qmailrocks Qregex Patch
Qregex is a patch for Qmail that allows an admin to configure Qmail to automatically bounce messages based on regular expression matching in the FROM and TO addresses and the HELO handshake.
The Qmailrocks build contains other patches that conflict with the Qregex patch. I created a Qmailrocks specific Qregex patch by manually integrating the conflicting code of the Qregex patch. To integrate, download the patch, copy to the Qmail source directory and execute the following command directly before building Qmail:
Download: qregex-20040725-qmr.patch
Qmailrocks ValidRcptTo.cdb Patch
ValidRcptTo.cdb is a patch for Qmail that checks for a valid recipient email addresses in the initial SMTP connection. It can reject mail for addresses that do not exist. John Simpson’s version handles aliases, vpopmail and system accounts, Qmail’s .qmail-default aliases and utilizes a cdb database for speed. To integrate, download the patch, copy to the Qmail source directory and execute the following command directly before building Qmail:
Download: validrcptto-qmr.cdb.patch
Popular Blog Posts
Hosting
- How To Clear Stuck Urchin Tasks
- Installing Payflow Pro SDK on a Shared Hosting Account
- Manually Run Urchin Reports
- Stop Bandwidth Theives - Lighttpd Style
- Stop Bandwidth Thieves
Scripts
Security
Tips
- Debugging POP/IMAP/SMTP With Telnet
- Lighttpd vs thttpd
- Lighttpd vs thttpd Part: 2
- MySQL Performance Tuning
Tricks
- Apache Error: Client denied by server configuration
- Argument list too long - Workarounds
- Error - Remote host said: 554 5.3.0 rewrite: map site3_u not found Giving up on …
- Lsof Tricks
- Qmhandle Short Display Option
- SIM / SPRI Bad Syntax Perhaps Bogus Bug
- Terminal server has exceeded maximum number of allowed connection
- Virtual IPs Under OSX
Popularity: 3%


