First, the concrete problem: SANITYCHECK should probably reject [EMAIL PROTECTED] If that's legal, at the very least .DOMAIN should be rejected if it contains no other dots after the first one.
Now the general proposal: Could qmail-smtpd allow SANITYCHECK to be a file name, if not empty? The file could hold a list of regular expressions. I know we have the badmailfrom file, but it does not allow regular expressions. Thanks Ted