The problem is that these emails should never be accepted into the
queue.  You are better off dropping those emails at the SMTP level.  Try
shupps patch.  chkuser it exists for both straight vpopmail or mysql
vpopmail

http://www.shupp.org  

Includes these popular patches: 

      * smtp auth 
      * spf 
      * qmail-queue (to allow for virus scanners) 
      * maildir++ patch 
      * support oversize dns packets (not necessary if you use
        dnscache) 
      * chkuser (check for local vpopmail users, envelope syntax.
        requires vpopmail to be previously installed) 
      * spam throttle 
      * qregex (regular expression matching in badmailfrom and
        badmailto) 
      * big concurrency (set the spawn limit above 255) 




On Thu, 2005-04-07 at 14:29 -0800, Michael Irey wrote:
> I have Qmail + Vpopmail + Qmail Scanner + SpamAssassin + ClamAV installed and 
> all is functioning.
> 
> However my qmail queue is filled with hundreds of double bounced messages. So 
> I no longer bounce the incoming messages if the recipient does not exist on 
> the system, I just delete it. This solves the queue problem. But the problem 
> I have now is that all the bogus messages coming in get spam and virus 
> checked before the email gets deleted... A waste of valuable resources.
> 
> 
> I have tried googleing for some time to no avail...
> 
> Does anyone know if it is possible, to only scan the valid incoming emails.
> 
> Example process of the way I would like it to work.
> 
> 1. Incoming message is received.
> 2. If incoming message is determined invalid due to the recipient does not 
> exist, the message is immediately deleted. If the recipient exists goto the 
> next step.
> 3. Spam and virus check.
> 4. Deliver the message.
> 
> --Thanks in advance
> 
> Michael
> --
> [email protected] mailing list
> 

--
[email protected] mailing list

Reply via email to