I've just released my verifyrcptto/domainxlations patch. From the patch docs:
Modifies qmail-ldap to verify SMTP RCPT TO: commands against the LDAP directory and (optionally) the local Unix password authentication system. This is in contrast to stock qmail behavior, which accepts all messages regardless of whether they exist and later bounces the message if the recipient does not exist. If the e-mail address specified in the RCPT TO: command does not exist, the message is rejected *in the SMTP conversation* (with a 550 error if the user is not found, or a 451 error if their is a "soft" error, such as the LDAP directory server is not accessible). [snip] This patch also includes support for domain translations. For example, if you have two domains, example.com and example.net, you can have qmail-ldap rewrite example.net to example.com transparently. You don't need any external shell scripting or extra mailAlternateAddress attributes on all of your users. You do not need to compile qmail-ldap with or enable RCPT TO: checking in order to use domain translations. Available at http://horde.net/~jwm/software/qmail/. As always, feedback is welcome. john -- John Morrissey _o /\ ---- __o [EMAIL PROTECTED] _-< \_ / \ ---- < \, www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
