[EMAIL PROTECTED] wrote:
RFC 1123 requires you to accept mail with a blank "mail from:"

Bounce messages from most (all?) MTA come from a blank "mail from:" to
> prevent loops. If you do not accept mail with blank mail from:
> you will no longer get bounces and risk being blacklisted on the
> RFC Ignorant list

yes...blank MAIL FROM I can understand, I don't understand how blank RCPT TO even gets into the system since it doesn't match any rcpthosts/virtualdomains or any other qmail control file entry. That question aside, blank "MAIL FROM" with "RCPT TO" SMTP conversations and their messages (if any) do indeed get processed/scanned by Q-S, but, is there any valid reason why you'd want to waste resources Q-S'ing mail with blank sender -and- blank recip?

E.g. prevent this overhead with a simple edit like:

  if ( $env_returnpath eq "" && $env_recips eq "" ) {
    ### comments deleted ###
    &debug("g_e_h: no sender and no recips.");
    &cleanup;
    exit;
  }

to

  if (( $env_returnpath eq "" && $env_recips eq "" )
     || ( $returnpath eq "" && $recips eq "" )) {
    ### comments deleted ###
    &debug("g_e_h: no sender and no recips.");
    &cleanup;
    exit;
  }

--
Just wondering...




------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to