Hi, list. IANAC (I am not a coder), but I think I've come up with a way to gracefully integrate spamassassin support into qmailadmin. A parameter in the .qmailadmin-limits file for a domain could contain a line such as:
enablespamassassin 0 -or- enablespamassassin 1 This would enable/disable a checkbox on the user modify screen that, when checked, would insert a line in their .qmail file that would toss the message to spamc and pipe the output into maildir for delivery. The line we use here is: | /usr/local/bin/spamc -u [EMAIL PROTECTED] | /usr/local/bin/maildir /path/to/user's/Maildir/ I've tried to hack this together a couple of times for 1.0.2 and 1.0.6, but kept getting beaten down by the .qmail file parsing logic in template.c. =) If anybody wants to take the idea and run with it, I think it'd be a welcome addition for many. -Brian -- When all else fails, there's always delusion. --Conan O'Brien
