Two things I can think off from the top of my head while going over that
document. They are more correctly defined as feature requests...

Instead of using a single regexp to define local domains, you could use any
one of the following:
file, array, hash, or function (function being especially the most useful to
me, since it then enables you to do *anything* to determine whether it is
local or not, including database lookups. See the CPAN module BulkMail (I
think that is what it is called) for details on how they have used that system
of using any one of the options.

Perhaps some kind of simple to implement hook/function call to do custom
'things' with the message. ie, log some details about every message etc...

My thoughts on this are to log bytes and number of messages for each to/from
domain into a database for billing purposes. Also to log details of each
message for spam tracking, and finally to record statistics on number of
messages versus spam and viruses. (I'm not sure if this could simply be done
as another 'virus scanner', but if using the QS_SKIP_TEXT_MSGS then you would
still want to call this function....

Ooops, one more feature request... Can we have some kind of function call
which is given the to/from email addresses to determine which config file is
used, or to override variable configs itself.

ie, I have one mail server, on one IP address, but for some customers, I want
to appear as a different 'company' than others (ie, to support re-sellers etc)
in the virus report emails etc.

I suppose I'm trying to ask you to put as much as possible of the config into
functions, then I can make a database connect/query to determine the correct
settings for this email, as well as to record/log various details.

Regards,
Adam


_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to