On Fri, 12 Feb 2010 09:48:36 +0100, "Yury V. Zaytsev" <[email protected]>
wrote:
> Hi!
> 
> On Fri, 2010-02-12 at 04:12 +1100, Steven Haigh wrote:
> 
>> Have run this for the last couple of hours with good results. It'd be
>>  great to see this in the RF package.
> 
> Please provide a diff if you want to see it included.
> 
> Thanks!

Hi all,

Finally got around to doing this:

diff -crB spamass-milter-0.3.1.orig/spamass-milter.cpp
spamass-milter-0.3.1/spamass-milter.cpp
*** spamass-milter-0.3.1.orig/spamass-milter.cpp        2006-03-24
08:41:36.000000000 +1100
--- spamass-milter-0.3.1/spamass-milter.cpp     2010-02-12
03:59:16.000000000 +1100
***************
*** 775,780 ****
--- 775,784 ----
    SpamAssassin* assassin;
    struct context *sctx = (struct context *)smfi_getpriv(ctx);
    char *queueid;
+   if (smfi_getsymval (ctx, "{auth_type}") != NULL)
+   {
+     return SMFIS_ACCEPT;
+   }

    if (sctx == NULL)
    {

This patch will skip the spam filtering for messages sent to the SMTP
server on a SMTP AUTHed connection.


-- 
Steven Haigh
 
Email: [email protected]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to