VERSION (String) - Configuration file version
MYSELF (String) - My own names, IPs and aliases
J_HOSTNAME (Option) - How to get mailserver hostname ?
PRESENCE (Option) - Show/Hide presence (presence header)
Values : SHOW/HIDE
Default : SHOW
FOOTER (Option) - Show/Hide j-chkmail signature at warning message
Values : SHOW/HIDE
Default : SHOW
FILTER_URL (String) - Filter
URL (to be included on X-Miltered header)
POLICY_URL (String) - Policy filtering
URL - appended to reply messages
If your domain has a web page to inform people about your email policies, you define this option, with some
URL, j-chkmail will append a reference -
See POLICY_URL - to each reply done in
SMTP session
Default :
DAEMON_FILTER_DISABLE (String) -
SMTP daemons to disable filtering
When your MTA is listening of different IP addresses and ports, it may be useful to enable/disable filtering for some of them. E.g., if you want to filter incoming messages but not outgoing messages (this isn't yet implemented).
Syntax : NAME:PORT, NAME:PORT, …
Default :
USER (String) - Filter USER ID
GROUP (String) - Filter GROUP ID
FILE_DESCRIPTORS (String) - Number of available file descriptors (integer value or MAX)
FD_FREE_SOFT_LIMIT (Integer) - Available file descriptors soft lower bound
FD_FREE_HARD_LIMIT (Integer) - Available file descriptors hard lower bound
USE_SELECT_LIMIT (Option) - Available file descriptors limited by select function
CPU_IDLE_SOFT_LIMIT (Integer) - SOFT CPU Idle threshold to accept connections
CPU_IDLE_HARD_LIMIT (Integer) - HARD CPU Idle threshold to accept connections
MAX_OPEN_CONNECTIONS (Integer) - Maximum number of simultaneous open connections
This Section defines how j-ndc command line tool communicates with j-chkmail.
CTRL_CHANNEL_ENABLE (Option) - Enable remote control channel
Values : NO/YES
Default : YES
CTRL_SOCKET (String) - Control socket
CTRL_ACCESS (Option) - How to do access control over control channel
CONFDIR (String) - j-chkmail configuration directory
ERROR_MSG_FILE (String) - Notification template
ACCESS_FILE (String) - j-chkmail access data
AUTO_RELOAD_TABLES (Integer) - Periodic configuration reload interval
MODULES_CF (String) - Modules
LOG_FACILITY (String) - syslog facility
LOG_LEVEL (Integer) - j-chkmail log level
LOG_SEVERITY (Option) - Add a severity tag to syslog lines
CLUSTER (Option) - Filter sharing resources inside a cluster (spool/server)
Values : NO/YES
Default : NO
LOG_ATTACHMENTS (Option) - Log attached files (using syslog)
Values : NO/YES
Default : NO
LOG_THROTTLE (Option) - Periodically log server throttle (using syslog)
Values : NO/YES
Default : YES
LOG_LOAD (Option) - Periodically log CPU load (using syslog)
Values : NO/YES
Default : YES
LOG_GREY_CLEANING (Option) - Log results of greylist database maintenance
Values : NO/YES
Default : NO
DUMP_COUNTERS (Option) - Periodically dump internal counters
Values : NO/YES
Default : YES
STATS_INTERVAL (Integer) - Time interval used to dump periodical data (load, throttle, …)
HISTORY_ENTRIES (Integer) - Number of entries of history (times 1024)
WORKROOT (String) - j-chkmail root directory
WORKDIR (String) - j-chkmail work directory (state and specific logs)
SPOOLDIR (String) - j-chkmail message spool directory
PID_FILE (String) - j-chkmail pid file
STATS_FILE (String) - STATS_FILE
CLEANUP_INTERVAL (Integer) - Quarantine directory clean-up interval
QUARANTINE_LIFETIME (Integer) - Quarantine
QUARANTINE_ADD_FROM_LINE (Option) - Add From line to quarantine file ?
Values : NO/YES
Default : YES
QUARANTINE_LOG_FILE (String) - Quarantine log file
ARCHIVE (Option) - Archiving messages
CDBDIR (String) - j-chkmail constant databases directory
DB_CACHE_SIZE (Integer) - BerkeleyDB constant databases cache size
DB_POLICY (String) - Policy database path
POLICY_CONFLICT (Option) - What to do if users policy conflit
FROM_PASS_TOKEN (String) - Token
Not yet implemented
Default :
TO_PASS_TOKEN (String) - Token
Not yet implemented
Default :
RESOLVE_CACHE_ENABLE (Option) - Address resolution (IP address / hostname) cache
The address resolution cache is used to avoid
DNS queries to resolve address resolutions when quering the filter for some statistics.
Values : NO/YES
Default : YES
RESOLVE_CACHE_SYNC (Integer) - Interval between cache synchronization
RESOLVE_CACHE_CHECK (Integer) - Interval between cache maintenance
RESOLVE_CACHE_EXPIRE (Integer) - Expiration age of non refreshed entries
NOTIFY_SENDER (Option) - Enable sender notification
When this option is enabled, notifications after virus or X-Files are sent to the message sender. This is, most of the time, a bad idea as virus are usually spread using forged addresses.
Values : NO/YES
Default : NO
NOTIFY_RCPT (Option) - Enable recipient notification
J_SENDER (Option) - Sender address used for notification message
This option defines the sender of notifications appearing in headers and, for some versions of the MTA, the enveloppe. If the special value SENDER is used, the sender will be preserved.
Values : SENDER/OTHER
Default : SENDER
J_SUBJECT (Option) - Subject of replacement notification message
XFILES (Option) - What to do with X-files ? (OK, REJECT, NOTIFY, DISCARD)
XFILES_FILE (String) - X-Files (file extension +
MIME type) configuration
XFILE_SAVE_MSG (Option) - Shall quarantine messages containing X-Files ?
Values : NO/YES
Default : YES
XFILE_SUBJECT_TAG (String) - Tag to be inserted on Subject
XFILES_LOG_FILE (String) - Detected X-Files log file
This section contains the options to connect j-chkmail to an external virus scanner and what to do with the results
SCANNER_ACTION (Option) -
SCANNER_SOCK (String) - Communication socket between j-chkmail and external scanner
This option defines the socket used by j-chkmail to connect to the external scanner.
Syntax : inet:PORT@HOSTNAME | local:SOCKET_PATH
Default : inet:2002@localhost
SCANNER_PROTOCOL (Option) - Protocol
SCANNER_TIMEOUT (Integer) - Timeout waiting for the scanner answer
SCANNER_REJECT_ON_ERROR (Option) - Reject messages when scanner call returns an error
SCANNER_MAX_MSG_SIZE (Integer) - Max message size to pass to scanner
SCANNER_SAVE (Option) - Shall messages be quarantined ???
VIRUS_LOG_FILE (String) - Detected Virus log file
BAYESIAN_FILTER (Option) - Enable Bayesian filter
Values : NO/YES
Default : NO
BAYES_MAX_MESSAGE_SIZE (Integer) - Max message size
BAYES_MAX_PART_SIZE (Integer) - Max message part size
BAYES_HAM_SPAM_RATIO (Integer) - Ratio HAM/SPAM (times 1000)
BAYES_NB_TOKENS (Integer) - Number of tokens to consider
BAYES_UNKNOWN_TOKEN_PROB (Integer) - Probability assigned to unknown tokens (times 1000)
DB_BAYES (String) - Path of bayes tokens database
SPAM_REGEX (Option) - Do pattern matching
Values : NO/YES
Default : NO
REGEX_FILE (String) - Regular expressions configuration file
REGEX_MAX_SCORE (Integer) - Stop doing pattern matching when score is reached
SPAM_REGEX_MAX_MSG_SIZE (Integer) - Max message size to do pattern matching
SPAM_REGEX_MAX_MIME_SIZE (Integer) - Max message size to do pattern matching
DUMP_FOUND_REGEX (Option) - Log founded regular expressions to file
Values : NO/YES
Default : YES
REGEX_LOG_FILE (String) - Matched pattern log file
SPAM_ORACLE (Option) - Do heuristic filtering
Values : NO/YES
Default : NO
ORACLE_SCORES_FILE (String) - Oracle scores
ORACLE_DATA_FILE (String) - Some oracle definitions
LOG_LEVEL_ORACLE (Integer) - Heuristic filter log level (0, 1 or 2)
ORACLE_STATS_FILE (String) - Statistics for Oracle (dumped each STATISTICS_INTERVAL seconds)
ORACLE_COUNTERS_FILE (String) - Persistent state of Oracle
SCORE_ON_SUBJECT (Option) - Shall message score be inserted on Subject Header ?
Values : NO/YES
Default : NO
SCORE_ON_SUBJECT_TAG (String) - Tag to be inserted on Subject ?
XSTATUS_HEADER (String) - Status header
XSTATUS_HEADER_HI_CONDITION (String) - When to add a 'X-j-chkmail-Status: HI' Header
XSTATUS_HEADER_LO_CONDITION (String) - When to add a 'X-j-chkmail-Status: LO' Header
XSTATUS_HEADER_UNSURE_CONDITION (String) - When to add a 'X-j-chkmail-Status: UNSURE' Header
XSTATUS_HEADER_HAM_CONDITION (String) - When to add a 'X-j-chkmail-Status: HAM' Header
XSTATUS_REJECT_CONDITION (String) - Reject message if this regular expression matches X-j-chkmail-score header
XSTATUS_REJECT_ONLY_UNKNOWN (Option) -
Values : NO/YES
Syntax :
Default : YES
XSTATUS_QUARANTINE_CONDITION (String) - If this regular expression matches X-j-chkmail-score header, the message is quarantined
REMOVE_HEADERS (String) - List of headers to remove
X-j-chkmail-Status,X-Spam-Flag,X-Spam-Status
Syntax : NONE | List of comma separated headers
Default : NONE
REMOVE_SCORES (String) - List of headers to remove
X-j-chkmail-Status,X-Spam-Flag,X-Spam-Status
Syntax : NONE | List of comma separated servers
Default : NONE
DNS_IPRBWL (String) - Real-Time Black/White Lists
Syntax :
Default :
j-tables:DNS-IP-RBWL
CHECK_CONN_RATE (Option) - Enable connection rate limiting
When enabled, j-chkmail will limit the number of connections, per
SMTP client, evaluated on a sliding window of size 10 minutes
Values : NO/YES
Default : NO
MAX_CONN_RATE (Integer) - Max connection rate (can be redefined at j-policy database)
CHECK_OPEN_CONNECTIONS (Option) - Enable simultaneous connections limiting
When this feature is enabled, j-chkmail will limit the number of simultaneous connections, per
SMTP client.
Values : NO/YES
Default : NO
MAX_CONN_OPEN (Integer) - Max open connections for a single IP on unknown network
This option defines the default max number of simultaneous connections per
SMTP client. This value can be overriden by those defined at policy database
Default : 10
CHECK_EMPTY_CONNECTIONS (Option) - Check the number of empty connections
Values : NO/YES
Default : NO
MAX_EMPTY_CONN (Integer) - Maximum number of empty connections over 4 hours
DELAY_CHECKS (Option) - Delay reject decisions
When this option is enabled, reject decisions based on client behaviour (rate limits, too many errors, …) are reported till the first
SMTP MAIL command, when client authentication information may be available.
Values : NO/YES
Syntax :
Default : NO
CHECK_BADRCPTS (Option) - Check the number or Bad Recipients
Values : NO/YES
Default : NO
MAX_BADRCPTS (Integer) - Maximum number of Bad Recipients over 4 hours
CHECK_RCPT_ACCESS (Option) - Recipient Access and validation
Values : NO/YES
Default : NO
DB_RCPT (String) - Recipient database path
SPAMTRAP_RESULT (Option) - Result from SPAM TRAP check
CHECK_SPAMTRAP_HISTORY (Option) - Reject connections from clients sending messages to spam traps
Values : NO/YES
Default : NO
CHECK_RCPT_RATE (Option) - Limit recipient rate for each
SMTP client
Values : NO/YES
Default : NO
MAX_RCPT_RATE (Integer) - Max recipient rate (can be redefined at j-policy database)
CHECK_NB_RCPT (Option) - Check the number of recipients for each message
Values : NO/YES
Default : NO
MAX_RCPT (Integer) - Max recipient per message for connections coming from unknown network
CHECK_MSG_RATE (Option) - Limit recipient rate for each
SMTP client
Values : NO/YES
Default : NO
MAX_MSG_RATE (Integer) - Max message rate (can be redefined at j-policy database)
CHECK_NB_MSGS (Option) - Limit the number of messages per connection
Values : NO/YES
Default : NO
MAX_MSGS (Integer) - Maximum number of messages per connection
REJECT_BADEHLO (Option) - Check EHLO parameters
BADEHLO_CHECKS (String) - EHLO parameter checks
This option defines which verifications shall be done on EHLO parameter.
Syntax : InvalidChar,ForgedIP,NotBracketedIP,NotFQDN,IdentityTheft,Regex,All
Default : All
REJECT_BAD_NULL_SENDER (Option) - Check Bad '<>' Sender Address
When this option is enabled, messages which sender is the NULL SENDER (<>) and sent to more than one recipient and the connection come from a
SMTP client which NetClass isn't KNOWN
Values : NO/YES
Default : NO
CHECK_BAD_SENDER_MX (Option) - Check Bad Sender MX
DEFAULT_BAD_MX_REPLY (String) - Default BAD MX reply.
REJECT_DATE_IN_FUTURE (Option) - Check if message date is far in the future (> 24 hours)
REJECT_DATE_IN_PAST (Option) - Check if message date is far in the past (> 1 year)
REJECT_SHORT_BODIES (Option) - Reject messages whose body length is too short
Reject messages which body length is too short. Body length is evaluated on the raw body, including attached files,
MIME tags,
HTML tags, … In other words, all chars from since the end of the last header till the end of the message. OBS : this feature doesn't reject messages coming from known networks, nor messages typically sent by mail list manager software.
Values : NO/YES
Default : NO
MIN_BODY_LENGTH (Integer) - Minimum body length
DROP_DELIVERY_NOTIFICATION_REQUEST (Option) - Drop headers requesting delivery notification
ENCODING_BINARY (Option) - Full Binary encoded message (deprecated)
NO_TO_HEADERS (Option) - Messages without To header (deprecated)
NO_FROM_HEADERS (Option) - Messages without From header (deprecated)
NO_HEADERS (Option) - Messages with no header (deprecated)
CHECK_RESOLVE_FAIL (Option) - What to do if client
DNS resolution fails
CHECK_RESOLVE_FORGED (Option) - What to do if client
DNS resolution is forged
MAX_BAD_RESOLVE (Integer) - —-
Maximum number of connections accepted on a temporal sliding window of length 4 hours, if
SMTP client doesn't
Default : 10
RESOLVE_FAIL_NETCLASS (String) - Resolve Fail NetClass
This option defines, if its value isn't empty, a network class (
NetClass) to assign to unknown
SMTP clients without reverse IP address resolution.
Default :
RESOLVE_FORGED_NETCLASS (String) - Resolve Forged NetClass
This option defines, if its value isn't empty, a network class (
NetClass) to assign to unknown
SMTP clients which reverse and direct IP address resolutin doesn't doesn't match.
Default :
GREY_CHECK (Option) - Enable greylisting filter
Values : NO/YES
Default : NO
GREY_MODE (Option) - Greylist mode
GREY_SOCKET (String) - Remote Greylist Server Socket when running in CLIENT mode
When configured to access a j-greyd server, this option defines the IP address and port where j-greyd listens.
Default : inet:2012@127.0.0.1
GREY_CONNECT_TIMEOUT (Integer) - Timeout to connect go j-grey server when running in CLIENT mode
GREY_MIN_DELAY_NORMAL (Integer) - Greylist delay for normal messages
GREY_MIN_DELAY_NULLSENDER (Integer) - Greylist delay for null sender messages
GREY_MAX_DELAY_NORMAL (Integer) - Lifetime for pending entries (normal messages)
GREY_MAX_DELAY_NULLSENDER (Integer) - Lifetime for pending entries (null sender messages)
GREY_VALIDLIST_LIFETIME (Integer) - Lifetime for inactive whitelisted entries
GREY_WHITELIST_LIFETIME (Integer) - Lifetime for inactive whitelisted entries
GREY_BLACKLIST_LIFETIME (Integer) - Lifetime for blacklisted entries
GREY_MAX_PENDING_NORMAL (Integer) - Max normal pending messages
The value of this option defines the maximum of entries waiting to be validated, per
SMTP client, before adding new entries. Setting this option to
0 means
no limit.
Syntax :
Default : 0
GREY_MAX_PENDING_NULLSENDER (Integer) - Max null sender pending messages
GREY_COMPAT_DOMAIN_CHECK (Option) - Enable/disable domain compatibility (sender domain/
SMTP client domain)
Values : NO/YES
Default : YES
GREY_IP_COMPONENT (String) - How to construct IP part of ntuple
GREY_FROM_COMPONENT (String) - How to construct FROM part of ntuple
GREY_TO_COMPONENT (String) - How to construct TO part of ntuple
GREY_REPLY (String) - Greylisting reply
When the greylisting filter rejects a message, this defines the reply codes and message to be sent back.
Syntax : 4nn:4.x.y:message
Default : 451:4.3.2:Temporary failure ! Come back later, please !
GREY_CLEANUP_INTERVAL (Integer) - Greylist database cleanup interval
GREY_DEWHITE_FLAGS (String) - Which criteria utilise to purge greylisting databases ???
GREY_LOG_FILE (String) - The expired entries log file
This section presents parameters which are exclusive to j-greyd greylisting server.
GREYD_SOCKET_LISTEN (String) - j-greyd Listen Socket
GREYD_LOG_FACILITY (String) - syslog facility
GREYD_LOG_LEVEL (Integer) - j-greyd log level
GREYDDIR (String) - j-greyd working directory
GREYD_PID_FILE (String) - j-greyd pid file
GREYD_CLIENT_IDLE_MAX (Integer) - Maximum inactivity time (after this connection will be closed)
VERSION (String) - Configuration file version
MYSELF (String) - My own names, IPs and aliases
J_HOSTNAME (Option) - How to get mailserver hostname ?
PRESENCE (Option) - Show/Hide presence (presence header)
Values : SHOW/HIDE
Default : SHOW
FOOTER (Option) - Show/Hide j-chkmail signature at warning message
Values : SHOW/HIDE
Default : SHOW
FILTER_URL (String) - Filter
URL (to be included on X-Miltered header)
POLICY_URL (String) - Policy filtering
URL - appended to reply messages
If your domain has a web page to inform people about your email policies, you define this option, with some
URL, j-chkmail will append a reference -
See POLICY_URL - to each reply done in
SMTP session
Default :
DAEMON_FILTER_DISABLE (String) -
SMTP daemons to disable filtering
When your MTA is listening of different IP addresses and ports, it may be useful to enable/disable filtering for some of them. E.g., if you want to filter incoming messages but not outgoing messages (this isn't yet implemented).
Syntax : NAME:PORT, NAME:PORT, …
Default :
USER (String) - Filter USER ID
GROUP (String) - Filter GROUP ID
FILE_DESCRIPTORS (String) - Number of available file descriptors (integer value or MAX)
FD_FREE_SOFT_LIMIT (Integer) - Available file descriptors soft lower bound
FD_FREE_HARD_LIMIT (Integer) - Available file descriptors hard lower bound
USE_SELECT_LIMIT (Option) - Available file descriptors limited by select function
CPU_IDLE_SOFT_LIMIT (Integer) - SOFT CPU Idle threshold to accept connections
CPU_IDLE_HARD_LIMIT (Integer) - HARD CPU Idle threshold to accept connections
MAX_OPEN_CONNECTIONS (Integer) - Maximum number of simultaneous open connections
This Section defines how j-ndc command line tool communicates with j-chkmail.
CTRL_CHANNEL_ENABLE (Option) - Enable remote control channel
Values : NO/YES
Default : YES
CTRL_SOCKET (String) - Control socket
CTRL_ACCESS (Option) - How to do access control over control channel
CONFDIR (String) - j-chkmail configuration directory
ERROR_MSG_FILE (String) - Notification template
ACCESS_FILE (String) - j-chkmail access data
AUTO_RELOAD_TABLES (Integer) - Periodic configuration reload interval
MODULES_CF (String) - Modules
LOG_FACILITY (String) - syslog facility
LOG_LEVEL (Integer) - j-chkmail log level
LOG_SEVERITY (Option) - Add a severity tag to syslog lines
CLUSTER (Option) - Filter sharing resources inside a cluster (spool/server)
Values : NO/YES
Default : NO
LOG_ATTACHMENTS (Option) - Log attached files (using syslog)
Values : NO/YES
Default : NO
LOG_THROTTLE (Option) - Periodically log server throttle (using syslog)
Values : NO/YES
Default : YES
LOG_LOAD (Option) - Periodically log CPU load (using syslog)
Values : NO/YES
Default : YES
LOG_GREY_CLEANING (Option) - Log results of greylist database maintenance
Values : NO/YES
Default : NO
DUMP_COUNTERS (Option) - Periodically dump internal counters
Values : NO/YES
Default : YES
STATS_INTERVAL (Integer) - Time interval used to dump periodical data (load, throttle, …)
HISTORY_ENTRIES (Integer) - Number of entries of history (times 1024)
WORKROOT (String) - j-chkmail root directory
WORKDIR (String) - j-chkmail work directory (state and specific logs)
SPOOLDIR (String) - j-chkmail message spool directory
PID_FILE (String) - j-chkmail pid file
STATS_FILE (String) - STATS_FILE
CLEANUP_INTERVAL (Integer) - Quarantine directory clean-up interval
QUARANTINE_LIFETIME (Integer) - Quarantine
QUARANTINE_ADD_FROM_LINE (Option) - Add From line to quarantine file ?
Values : NO/YES
Default : YES
QUARANTINE_LOG_FILE (String) - Quarantine log file
ARCHIVE (Option) - Archiving messages
CDBDIR (String) - j-chkmail constant databases directory
DB_CACHE_SIZE (Integer) - BerkeleyDB constant databases cache size
DB_POLICY (String) - Policy database path
POLICY_CONFLICT (Option) - What to do if users policy conflit
FROM_PASS_TOKEN (String) - Token
Not yet implemented
Default :
TO_PASS_TOKEN (String) - Token
Not yet implemented
Default :
RESOLVE_CACHE_ENABLE (Option) - Address resolution (IP address / hostname) cache
The address resolution cache is used to avoid
DNS queries to resolve address resolutions when quering the filter for some statistics.
Values : NO/YES
Default : YES
RESOLVE_CACHE_SYNC (Integer) - Interval between cache synchronization
RESOLVE_CACHE_CHECK (Integer) - Interval between cache maintenance
RESOLVE_CACHE_EXPIRE (Integer) - Expiration age of non refreshed entries
NOTIFY_SENDER (Option) - Enable sender notification
When this option is enabled, notifications after virus or X-Files are sent to the message sender. This is, most of the time, a bad idea as virus are usually spread using forged addresses.
Values : NO/YES
Default : NO
NOTIFY_RCPT (Option) - Enable recipient notification
J_SENDER (Option) - Sender address used for notification message
This option defines the sender of notifications appearing in headers and, for some versions of the MTA, the enveloppe. If the special value SENDER is used, the sender will be preserved.
Values : SENDER/OTHER
Default : SENDER
J_SUBJECT (Option) - Subject of replacement notification message
XFILES (Option) - What to do with X-files ? (OK, REJECT, NOTIFY, DISCARD)
XFILES_FILE (String) - X-Files (file extension +
MIME type) configuration
XFILE_SAVE_MSG (Option) - Shall quarantine messages containing X-Files ?
Values : NO/YES
Default : YES
XFILE_SUBJECT_TAG (String) - Tag to be inserted on Subject
XFILES_LOG_FILE (String) - Detected X-Files log file
This section contains the options to connect j-chkmail to an external virus scanner and what to do with the results
SCANNER_ACTION (Option) -
SCANNER_SOCK (String) - Communication socket between j-chkmail and external scanner
This option defines the socket used by j-chkmail to connect to the external scanner.
Syntax : inet:PORT@HOSTNAME | local:SOCKET_PATH
Default : inet:2002@localhost
SCANNER_PROTOCOL (Option) - Protocol
SCANNER_TIMEOUT (Integer) - Timeout waiting for the scanner answer
SCANNER_REJECT_ON_ERROR (Option) - Reject messages when scanner call returns an error
SCANNER_MAX_MSG_SIZE (Integer) - Max message size to pass to scanner
SCANNER_SAVE (Option) - Shall messages be quarantined ???
VIRUS_LOG_FILE (String) - Detected Virus log file
BAYESIAN_FILTER (Option) - Enable Bayesian filter
Values : NO/YES
Default : NO
BAYES_MAX_MESSAGE_SIZE (Integer) - Max message size
BAYES_MAX_PART_SIZE (Integer) - Max message part size
BAYES_HAM_SPAM_RATIO (Integer) - Ratio HAM/SPAM (times 1000)
BAYES_NB_TOKENS (Integer) - Number of tokens to consider
BAYES_UNKNOWN_TOKEN_PROB (Integer) - Probability assigned to unknown tokens (times 1000)
DB_BAYES (String) - Path of bayes tokens database
SPAM_REGEX (Option) - Do pattern matching
Values : NO/YES
Default : NO
REGEX_FILE (String) - Regular expressions configuration file
REGEX_MAX_SCORE (Integer) - Stop doing pattern matching when score is reached
SPAM_REGEX_MAX_MSG_SIZE (Integer) - Max message size to do pattern matching
SPAM_REGEX_MAX_MIME_SIZE (Integer) - Max message size to do pattern matching
DUMP_FOUND_REGEX (Option) - Log founded regular expressions to file
Values : NO/YES
Default : YES
REGEX_LOG_FILE (String) - Matched pattern log file
SPAM_ORACLE (Option) - Do heuristic filtering
Values : NO/YES
Default : NO
ORACLE_SCORES_FILE (String) - Oracle scores
ORACLE_DATA_FILE (String) - Some oracle definitions
LOG_LEVEL_ORACLE (Integer) - Heuristic filter log level (0, 1 or 2)
ORACLE_STATS_FILE (String) - Statistics for Oracle (dumped each STATISTICS_INTERVAL seconds)
ORACLE_COUNTERS_FILE (String) - Persistent state of Oracle
SCORE_ON_SUBJECT (Option) - Shall message score be inserted on Subject Header ?
Values : NO/YES
Default : NO
SCORE_ON_SUBJECT_TAG (String) - Tag to be inserted on Subject ?
XSTATUS_HEADER (String) - Status header
XSTATUS_HEADER_HI_CONDITION (String) - When to add a 'X-j-chkmail-Status: HI' Header
XSTATUS_HEADER_LO_CONDITION (String) - When to add a 'X-j-chkmail-Status: LO' Header
XSTATUS_HEADER_UNSURE_CONDITION (String) - When to add a 'X-j-chkmail-Status: UNSURE' Header
XSTATUS_HEADER_HAM_CONDITION (String) - When to add a 'X-j-chkmail-Status: HAM' Header
XSTATUS_REJECT_CONDITION (String) - Reject message if this regular expression matches X-j-chkmail-score header
XSTATUS_REJECT_ONLY_UNKNOWN (Option) -
Values : NO/YES
Syntax :
Default : YES
XSTATUS_QUARANTINE_CONDITION (String) - If this regular expression matches X-j-chkmail-score header, the message is quarantined
PRESERVE_OLD_SCORES (String) - Preserve score headers added by previous j-chkmail filters
Syntax :
ALL | NONE | List of SMTP gateways
Default : ALL
REMOVE_OLD_SCORES (String) - Remove score headers added by previous j-chkmail filters
Syntax :
ALL | NONE | List of SMTP gateways
Default : NONE
DNS_IPRBWL (String) - Real-Time Black/White Lists
Syntax :
Default :
j-tables:DNS-IP-RBWL
CHECK_CONN_RATE (Option) - Enable connection rate limiting
When enabled, j-chkmail will limit the number of connections, per
SMTP client, evaluated on a sliding window of size 10 minutes
Values : NO/YES
Default : NO
MAX_CONN_RATE (Integer) - Max connection rate (can be redefined at j-policy database)
CHECK_OPEN_CONNECTIONS (Option) - Enable simultaneous connections limiting
When this feature is enabled, j-chkmail will limit the number of simultaneous connections, per
SMTP client.
Values : NO/YES
Default : NO
MAX_CONN_OPEN (Integer) - Max open connections for a single IP on unknown network
This option defines the default max number of simultaneous connections per
SMTP client. This value can be overriden by those defined at policy database
Default : 10
CHECK_EMPTY_CONNECTIONS (Option) - Check the number of empty connections
Values : NO/YES
Default : NO
MAX_EMPTY_CONN (Integer) - Maximum number of empty connections over 4 hours
DELAY_REJECT (Option) - Delay reject decisions
When this option is enabled, reject decisions based on client behaviour (rate limits, too many errors, …) are reported till the first
SMTP MAIL command, when client authentication information may be available.
Values : NO/YES
Default : NO
CHECK_BADRCPTS (Option) - Check the number or Bad Recipients
Values : NO/YES
Default : NO
MAX_BADRCPTS (Integer) - Maximum number of Bad Recipients over 4 hours
CHECK_RCPT_ACCESS (Option) - Recipient Access and validation
Values : NO/YES
Default : NO
DB_RCPT (String) - Recipient database path
SPAMTRAP_RESULT (Option) - Result from SPAM TRAP check
CHECK_SPAMTRAP_HISTORY (Option) - Reject connections from clients sending messages to spam traps
Values : NO/YES
Default : NO
CHECK_RCPT_RATE (Option) - Limit recipient rate for each
SMTP client
Values : NO/YES
Default : NO
MAX_RCPT_RATE (Integer) - Max recipient rate (can be redefined at j-policy database)
CHECK_NB_RCPT (Option) - Check the number of recipients for each message
Values : NO/YES
Default : NO
MAX_RCPT (Integer) - Max recipient per message for connections coming from unknown network
CHECK_MSG_RATE (Option) - Limit recipient rate for each
SMTP client
Values : NO/YES
Default : NO
MAX_MSG_RATE (Integer) - Max message rate (can be redefined at j-policy database)
CHECK_NB_MSGS (Option) - Limit the number of messages per connection
Values : NO/YES
Default : NO
MAX_MSGS (Integer) - Maximum number of messages per connection
CHECK_BADEHLO (Option) - Check EHLO parameters
BADEHLO_CHECKS (String) - EHLO parameter checks
This option defines which verifications shall be done on EHLO parameter.
Syntax : InvalidChar,ForgedIP,NonBracketedIP,NonFQDN,IdentityTheft,All
Default : All
CHECK_BAD_NULL_SENDER (Option) - Check Bad '<>' Sender Address
When this option is enabled, messages which sender is the NULL SENDER (<>) and sent to more than one recipient and the connection come from a
SMTP client which NetClass isn't KNOWN
Values : NO/YES
Default : NO
CHECK_BAD_SENDER_MX (Option) - Check Bad Sender MX
DEFAULT_BAD_MX_REPLY (String) - Default BAD MX reply.
CHECK_DATE_IN_FUTURE (Option) - Check if message date is far in the future (> 24 hours)
CHECK_DATE_IN_PAST (Option) - Check if message date is far in the past (> 1 year)
REJECT_SHORT_BODIES (Option) - Reject messages whose body length is too short
Reject messages which body length is too short. Body length is evaluated on the raw body, including attached files,
MIME tags,
HTML tags, … In other words, all chars from since the end of the last header till the end of the message. OBS : this feature doesn't reject messages coming from known networks, nor messages typically sent by mail list manager software.
Values : NO/YES
Default : NO
MIN_BODY_LENGTH (Integer) - Minimum body length
DROP_DELIVERY_NOTIFICATION_REQUEST (Option) - Drop headers requesting delivery notification
ENCODING_BINARY (Option) - Full Binary encoded message (deprecated)
NO_TO_HEADERS (Option) - Messages without To header (deprecated)
NO_FROM_HEADERS (Option) - Messages without From header (deprecated)
NO_HEADERS (Option) - Messages with no header (deprecated)
CHECK_RESOLVE_FAIL (Option) - What to do if client
DNS resolution fails
CHECK_RESOLVE_FORGED (Option) - What to do if client
DNS resolution is forged
MAX_BAD_RESOLVE (Integer) - —-
Maximum number of connections accepted on a temporal sliding window of length 4 hours, if
SMTP client doesn't
Default : 10
RESOLVE_FAIL_NETCLASS (String) - Resolve Fail NetClass
This option defines, if its value isn't empty, a network class (
NetClass) to assign to unknown
SMTP clients without reverse IP address resolution.
Default :
RESOLVE_FORGED_NETCLASS (String) - Resolve Forged NetClass
This option defines, if its value isn't empty, a network class (
NetClass) to assign to unknown
SMTP clients which reverse and direct IP address resolutin doesn't doesn't match.
Default :
GREY_CHECK (Option) - Enable greylisting filter
Values : NO/YES
Default : NO
GREY_MODE (Option) - Greylist mode
GREY_SOCKET (String) - Remote Greylist Server Socket when running in CLIENT mode
When configured to access a j-greyd server, this option defines the IP address and port where j-greyd listens.
Default : inet:2012@127.0.0.1
GREY_CONNECT_TIMEOUT (Integer) - Timeout to connect go j-grey server when running in CLIENT mode
GREY_MIN_DELAY_NORMAL (Integer) - Greylist delay for normal messages
GREY_MIN_DELAY_NULLSENDER (Integer) - Greylist delay for null sender messages
GREY_MAX_DELAY_NORMAL (Integer) - Lifetime for pending entries (normal messages)
GREY_MAX_DELAY_NULLSENDER (Integer) - Lifetime for pending entries (null sender messages)
GREY_VALIDLIST_LIFETIME (Integer) - Lifetime for inactive whitelisted entries
GREY_WHITELIST_LIFETIME (Integer) - Lifetime for inactive whitelisted entries
GREY_BLACKLIST_LIFETIME (Integer) - Lifetime for blacklisted entries
GREY_MAX_PENDING_NORMAL (Integer) - Max normal pending messages
The value of this option defines the maximum of entries waiting to be validated, per
SMTP client, before adding new entries. Setting this option to
0 means
no limit.
Syntax :
Default : 0
GREY_MAX_PENDING_NULLSENDER (Integer) - Max null sender pending messages
GREY_COMPAT_DOMAIN_CHECK (Option) - Enable/disable domain compatibility (sender domain/
SMTP client domain)
Values : NO/YES
Default : YES
GREY_IP_COMPONENT (String) - How to construct IP part of ntuple
GREY_FROM_COMPONENT (String) - How to construct FROM part of ntuple
GREY_TO_COMPONENT (String) - How to construct TO part of ntuple
GREY_REPLY (String) - Greylisting reply
When the greylisting filter rejects a message, this defines the reply codes and message to be sent back.
Syntax : 4nn:4.x.y:message
Default : 451:4.3.2:Temporary failure ! Come back later, please !
GREY_CLEANUP_INTERVAL (Integer) - Greylist database cleanup interval
GREY_DEWHITE_FLAGS (String) - Which criteria utilise to purge greylisting databases ???
GREY_LOG_FILE (String) - The expired entries log file
This section presents parameters which are exclusive to j-greyd greylisting server.
GREYD_SOCKET_LISTEN (String) - j-greyd Listen Socket
GREYD_LOG_FACILITY (String) - syslog facility
GREYD_LOG_LEVEL (Integer) - j-greyd log level
GREYDDIR (String) - j-greyd working directory
GREYD_PID_FILE (String) - j-greyd pid file
GREYD_CLIENT_IDLE_MAX (Integer) - Maximum inactivity time (after this connection will be closed)