You can compose it and declare it using the /etc/mail/jchkmail/j-error-msg file. The message content is delimited by tags <XFILE>, <VIRUS> or <POLICY>. Inside the message, you can use one of this variables, witch value will replace thne ligne matching variable.
Quarantined messages are stored at /var/spool/jchkmail directory.
This behavior is controlled by the following configuration options:
j-chkmail.cf
CLEANUP_INTERVAL 21600 QUARANTINE_LIFETIME 86400
The first two configuration options say: the filter cleans up message spool directory each 21600 s (6 h) and removes all messages older than 86400 s (24 h).
The other three options are used to enable or disable quarantining.
j-chkmail -n - to create one j-chkmail.cf file with options set with default valuesj-chkmail -m - to create one j-chkmail.cf file with current optionsI ask j-printstat to give info about one week, but it only covers a few days j-printstat -q -l7d j-chkmail keeps some information about connections in /var/jchkmail/files
# HISTORY_ENTRIES # Number of entries of history (times 1024) # Syntax : ----- HISTORY_ENTRIES 256
We will get stats about the last 256*1024 connexions. You can increase that value, but keep in mind that this will increase the database (currently 40Mo)
j-chkmail greylisting logic assign longer delays if the domain of the sender has not in common with the domain of the SMTP gateway. It's a fixed value of 30 minutes in the code (v1.13) instead of the 10 minutes default. If you want to correct that behaviour for such domains, then, you need to tell j-chkmail that gmail.com is equivalent to google.com
Check if you have these entries at your j-policy database :
GreyEquivDomain:gmail.com google.com GreyEquivDomain:googlegroups.com google.com GreyEquivDomain:googlemail.com google.com
They're included in the default configuration files.