[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

policytest pt_rcptto bug?



It seems that at some moment a bug was introduced in policytest that now
prevent "relaycustnet +" and "trust-whoson +" attributes from having
effect.  I *think* that the diff below does the Right Thing:

Index: smtpserver/policytest.c
===================================================================
RCS file: /cvsroot/zmailer/smtpserver/policytest.c,v
retrieving revision 1.81
diff -u -r1.81 policytest.c
--- smtpserver/policytest.c     16 Nov 2003 18:01:20 -0000      1.81
+++ smtpserver/policytest.c     4 Feb 2004 12:24:35 -0000
@@ -1560,6 +1560,7 @@
     if (state->always_freeze) return  1;
     if (state->sender_freeze) return  1;
     if (state->full_trust)    return  0;
+    if (state->always_accept) return  0;
     if (state->authuser)      return  0;
     if (state->trust_recipients) return 0;

Eugene

-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi