On Thu, 2005-11-24 at 18:38 +0530, B S Srinidhi wrote:
> 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.
>
Oops. I sent the diff in the wrong format. Mixed up new and original. :(
/me bangs head on the wall
Sending the patch again.
Srinidhi.
~~~
If a subordinate asks you a pertinent question, look at him as if he had
lost his senses. When he looks down, paraphrase the question back at
him.
--- qmail-1.03-20050401a.orig/qmail-smtpd.c Thu Nov 24 18:22:32 2005
+++ qmail-1.03-20050401a/qmail-smtpd.c Thu Nov 24 18:08:21 2005
@@ -851,8 +851,10 @@
}
/* check if we are authenticated, if yes enable relaying */
- if (flagauthok && relayclient == 0)
+ if (flagauthok && relayclient == 0) {
+ env_put("RELAYCLIENT=");
relayclient = "";
+ }
/* smtp size check */
if (databytes && !sizelimit(arg))