"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 # xstress : Configuration File
2 #
3 # xstress - xk0derz SMTP Stress Tester
4 #
5 # http://xstress.sourceforge.net
6 #
7 # (c) 2007-08, Amit Singh, amit@xkoder.com
8 # http://blog.xkoder.com, http://xkoder.com
9 #
10 # This software and related files are licensed under GNU GPL version 2
11 # Please visit the following webpage for more details
12 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
13 #
14
15 # This is the default configuration file supplied with xstress
16 # Please edit it before you use xstress
17 #
18 # Some notes about editing this file
19 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 #
21 # Don't play with spaces, the parser is not designed to handled extra spaces
22 # before or after the text.
23 # Comments start with the hash (#) sign on the first column ONLY
24 # Most of the configuration file is self explanatory, comments are provided wherever
25 # necessary. You may read the accompanying README file for more details.
26 #
27
28 # Main confing section
29 # Configure the way xstress will behave
30 [CONFIG]
31 SERVER=127.0.0.1
32 PORT=25
33 THREADS=10
34
35 # A Value of ZERO for MAILS_PER_THREAD means unlimited mails per thread
36 MAILS_PER_THREAD=3
37
38 ##
39 ## Authentication data
40 ## ** UNCOMMENT the lines starting with USERNAME and PASSWORD **
41 ## To activate AUTH PLAIN authentication.
42 ##
43 #USERNAME=yourUsername
44 #PASSWORD=yourPassword
45 ##
46 ## Currently only AUTH 'PLAIN' is supported
47 ## so uncommenting the line below has no effect in this release.
48 ##
49 #AUTH_TYPE=PLAIN
50
51 # Number recipients per mail.
52 MAX_RECIPIENTS=5
53
54 #Print a message on screen after sending specified number of mails per thread
55 #ZERO means print no message
56 REPORT_AFTER=10
57
58 # Log file path
59 LOG_FILE=xstress.log
60
61 # Socket I/O Timeout in seconds
62 # When a timeout occurs, xstress will skip sending that mail and move to next mail
63 TIMEOUT=15
64
65 # Specify whether timeouts should be logged or not.
66 LOG_TIMEOUT=true
67
68 # Log cache threshold in bytes
69 # These many bytes are cached in memory before writing to the log file.
70 # This is done so that disk I/O does not become a bottelneck for overall
71 # performance.
72 LOG_CACHE_THRESHOLD=512
73
74 # Debugging
75 DEBUG=false
76
77 # Recipient Addresses
78 # List of TO addresses, one per line
79 [TO]
80 someone@somewhere.com
81
82 # Sender Addresses
83 # List of FROM addresses, one per line
84 [FROM]
85 me@thisplace.com
86
87 # List of Subjects to be used, one per line
88 [SUBJECT]
89 This is a test
90 This is some test
91 This is some more test
92 More varied subject
93 Finance
94
95 # Mail Body
96 # ~~~~~~~~~
97 # List of files/directory which will be read to fetch mail content
98 # If a DIRECTORY is specified, all files contained in that directory
99 # are used for body text
100 [BODY]
101 ../src/
102 body1.txt
103 body_dir
104
105 # Attachments
106 # ~~~~~~~~~~~
107 # List of files/directory which will be attched to mails.
108 # If a DIRECTORY is specified, all files contained in that directory are
109 # used as attachment. You may specify a TYPE for directories too. All
110 # Files in that directory will be treated as the 'type' specified.
111 #
112 # The format is:
113 # full_path_to_file_OR_dir![type]
114 # where type can be one of the following:
115 # exe - executable binary files
116 # bin - Generic binary file
117 # html - HTML Text File
118 # plain - plain text file
119 # jpeg - JPEG Image file
120 #
121 # IF NO TYPE IS SPECIFIED 'bin' is assumed
122 # SO MAKE SURE TO USE 'plain' if you intende to attach plain
123 # text files (for SPAM checking etc.)
124 #
125 [ATTACHMENT]
126 xstress!bin
127 attach_dir!html
128 attach_dir/images_dir!image