postal and rabid

postal - the mad postman

$ tar -xvzf /path/to/file/postal-0.59.tgz
$ cd postal-0.59
(This patch fixes a bug with -d100:0)
$ cat /path/to/file/postal-download.patch | patch -p1
$ ./configure
$ make
$ su
# make install

Create a file called 'postal.smtp' which gives the list of E-mail addresses you want to deliver to, in this case we will just have one address:

nobody@mail.t1.ws.afnog.org

Beware to choose your destination address carefully, or you could end up mailbombing someone! Now run postal:

$ /usr/local/sbin/postal -p5 mail.t1.ws.afnog.org postal.smtp -
time,messages,data(K),errors,connections,SSL connections
16:36,494,2577,0,495,0
16:37,500,2680,0,500,0
...

The flag '-p5' means generate 5 SMTP sessions in parallel, to increase the load generated. There may be a problem with the current version which causes postal to dump core, in which case just remove this flag from the command line for now.

Every 60 seconds it will generate one line of output showing:

While this is running, have a look at the output of 'netstat' on another console to see the sockets which are being opened, and/or run 'tcpdump'

For more info see 'man postal' and 'man postal-list'

rabid - the mad Biff

Create a file called 'postal.pop3' which contains username, space, password.

brian testing
$ /usr/local/sbin/rabid -d100:0 localhost postal.pop3 -
time,messages,data(K),errors,connections,SSL connections,IMAP connections
19:30,7515,3855,0,2506,0,0
19:31,7389,3791,0,2463,0,0
...

-d100:0 means that during each connection it will download 100% of the available messages but delete none of them. Without this it will download the messages the first time and delete them, so if it continually hits the same mailbox it will just receive 0 further messages. You can use '-d0' not to download messages at all (then you are just testing the number of logins per second you can accept), or set up a large number of mailboxes to test.

If the messages were delivered by 'postal', 'rabid' is able to check their integrity (they have an MD5 checksum appended)