Per domain configuration of qmail-qfilter

"Dahnke, Eric \(Company IT\)" <[email protected]>
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
Could someone share or explain how qmail-qfilter can be used in a per
virtual domain scenario.

#!/bin/bash
exec /usr/bin/qmail-qfilter \
	/usr/local/anomy/sanitizer.pl
/path_to_virtualdomainpath/sanitizer.cfg

I would like to be able load a different sanitizer.cfg file based on the
recipient domain / or virtualdomain configuration.

Within the above script (qfilter-filters.sh), AFAICT there is no ENV
variable that would allow me to logically determine the recipient
domain. There is always a way, but before I invent something, I thought
I'd ask if there is some best practice for using qmail-qfilter in a per
domain configuration. Thx. Eric
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.