Hello All,

We were facing a similar problem as described in:

http://www.mail-archive.com/[email protected]/msg04562.html

Some of our customers have users who send emails from dynamic /
blacklisted IPs. Because of this the emails used to get a very high
score by SA and were getting quarantined.

After looking at qmail-smtpd.c, I found a simple way of solving this
problem. I've attached the patch for qmail-smtpd.c against the
qmail-ldap-1.03-20050401a.patch.

Hope this is helpful for someone else on this list too. :)

Srinidhi.
~~~ 
Darling: the popular form of address used in speaking to a member of the
opposite sex whose name you cannot at the moment remember. -- Oliver
Herford 

--- qmail-1.03-20050401a/qmail-smtpd.c	Thu Nov 24 18:08:21 2005
+++ qmail-1.03-20050401a.orig/qmail-smtpd.c	Thu Nov 24 18:22:32 2005
@@ -851,10 +851,8 @@
   }
 
   /* check if we are authenticated, if yes enable relaying */
-  if (flagauthok && relayclient == 0) {
-    env_put("RELAYCLIENT=");
+  if (flagauthok && relayclient == 0)
     relayclient = "";
-  }
 
   /* smtp size check */
   if (databytes && !sizelimit(arg))

Reply via email to