# $Id$ # Sample configuration file for zmscanner # If there are multiple Content-Type and/or Content-Transfer-Encoding # headers (which is a error!), use first instance. Otherwise, last # instance is used. This may affect parsing because different instances # may have different "boundary" attributes. Some virii try to use # multiple Content-Type headers to get through scanners. firstmimehdr true # Zmailer control socket location (zmscanner only) socket /var/run/zmscanner # pid file - can use this to kill -USR1 head process. *not a lock!* pidfile /var/run/zmscanner.pid # maximum size to scan in the messages (rest ignored) # numeric may be suffixed by 'K' or 'M' (x 1024 or x 1048576 respectively) maxsize 4M # initial stage to enter message, gets complete message file initstage zmsg # termination stage called after everything else with null data finalstage zfin # directory where modules should look for their personal config files modconfdir /usr/local/etc/zmscanner # description of milter communication socket (smscanner only) miltersock local:/var/run/smscanner # directory where to search for dynamic modules # !!! THIS MUST GO BEFORE THE FIRST "module" directive !!! # if not set, modules will be looked for in $libexecdir # When building third party modules, specify --with-moddir=/this/location #moddir /usr/local/lib/zmscanner # modules to load #module zms_dcc.so #module zms_clamav.so # fully qualified domain name of the host (normally autodetected) # only effective for zmscanner, must match Zmailer's idea of this host # most of the time you will not need this #myfqdn mail12.example.com # domain name to append to the hostname detected by uname(2) # only effective for zmscanner, only needed if domain name cannot # be detected automatically. This may be useful if you want to # have a common config file on several hosts in your domain. # resulting FQDN must match Zmailer's idea of this host # most of the time you will not need this #mydomain example.com