Hi Jason, and thanks for your feedback!

On Mon, Jan 13, 2003 at 02:45:49PM +1300, Jason Haar wrote:
> On Mon, Jan 13, 2003 at 12:09:01AM +0100, Olivier M. wrote:
> > voila, my test version is available under http://omnis.ch/stuff/ospam/ 
> > and seems to work well :)   It's just a patched qmail-scanner script
> 
> I don't understand why you have shoved SQL into Q-S when it is already
> present in SA. That's a major overhead per message when it's not needed

That is right, but I don't see another solution yet: I don't want to
parse _all_ incomming mails with spamassassin, but only for specific
mail accounts who subscribed the Spam-check service. So that is a little
bit more overhead because of the sql, but also lots less because just a few
% of the messages have to be scanned.

But maybe that doing that from Q-S is also not the right way... I'm still
hacking and trying :)  This could be done for example from .qmail-default
files, but then the setup is complexer (for servers with some hundred
domains), and the load would be higher, as perl would be called twice
(1x Q-S, 1x from .qmail-default).  Well, if you see a better way? :)

Other idea: don't use Q-S for that task anymore, and use a system which
would generate /home/DOMAIN/.qmail-USERNAME files based on the subscribers
database: maybe it would be nicer and cleaner... ?

> Also, as you noted in your patch, there's a LARGE (IMO) issue with per-user
> settings as Q-S could be dealing with a message that has >1 recipients.
> Again I don't like the overhead of having to loop through each of the
> recipients - and that's why I haven't even bothered doing per-user settings...

Yep, this one is quite a big issue. A quick and dirty hack would be
to just have a look at the first address in $recips, or to ignore it
completely...

Regards & have a nice week,
Olivier
-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to