On Tue, Jan 14, 2003 at 06:22:35PM +0000, Ricardo Cerqueira wrote: % The result has been a steady growth of average queue size from 20k % mails to over 100k mails (and rising). Queue size isn't usually % important, but when you reboot a machine or have a network outage, it % takes forever to resume normal operation. Since I have a pretty high % mail address burn-rate, there are LOTS of e-mail addresses out there (in % spammer lists, mostly) which were valid once, but aren't valid anymore.
Violent agreement WRT my own qmail installations. % 1 - qmail-smtpd checks at startup if the environment var CHECKRCPT % exists. If it doesn't, no validation will be performed. This is useful % when used with tcpserver. (1.2.3.:allow,RELAYCLIENT="",CHECKRCPT=1) % % 2 - if CHECKRCPT is true, control/checkdomains will be read. % % 3 - If the recipient domain is listed in checkdomains, control/checkskip % will be read. % % 4 - If the recipient local part is *not* listed in checkskip, % qmail-smtpd searches the LDAP server for % [EMAIL PROTECTED] % % % Thoughts: % % Why CHECKRCPT? - Because it's an easy way to completely disable the % checks. % Why checkdomains? - Because I only want to check a few of my own % domains. I could use locals, but that would be unconfortable if I wanted % a whole domain to sit in ~alias. % Why checkskip? - Because some addresses aren't at the LDAP server, like % root, postmaster, and mailer-daemon. They sit in ~alias, and would be % rejected if searched. I wrote a similar patch that does this; http://horde.net/~jwm/software/qmail/#verifyrcptto I like your CHECKRCPT idea. My patch only does envelope RCPT checking if the client host isn't a RELAYCLIENT; yours makes it much more flexible. My verifyrcpt patch also checks for .qmail files, so ~alias is checked. That sounds like it would correspond with your checkdomains and checkskip control files. Would you be willing to merge (or let me merge) your CHECKRCPT support into my verifyrcptto patch? That way we'd have a single patch for this functionality. I'd like to have it integrated into qmail-ldap and I've asked Claudio and Andre several times about it, but I've never gotten a response from them. :-/ john -- John Morrissey _o /\ ---- __o [EMAIL PROTECTED] _-< \_ / \ ---- < \, www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
