Fritz

I'll take a shot at this portion of the GUI, should any questions for
clarification arises, be indulgent 'cause I've been using ASSP for a little
more than 2 months.

Thanks

What's your ETA on this???

gd
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fritz
Borgstedt
Sent: December 1, 2006 8:01 AM
To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy
Subject: [Assp-user] Help! Please! 1

It would be nice, if some people (Doug??))), would pick some part of
the GUI and expand it, so that fewer questions arise. Just copy that
part and send me the expanded part.
Thanks.

[0,0,0,'heading','Network Setup'],
 # except for the heading lines, all config lines have the following:
 #  $name,$nicename,$size,$func,$default,$valid,$onchange,$description
 # name is the variable name that holds the data
 # nicename is a human readable pretty display name (oh how nice!)
 # size is the appropriate input box size
 # func is a function called to render the config item
 # default is the default value
 # valid is a regular expression used to clean and validate the input
-- no match is an error and $1 is the desired result
 # onchange is a function to be called when this value is changed --
usually undef; just updating the value is enough
 # group is the heading group belonged to.
 # description is text displayed to help the user figure what to put
in the entry

[smtpDestination,'SMTP
Destination',20,textinput,'127.0.0.1:225','(\S*)',undef,
  'The address:port of your message handling system\'s smtp server. If
only the port is entered, or the keyword
<b>__INBOUND__</b>:<i>port</i> is used, then the connection will be
established to the same IP where the connection was received. This is
usefull when you have several IPs with different domains/profiles in
your MTA.<br /> Examples:
"127.0.0.1:125","127.0.0.1:125|127.0.0.5:125", "10.0.1.3",
"10.0.1.3:1025", "__INBOUND__:125", "125", etc.'],
[AsAService,'As a Service',0,checkbox,0,'(.*)',undef,
  'In Windows 2000 / NT you can run it as a service; requires <a
href="http://www.roth.net/perl/Daemon/";
rel="external">win32::daemon</a>. Requires start from the service
control panel.'],
[AsADaemon,'As a Daemon',0,checkbox,0,'(.*)',undef,
 'In Linux/BSD/Unix/OSX fork and close file handles, kinda like "perl
assp.pl &amp;" but better. Requires restart.'],
[myName,'My Name',40,textinput,'ASSP.nospam','(\S+)',undef,
  'What the program calls itself in the email "received by" header.
Usually ASSP.nospam.'],
[listenPort,'Listen
Port',20,textinput,'125','(\S+)',ConfigChangeMailPort,
  'On what port should ASSP accept smtp connections? Normally 25. You
can supply an interface:port to limit connections.'],
[listenPort2,'Another Listen
Port',20,textinput,'','(\S*)',ConfigChangeMailPort2,
  'Listen for incoming SMTP requests on a second port.<br />
  For those who cannot use SMTP Port 25 outside of their ISP Network,
  or as a dedicated port for VPN purposes.<br />
  You can supply an interface:port to limit connections. For example:
2525 or 127.0.0.2:325'],
[smtpAuthServer,'SMTP Auth Destination',20,textinput,'','(\S*)',undef, 
  'Port to connect to when connections arrive on the second Listen
Port. If blank all incoming 
  mail will go to the main SMTP Destination, the main use is to allow
remote / travelling users to make authenticated connections, and
therefore inject their mail at the SPF-correct point in the network.
eg 127.0.0.1:587'],
[EnforceAuth,"Enforce AUTH before MAIL FROM when connecting to second
SMTP port",0,checkbox,0,'(.*)',undef,
  'Handle AUTH before MAIL From on the submit port for MTAs which fail
to enforce the requirement.  Requires "Another Listen Port" and "SMTP
Auth 
  Destination".  Otherwise does nothing.'],
[smtpReportServer,'SMTP Reporting
Destination',20,textinput,'','(\S*)',undef, 
  'Port to connect to when <b>Email Interface</b> reports are
generated and send. If blank all internal mail will go to the main
SMTP Destination.'],
[ConnectionLog,'Connections Logging',0,checkbox,0,'(.*)',undef,
  'Log an event each time a new connection is received.'],
[maxSMTPSessions,'Maximum SMTP
Sessions',5,textinput,'50','(\d?\d?\d?)',undef,
  'The maximum number of SMTP sessions (connections) to handle
concurrently.<br />
  This can help if the server is overloading. 20 simultaneous
connections is typically enough.
  no entry or zero = no limit.'],
[maxSMTPipSessions,'Maximum
Sessions/IP',5,textinput,'5','(\d?\d?\d?)',undef,
  'The maximum number of SMTP sessions (connections) to handle per IP
address concurrently.<br />
  Limit this to prevent DOS attacks, 5 simultaneous connections is
typically enough.
  no entry or zero = no limit.<br />
  Also note that the ISP &amp; accept all mail addresses are excluded
from limiting.'],
[smtpIdleTimeout,'SMTP Idle
Timeout',5,textinput,'120','(\d?\d?\d?)',undef,
  'The maximum time the connection will be allowed to be idle.<br />
  120 seconds is default. No entry or zero = no limit.'],
[SessionLog,'Session Limit Logging',0,checkbox,0,'(.*)',undef,
  'Log an event each time the above session limits are triggered.'],
[proxyserver,'Proxy Server',20,textinput,'','(\S*)',undef,
  'Use a Proxy Server for up/downloading  Format - interface:port.
  For example: 192.168.0.1:8080'],

[webAdminPort,'Web Admin
Port',20,textinput,55555,'(\S+)',ConfigChangeAdminPort,
  'On what port should ASSP listen for http connections for the web
administration interface?<br />
  Changing this will require changing the URL on your browser to
reconnect.
  You can supply an interface:port to limit connections.  <br />
  <hr />
  <div class=\"menuLevel1\">Notes On Network Setup</div>
  <input type="button" value="Notes"
onClick="javascript:popFileEditor(\'notes/network.txt\',3);">
  '],





[0,0,0,'heading','SPAM Control'],


[SpamError,'Spam Error',80,textinput,'500 Mail appears to be
unsolicited -- send error reports to
[EMAIL PROTECTED]','(5\d\d .*)',undef,
  'SMTP error message to reject spam.'],
[spamaddresses,'Spam Collect
Addresses*',60,textinput,'put|[EMAIL PROTECTED]|addresses|@here.org','(.*)
',ConfigMakeRe,
  'Mail to any of these users at are always spam and will contribute
to the spam-collection unless from someone on the whitelist;<br />
  @domain.com makes the whole domain a spam domain. A username without
domain will register across all local domains.'],
[spamtrapaddresses,'Spam Trap
Addresses*',60,textinput,'put|[EMAIL PROTECTED]|addresses|@here.org','(.*)',
ConfigMakeRe,
  'Mail to any of these users will be blocked by Penalty Box.
Whitelist will be ignored. No logging will occur;<br />
  @domain.com makes the whole domain a spam domain. A username without
domain will register across all local domains.'],

[blackListedDomains,'Blacklisted
Domains*',60,textinput,'','(.*)',ConfigMakeRe,
  'Domains from which you always want to reject mail, they only send
you spam. For example: spam.net|xxxpics.com'],
 
[redRe,'Expression to Identify Redlisted
Mail*',60,textinput,'file:redre.txt','(.*)',ConfigCompileRe,
  'If an email header matches this Perl regular expression it will be
considered redlisted. The redlist is a list of addresses that cannot
contribute to the whitelist, and who are not considered local, even if
their mail is from a local computer. For example, if someone goes on a
vacation and turns on their
  email"s autoresponder, put them on the redlist until they return.
Then as they reply
  to every spam they receive they won"t corrupt your non-spam
collection or whitelist: \\[autoreply\\]<br> Redlisted adresses will
not be added to the whitelist. Redlisted messages will not be stored
in the SPAM-collection.'],

[contentOnlyRe,'Check Contents Only
RegEx*',60,textinput,'','(.*)',ConfigCompileRe,
  "Put anything here to identify messages which should only be checked
for content. For example:  mailadresses of people who are forwarding
from other accounts to their mailbox on your server.These addresses
will bypass PB, Sender Validation, Greylist, IP Limiting, Delaying,
SPF, RBL &amp; SRS checks. "],
 
#[noGreyListUpload,'Don\'t Upload Greylist
Stats',0,checkbox,1,'(.*)',undef,
#'Check this to disable the greylist upload when rebuildspamdb runs.'],
#[nogreydownload,'Don\'t auto-download the greylist
file',0,checkbox,0,'(.*)',undef,
# 'Set this checkbox if don\'t use the greylist or want to download it
manually.'],
[AddSpamProbHeader,'Add Spam Probability
Header',0,checkbox,0,'(.*)',undef,
  'Adds a line to the email header "X-Assp-Spam-Prob: 0.0123" Probs
range from 0 to +1 where > 0.6 = spam.'],

[AddIntendedForHeader,'Add Envelope-Recipient
Header',0,checkbox,0,'(.*)',undef,
  'Adds a line to the email header "X-Assp-Intended-For: [EMAIL PROTECTED]"
.'],
[NoExternalSpamProb,'Block Outgoing Spam-Prob
header',0,checkbox,1,'(.*)',undef,
  'Check this box if you don\'t want your X-Assp-Spam-Prob header on
external mail<br />
  Note this means mail from local users to local users will also be
missing the header.'],

 
[AddSpamHeader,'Add Spam Header',0,checkbox,1,'(.*)',undef,
  'Adds a line to the email header "X-Assp-Spam: YES" if the message
is spam.'],

[AddCustomHeader,'Add Custom Header',60,textinput,'','(.*)',undef,
  'Adds a line to the email header e.g. "X-SMSMSE-SCL: 9" if the
message is spam.'],
[AddSpamReasonHeader,'Add Spam Reason
Header',0,checkbox,1,'(.*)',undef,
  'Adds a line to the email header "X-Assp-Spam-Reason: " explaining
why the message is spam.'],
[UseSubjectsAsMaillogNames,'Use Subject as Maillog
Names',0,checkbox,0,'(.*)',undef,
  'You can turn this on to help you manually identify mail in your
spam and non-spam collections.
  <br />
  <hr />
  <div class=\"menuLevel1\">Notes On Spam Control</div>
  <input type="button" value="Notes"
onClick="javascript:popFileEditor(\'notes/spamcontrol.txt\',3);">
  '],

[0,0,0,'heading','SPAM Lover'],
[spamLovers,'Spam-Lover
Addresses*',60,textinput,'postmaster','(.*)',ConfigMakeRe,
  'Spamlover addresses have messages processed by ASSP but they are
not blocked. 
Spamlover addresses will still contribute to the corpus. Spam
addressed entirely to spam lovers is not blocked. Mail addressed to
both spam lovers and non spam lovers IS blocked.<br />
  Accepts specific addresses ([EMAIL PROTECTED]), addresses at local
domains (user), or entire local domains (@domain.com).<br />
  Separate entries with pipes: |. For example:
[EMAIL PROTECTED]|fhanna|@sillyguys.org'],
[baysSpamLovers,'Bayesian Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'Bayesian Spam-Lover Addresses.'],
[blSpamLovers,'Blacklisted Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'Blacklisted Spam-Lover Addresses.'],
[bombSpamLovers,'Bomb Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'Bomb & Script Spam-Lover Addresses.'],
[hlSpamLovers,'HELO Listed Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'HELO Listed Spam-Lover Addresses.'],
[spfSpamLovers,'SPF Failures Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'SPF Failures Spam-Lover Addresses.'],
[rblSpamLovers,'RBL Failures Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'RBL Failures Spam-Lover Addresses.'],
[srsSpamLovers,'Not SRS Signed Bounces Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,'Not SRS Signed
Bounces Spam-Lover Addresses.'],
[delaySpamLovers,'Not Delaying Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,'Not Delaying
Spam-Lover Addresses.'],
[isSpamLovers,'Invalid Sender Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'This includes -Invalid Format Helo-,-Reversed Lookup-,-Missing
MX/A- failed messages. '],
[pbSpamLovers,'Penalty Box Blocking Spam-Lover
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'Penalty Box Blocking Spam-Lover Adresses.'],

[spamSubjectSL,"Suppress Spam Subject to
Spam-Lover-mail",0,checkbox,0,'(.*)',undef,
  'If set  spamSubject gets NOT prepended to the subject of the
Spam-Lover-email.
  <br /><hr />
  <div class=\"menuLevel1\">Notes On Spam Lover</div>
  <input type="button" value="Notes"
onClick="javascript:popFileEditor(\'notes/spamlover.txt\',3);">
'],

[0,0,0,'heading','Whitelisting'],
[whiteListedDomains,'Whitelisted
Domains*',60,textinput,'sourceforge.net','(.*)',ConfigMakeRe,
  'Domains from which you want to receive all mail<br />
  Your ISP, domain registration, mail list servers, stock broker, or
other key business partners might be good candidates.<br />
  Note this matches the end of the address, so if you don\'t want to
match subdomains then include the @.<br />
  Note that buy.com would also match spambuy.com but .buy.com won\'t
match buy.com.<br />
  DO NOT put your local domains on this list. For example:
sourceforge.net|@google.com|.buy.com'],
[MaxWhitelistDays,'Max Whitelist Days',5,textinput,'90','(\d+)',undef,
  'This is the number of days an address will be kept on the whitelist
without any email to/from this address.'],
[WhitelistOnly,'Reject All But Whitelisted
Mail',0,checkbox,0,'(.*)',undef,
  'Check this if you don\'t want Bayesian filtering and want to reject
all mail from anyone not whitelisted.<br />
  Note: this turns the redlist into a blacklist.'],
[NoMaillog,'Don\'t log mail',0,checkbox,0,'(.*)',undef,
  'Check this if you\'re using Whitelist-Only and don\'t care to save
mail to build the Bayesian database.'],
[NotGreedyWhitelist,'Only the envelope-sender is added/compared to the
whitelist',0,checkbox,0,'(.*)',undef,
  'Normal operation includes addresses in the FROM, SENDER, REPLY-TO,
ERRORS-TO, or LIST-* header fields.<br />
  This allows nearly all list email to be whitelisted. Check this
option to disable this.'],
[WhitelistLocalOnly,'Only local or authenticated users contribute to
the whitelist.',0,checkbox,0,'(.*)',undef,
  'Normal operation allows all local, authenticated, or whitelisted
users to add to the whitelist.<br />
  Check this box to not allow whitelisted users to add to the
whitelist.'],
[WhitelistLocalFromOnly,'Only users with a local domain in mailfrom
contribute to the whitelist.',0,checkbox,1,'(.*)',undef,
  'Check this box to prevent *sender* with remote domain from being
added to the whitelisted. (eg. redirected messages).'],
[KeepWhitelistedSpam,'Keep Whitelisted Spam',0,checkbox,0,'(.*)',undef,
  'Check this box if you don\'t want rebuildspamdb to remove entries
from the spam collection
   after subsequent whitelisting.<br /> Checking this box will speed
up your rebuild.'],
[UpdateWhitelist,'Save Whitelist',10,textinput,3600,'(\d+)',undef,
  'Save a copy of the white list every this many seconds.<br />
  Note: the current timeout must expire before the new setting is
loaded, or you can restart.
  <br /><hr />
  <div class=\"menuLevel1\">Notes On Whitelist</div>
  <input type="button" value="Notes"
onClick="javascript:popFileEditor(\'notes/whitelist.txt\',3);">
'],
[0,0,0,'heading','Noprocessing Options'],

[noProcessing,'Unprocessed
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'Mail solely to or from any of these addresses are ignored by
ASSP.<br />
  Like a more efficient version of spamLovers &amp; redlist combined.
Valid entry types are as per spamlovers.'],
[npRe,'Expression to Identify No-processing
Mail*',60,textinput,'','(.*)',ConfigCompileRe,
  'If an email header matches this Perl regular expression it will
pass through unprocessed. For example: \\[autoreply\\]<br /><hr />
  <div class=\"menuLevel1\">Notes On Noprocessing</div>
  <input type="button" value="Notes"
onClick="javascript:popFileEditor(\'notes/noprocessing.txt\',3);">
'],
[0,0,0,'heading','Relaying'],
[ispip,'ISP/Secondary MX
Servers*',60,textinput,'','(\S*)',ConfigMakeRe,
  'Enter any addresses that are your ISP or backup MX servers,
separated by pipes (|). <br />
  These addresses will (necessarily) bypass Greylist, IP Limiting,
Delaying, Penalty Box, SPF, RBL &amp; SRS checks. For example:
127.0.0.1|10.'],
[ispgreyvalue,'ISP/Secondary MX Grey
Value',5,textinput,'','(\S*)',undef,
  'It is recommended that for ISP &amp; Secondary MX servers to bypass
their greylist values<br />
  For eg. 0.5 (Completely grey). If left blank then the greylist "X"
value is used.<br />
  Note: value should be greater than 0 and less than 1, where 0 =
never spam &amp; 1 = always spam'],
[acceptAllMail,'Accept All Mail*',60,textinput,'','(.*)',ConfigMakeRe,
  'These hosts contribute to the whitelist.<br />
  For example: 127.0.0.1|10.|169.254.|172.16.|192.168.'],
[relayHostFile,'Relay Host File',40,textinput,'','(.*)',undef,
  'Like Accept All Mail, but <b>OBSOLETE! Please use -><i>Accept All
Mail</i>.</b>'],
[localDomains,'Local
Domains*',60,textinput,'putYourDomains.com|here.org','(.*)',ConfigMakeRe,
  'Addresses in these domains are considered local delivery. Separate
addresses with |. Include all subdomains.<br />
  For example: put.YourDomains.com|here.org'],
[localDomainsFile,'Local Domains File',40,textinput,'','(.*)',undef,
  'Like Local Domains, but <b>OBSOLET! Please use -><i>Local
Domains</i>.</b>'],
[ldLDAP,'Do LDAP lookup for local domains',0,checkbox,0,'(.*)',undef,
  'Check local domains against an LDAP database.<br />
  Note: Checking this requires filling in LDAP Filter below and LDAP
parameters in Other Setting section.<br />
  This requires an installed <a
href="http://search.cpan.org/~gbarr/perl-ldap-0.31/lib/Net/LDAP.pod";
rel="external">NET::LDAP</a> module in PERL.'],
[ldLDAPFilter,'LDAP Filter',60,textinput,'','(\S*)',undef,
  'This filter is used to query the LDAP database. This strongly
depends on the LDAP structure.<br />
  The filter must return an entry if the domain must be relayed.<br />
  The literal DOMAIN is replaced by the domain name during the
search.<br />'],
[BounceSenders,'Bounce
Senders*',60,textinput,'postmaster|mailer-daemon','(.*)',ConfigMakeRe,
  'Envelope sender addresses treated as bounce origins. Null sender
(&lt;&gt;) is always included.<br />
  Accepts specific addresses ([EMAIL PROTECTED]), usernames
(mailer-daemon), or entire domains (@bounces.domain.com)<br />
  Separate entries with pipes: |. For example:
postmaster|mailer-daemon'],
[PopB4SMTPFile,'Pop Before SMTP DB File',40,textinput,'','(.*)',undef,
  'Enter the DB database filename of your POP before SMTP
implementation with records stored for
  dotted-quad IP addresses<br />
  For example: /etc/mail/popip.db If it\'s got something else, you\'ll
need to edit the PopB4SMTP subroutine.'],
[PopB4SMTPMerak,'Pop Before SMTP Merak
Style',0,checkbox,'','(.*)',undef,
  'If set Merak 7.5.2 is supported.'],
[relayHost,'Relay Host',20,textinput,'','(\S*)',undef,
  'Your isp\'s mail relayhost (smarthost). For example:
mail.isp.com:25<br />
  If you run Exchange/Notes and you want assp to update the nonspam
database and the whitelist, then enter your isp\'s<br />
  smtp relay host here. Blank means no relayhost. Only required if
clients don\'t deliver through SMTP, or when SRS is enabled.'],
[relayPort,'Relay Port',20,textinput,'','(\S*)',ConfigChangeRelayPort,
  'Tell your mail server to connect to this port (e.g. 127.0.0.1:225
or 127.0.0.2) as its smarthost / relayhost.
  For example: 225<br /> Note that you\'ll want to keep the relayPort
protected from external access by your firewall.<br />
  You can supply an interface:port to limit connections.'],
  
[NoRelaying,'No Relaying Error',80,textinput,'530 Relaying not
allowed','(5\d\d .*)',undef,
  'SMTP error message to deny relaying.'],
[defaultLocalHost,'Default Local Host',40,textinput,'','(\S*)',undef,
  'If you want to be able to send mail to local users without a domain
name then put the
  default local domain here.<br /> Blank disables this feature. For
example: mydomain.com<br /><hr />
  <div class=\"menuLevel1\">Notes On Relaying</div>
  <input type="button" value="Notes"
onClick="javascript:popFileEditor(\'notes/relaying.txt\',3);">'],
 
[0,0,0,'heading','Validate Local Addresses'],
[NoValidRecipient,'No-Valid-Local-User Reply',80,textinput,'550 5.1.1
User unknown','([5|2]\d\d .*)',undef,
  'SMTP reply for invalid Users. Default: \'550 5.1.1 User
unknown\'<br />
  You may reply with a \'fake OK\' by entering \'250 OK - Recipient
&lt;EMAILADDRESS&gt;\'
  to confuse address harvesters.<br />
  The literal EMAILADDRESS (case sensitive) is replaced by the fully
qualified SMTP recipient (e.g. [EMAIL PROTECTED]).'],
[DoRFC822,'Validate local addresses to conform with RFC
822',0,checkbox,1,'(.*)',undef,
  'If activated, each local address is checked to conform with the
email format defined in RFC 822.<br />
  This requires an installed <a
href="http://search.cpan.org/~maurice/Email-Valid-0.15/Valid.pm";
rel="external">Email::Valid</a> module in PERL.'],
[LocalAddresses_Flat,'Local
Addresses*',60,textinput,'','(.*)',ConfigMakeRe,
  'These email addresses are considered local by ASSP. You can list
specific addresses ([EMAIL PROTECTED]),<br />
  addresses at any local domain (user), or entire local domains
(@mydomain.com). Separate entries with pipes: |.<br />
  For example: [EMAIL PROTECTED]|fhanna|@sillyguys.org or place
them in a plain ASCII file one address per line.'],
[DoLDAP,'Do LDAP lookup for valid local
addresses',0,checkbox,0,'(.*)',undef,
  'Check local addresses against an LDAP database before accepting the
message.<br />
  Note: Checking this requires filling in LDAP Filter below and LDAP
parameters in Other Setting section.
  This requires an installed <a
href="http://search.cpan.org/~gbarr/perl-ldap-0.31/lib/Net/LDAP.pod";
rel="external">NET::LDAP</a> module in PERL.'],
[LDAPLog,'Enable LDAP logging',0,checkbox,0,'(.*)',undef,
  'Enables verbose logging of LDAP actions in the maillog. Default is
to log  errors only.
'],
[LDAPHost,'LDAP
Host(s)',60,textinput,'localhost','(\S*)',updateLDAPHost,
  'Enter the DNS-name(s) or IP address(es) of the server(s) that
run(s) the LDAP database. For example: localhost. Separate entries
with pipes: eg. LDAP-1.domain.com|LDAP-2.domain.com' ],
[LDAPLogin,'LDAP Login',60,textinput,'','(.*)',undef,
  'Most LDAP servers require a login and password before they allow
queries.<br />
  Enter the DN specification for a user with sufficient permissions
here.<br />
  For example: cn=Administrator,cn=Users,DC=yourcompany,DC=com'],
[LDAPPassword,'LDAP Password',20,passinput,'','(.*)',undef,
  'Enter the password for the specified LDAP login here.'],
[LDAPRoot,'LDAP Root container',60,textinput,'','(.*)',undef,
  'The LDAP lookup will use this container and all sub-containers to
match the query.<br />
  The literal DOMAIN is replaced by the domain part of SMTP recipient
  (eg. domain.com) during the search.<br />For example:
DC=yourcompany,DC=com'],
[LDAPFilter,'LDAP Filter',60,textinput,'','(\S*)',undef,
  'This filter is used to query the LDAP database. This strongly
depends on the LDAP structure.<br />
  The filter must return an entry if the recipient address matches
with that of any user.<br />
  The literal EMAILADDRESS is replaced by the fully qualified SMTP
recipient (eg. [EMAIL PROTECTED]) during the search.<br />The literal
USERNAME is replaced by the user part of SMTP recipient
  (eg. user) during the search.<br />
  The literal DOMAIN is replaced by the domain part of SMTP recipient
  (eg. domain.com) during the search.<br />
  For example: (proxyaddresses=smtp:EMAILADDRESS)'],
[LDAPFail,'LDAP failures return false',20,checkbox,'','(.*)',undef,
  'If checked when an error occurs in LDAP lookups the test fails'],
[ValidateLog,'Enable Validation logging',0,checkbox,0,'(.*)',undef,
  'Enables verbose logging of local address validation actions in the
maillog. Default is to log validation errors only.
  <br /><hr />
  <div class=\"menuLevel1\">Notes On Validate Recipients</div>
  <input type="button" value="Notes"
onClick="javascript:popFileEditor(\'notes/recipients.txt\',3);">
'],
[0,0,0,'heading','Penalty Box'],
[DoPenalty,'Penalize Bad IP\'s',1,textinput,0,'(\d*)',undef,
  'If activated, bad behaving IP\'s will be send to the Penalty
Box.<br />Entries in <i>Don\'t Delay these IP\'s</i> or
<i>ISP/Secondary MX Servers</i> will prevent from penalties.
<b>Attention! The Penalty Box should be used very carefully und
closely monitored to find the right combination of scores for the
installation. Switch it off if you are unsure.</b>.
  <span class="negative"> 0 = deactivate, 1 = activate, 2 = logging
only, 3 = score only</span>'],

[PenaltyLog,'Enable PB logging',1,textinput,1,'(\d*)',undef,
  'Enables verbose logging of all PB actions in the maillog.<span
class="negative"> 0 = no log, 1 = denying, 2 = all.</span>'],
[AddScoringHeader,'Add PB Scoring Header',0,checkbox,1,'(.*)',undef,
  'Adds a line to the email header "X-Assp-PB-Score: " showing the
score of the check.'],

[pbdb,'Penalty Box Database',40,textinput,'pb/pbdb','(\S*)',undef,'The
directory/file with the penaltybox database files. You can delete
entries, but do not add entries. Use <i>Don\'t Delay these IP\'s</i>
or <i>ISP/Secondary MX Servers</i> for whitelisting of IP\'s and <a
href="./#denySMTPConnectionsFrom">Deny SMTP Connections From these
IP\'s</a> for blacklisting<br /><input type="button" value=" Show
Black"
onClick="javascript:popFileEditor(\'pb/pbdb.black.db\',2);"><input
type="button" value="Show White"
onClick="javascript:popFileEditor(\'pb/pbdb.white.db\',2);">'],
[PenaltyUseNetblocks,'Use IP Netblocks',0,checkbox,0,'(.*)',undef,
  'Perform the IP address checks of the sending host based on the /24
subnet  rather than on the specific IP.'],

[PenaltyError,'Penalty Reply',60,textinput,'','(.*)',undef,
  'If set SMTP reply for Penalty Deny. eg: \'554 5.7.1 Error, send
your mail to [EMAIL PROTECTED] to ensure delivery\'.'],
[PenaltyDuration,'Collection
Interval',4,textinput,60,'(\d?\d?\d?\d?)',updatePenaltyDuration,
  "IP\'s will be blocked if their score exceeds the threshhold during
this interval (minutes)."],
[PenaltyLimit,'Threshhold',3,textinput,50,'(\d*)',undef,
  'PB will block IP\'s whose score exceeds this threshhold during the
Penalty Interval. <br /> <br />Successfull ASSP checks will increase
the internal score per IP. If you set the score higher, the threshold
will be reached earlier. For example: 50'],
[PenaltyExpiration,'Expiration
Time',4,textinput,360,'(\d?\d?\d?\d?)',updatePenaltyExpiration,
  "Penalties will expire after this number of minutes. If set to Zero
the Penalty DB (black) will be deleted and start from scratch."],

[PenaltyExtreme,'Extreme Threshold',3,textinput,150,'(\d*)',undef,
  'If set PB will deny  SMTP-connections from IP\'s whose score exceed
this level. For example: 150'],

[DoExtremeWL,'Whitelisted Denying',0,checkbox,0,'(.*)',undef,
  'Enable Denying for whitelisted addresses.'],
[DoExtremeNP,'NonProcessing Denying',0,checkbox,0,'(.*)',undef,
  'Enable Denying for addresses on the noProcessing list.'],
[ExtremeExpiration,'Expiration Time for Extreme
Denials',4,textinput,7,'(\d?\d?\d?\d?)',undef,,
  "Extreme Penalties will expire after this number of days. For
example: 7"],

[exportExtremeFile,'Exported Black Extreme  IP\'s
*',40,textinput,'','(\S*)',ConfigMakeRe,
  'IP\'s in black.db which surpassed the extreme level will be
regularly stored to this file - if defined. For example:
file:pb/exportextreme.txt'],

[vdValencePB,'Virus detected Score',3,textinput,15,'(\d*)',undef, ''],
[baysValencePB,'Bayesian Score',3,textinput,0,'(\d*)',undef, ''],
[blValencePB,'Blacklisted Domain Score',3,textinput,5,'(\d*)',undef,
''],
[rblValencePB,'RBL-Failed Score',3,textinput,100,'(\d*)',undef,''],
[spfValencePB,'SPF-Failed Score',3,textinput,0,'(\d*)',undef,''],
[spfsValencePB,'SPF-SoftFailed Score',3,textinput,0,'(\d*)',undef,''],
[spfnValencePB,'SPF-Neutral Score',3,textinput,0,'(\d*)',undef,''],
[blackValencePB,'BlackRe Expression
Score',3,textinput,5,'(\d*)',undef, ''],
[bombValencePB,'Bomb Expression Score',3,textinput,5,'(\d*)',undef,
''],

[ihValencePB,'Invalid HELO Score',3,textinput,15,'(\d*)',undef, ''],
[fhValencePB,'Forged HELO Score',3,textinput,200,'(\d*)',undef, ''],
[hlValencePB,'Blacklisted HELO Score',3,textinput,5,'(\d*)',undef, ''],
[flValencePB,'Forged Local Sender Score',3,textinput,10,'(\d*)',undef,
''],
[mxValencePB,'Missing MX/A Record Score',3,textinput,10,'(\d*)',undef,
''],
[ptValencePB,'Missing PTR Record Score',3,textinput,10,'(\d*)',undef,
''],
[saValencePB,'Spam Bucket Address Score',3,textinput,25,'(\d*)',undef,
''],
[stValencePB,'Spam Trap Address Score',3,textinput,25,'(\d*)',undef,
''],
[rlValencePB,'Failed Relay Attempt
Score',3,textinput,15,'(\d*)',undef, ''],
[irValencePB,'Invalid Recipient Score',3,textinput,5,'(\d*)',undef,
''],
[ilValencePB,'IP Limit Score',3,textinput,10,'(\d*)',undef, ''],
[erValencePB,'Empty Recipients Score',3,textinput,5,'(\d*)',undef, ''],
[meValencePB,'Max Errors Exceeded Score',3,textinput,15,'(\d*)',undef,
  ' <br /><hr />
  <div class=\"menuLevel1\">Notes On Penalty Box</div>
  <input type="button" value="Notes"
onClick="javascript:popFileEditor(\'notes/penaltybox.txt\',3);">'],
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to