Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bhm(8) [debian man page]

bhm(8)								      Postal								    bhm(8)

NAME
bhm - program to send SMTP mail to /dev/null SYNOPSIS
bhm [-m maximum-message-size] [-t threads] [-p listen-port] [ -s ] [-a] [-[z|Z] debug-file] [-r reverse-dns] user-list-filename DESCRIPTION
This manual page documents briefly the bhm, program. It is designed to test the performance of SMTP relay servers by receiving mail to /dev/null at random speeds. The user-list-filename is the name of a file which contains a list of valid user's email addresses. The file may have three fields sepa- rated by spaces, the email address, the password (used for rabid) and an optional third field to specify what is to be done with the mail. A 'd' character means that it is to be deferred (SMTP 45x), a 'r' means that it is to be rejected (SMTP 55x), a 'b' means that it is to be accepted and bounced, and a 'g' means that it is to be grey-listed. The reverse-dns file is in the same format as /etc/hosts and gives the value that will be used in the 220 message. Otherwise it will be bhm The maximum-message-size indicates the size in Kilobytes that will be the maximum size of a message that will be accepted. The default is 10240k. The -s parameter enables SSL. The listen-port parameter specifies the TCP port to listen on (default 25). The threads parameter is the number of threads that may be created to receive mail. Note that your BHM machine may have hardware and OS limits that determine how many connections it may receive. The -a command turns on all logging. All message data received will be logged. This will make it slow and it may not be able to saturate a fast Ethernet link... The -z switch allows you to specify a debugging file base. From this base one file is created for each thread (with a ':' and the thread number appended), each file is used to log all IO performed by that thread for debugging purposes. The -Z switch is the same but creates a separate file for each connection as well with an attitional ':' appended followed by the connec- tion number. RETURN CODES
0 No Error 1 Bad Parameters 2 System Error, lack of memory or some other resource AUTHOR
This program, it's manual page, and the Debian package were written by Russell Coker <russell@coker.com.au>. AVAILABILITY
The source is available from http://doc.coker.com.au/projects/postal/ . See http://etbe.coker.com.au/category/benchmark for further information. SEE ALSO
postal(8),postal-list(8),rabid(8) russell@coker.com.au 0.70 bhm(8)

Check Out this Related Man Page

portslave(8)							     Portslave							      portslave(8)

NAME
portslave - terminal server program. SYNOPSIS
portslave [+config-file] port|- DESCRIPTION
This manual page documents briefly the portslave, program. This program is a getty replacement that will run it's own version of pppd, the user can specify their user-name via a login: prompt or PPP PAP negotiation. After the username and password have been supplied the user will be authenticated by the RADIUS protocol. OPTIONS
An optional first parameter is '+config-file' to specify an alternate config file. The default is /etc/portslave/pslave.conf . The next parameter is either the port number or '-'. The value '-' means that portslave is to use it's controlling tty as the serial device and inspect the config file to find the RADIUS port number which matches that. This was originally written for telnetd support (telnetd puts a '-' as the first command line parameter) but can be used for other things. To run over the telnet protocol put a config entry similar to the following in your inetd configuration: telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd -L /usr/sbin/portslave Then in the pslave.conf file put a series of entries specifying every pseudo-tty device (either ptyp0, ptyp1, etc or pts/1, pts/2 etc depending on which type of device naming you use). For the RADIUS port numbers which are to be used for telnet connections you must spec- ify the initchat as an empty string. If you want to run portslave over a clean TCP connection (no telnet protocol) then put the following in your inetd configuration: telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/portslave - AUTHOR
This man page was written by Russell Coker <russell@coker.com.au>. May be freely used and distributed without restriction. SEE ALSO
pslave.conf(5), pppd(8), ctlportslave(1) http://doc.coker.com.au/projects/portslave/ Russell Coker <;russell@coker.com.au> 2010.03.30 portslave(8)
Man Page