You may need this if, e.g., you're running two instances of sendmail in the same machine and filtering options of the two MTA aren't the same, or if you're running sendmail on different machines, but you want to place filters on a single machine. It's possible to do this if you follow the two rules bellow :
Only resources opened in Read Only mode can be shared.
/usr/sbin/ze-filter -c /etc/ze-filter-1/ze-filter.cf /usr/sbin/ze-filter -c /etc/ze-filter-2/ze-filter.cf
ze-urlbl.db
or ze-bayes.db
.ze-filter.cf
configuration file. /etc/ze-filter
) can be shared, but you should take care of which configuration files are exclusive and define them at main configuration file./var/ze-filter
) can't be shared and should have different values in each main configuration file./var/spool/ze-filter
) can't be shared and should have different values in each main configuration file.local5
) can be shared, but it's better to have each instance using a different syslog facility.IP address/port
, and must use different configuration files (sendmail.cf
) to be able to attach the right filter.