At 23:15 25/10/2001 +0200, you wrote: >On Thu, Oct 25, 2001 at 09:32:20AM -0300, Jorge Rocha Gualtieri wrote: > > Hi, > > > > > > I've built a qmail cluster with > > qmail-1.03+qmail-ldap-1.03-20011001a.patch+smtp-auth-20011001.patch and > > it's working fine. Now, i want to know if it's possible to check "RCPT TO" > > on SMTP stream and say "Sorry, no mailbox here by that name. (#5.1.1)" > > before downloading the message. > > > >You need to hack qmail-smtpd to get this behaviour. Until now qmail-lspawn >and qmail-local do the lcoal delivery and this is done much later in the >execution chain.
I think i cannot do this hack. :((( i'm not a good C programmer. But in theory we only need to put qmail-ldaplookup into qmail-smtpd? or we need to do something to process local files too?(eg. /var/qmail/alias/*)? > > I'm also sending "The Big qmail-ldap picture" that i've made, any > > suggestion or comments will be more than welcome. > > >At first sight it seems OK. The only thing I have seen is that qmail-getpw >does not interact with the LDAP server. qmail-getpw does only the local >passwd check. So, only qmail-lspawn look information in LDAP serverm, and qmail-getpw get out of draw? Sorry about my bad english, Jorge Rocha Gualtieri
