Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

postal-list(1) [debian man page]

postal-list(1)							      Postal							    postal-list(1)

NAME
postal-list - program to show how postal expands user names SYNOPSIS
postal-list user-list-filename conversion-filename DESCRIPTION
This program shows the expansion that the postal program uses on email addresses. This can be used to make sure that you're configuration files do what you expect them to, and can also be used to produce a list of user-names for an account creation script (in case you want to create a million test accounts in a conveniant fashion). The user-list-filename is the name of a file which contains a list of user's email addresses. This can be just user-names or fully quali- fied email addresses. The conversion-filename parameter will be the name of a file containing the conversions to apply to email addresses. Each line in the file can either be a comment (starting with "#") or is to contain two parameters. The first parameter is the regular expression. For each email that is to be sent a randomly selected user-name will be checked against all regular expressions, the first match will determine the translation that is to be applied. The translation will be the second parameter on the line. It will contain a number of "." characters specifying characters in the name that are not to be translated. To specify the translations a range of characters can be specified inside square brackets. For example to have every address starting with "a" have a character from "01234567890abc" as it's second character and a character from "xyz" as it's third character you would have the following: ^a .[0-9abc][xyz] RETURN CODES
0 No Error 1 Bad Parameters 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),rabid(8),regex(7) russell@coker.com.au 0.70 postal-list(1)

Check Out this Related Man Page

clfdomainsplit(1)							 1							 clfdomainsplit(1)

NAME
clfdomainsplit - split Common-Log Format web logs based on domain name SYNOPSIS
clfdomainsplit [--help] [-i input] [-d defaultfile] [-c cfg-file] [-o directory] DESCRIPTION
The clfdomainsplit program will split up large CLF format web logs based on domain name. This is for creating separate log analysis passes for each domain hosted on your server. OVERVIEW
The input parameter specifies the file to read (default is standard input). The defaultfile parameter specifies where data goes if it doesn't have a domain (either it has an IP address for the server or it doesn't have the server-name - the URL is relative to the root of the web server only). The default will be to print them on standard error. The cfg-file parameter is for specifying the rules for determining what is a different domain name. For example www.coker.com.au belongs in the same file as coker.com.au and abc.coker.com.au because domain names ending in .au have three major components. The domain names www.workbenelux.nl and workbenelux.nl belong in the same file because domain names ending in .nl have two major components (as do .com, and .gov), wheras anything ending in .va belongs to the same organization. The rules are of the form number:pattern which lists the number of domain parts which are significant (2 for .com and for a simple string comparison, the default will be: 2:com 2:nl 3:au 3:uk If no config file is specified then it will look for /etc/clfdomainsplit.cfg. Of course comments start with #. Also note that the first match will be used! The directory parameter is to specify the location for the files to be created (default is the current directory). I recommend that you use a directory for this and nothing else as you never know how many files may be created! EXIT STATUS
0 No errors 1 Bad parameters AUTHOR
This program, its manual page, and the Debian package were written by Russell Coker <russell@coker.com.au>. SEE ALSO
clfsplit(1),clfmerge(1) russell@coker.com.au 0.06 clfdomainsplit(1)
Man Page