Skip to content


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

# ./poptester.exp
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:

patch < qregex-20040725-qmr.patch

Download: qregex-20040725-qmr.patch

Full details

Search for Related Blog Posts

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:

patch < validrcptto-qmr.cdb.patch

Download: validrcptto-qmr.cdb.patch

Full details

Search for Related Blog Posts

Popular Blog Posts

Hosting

Scripts

Security

Tips

Tricks

Popularity: 3% [?]