On Mon, 24 Jan 2000, Shashi Dahal wrote:

> Date: Mon, 24 Jan 2000 16:00:49 +0545
> From: Shashi Dahal <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Blocking Mails
> 
> Dear All,
> 
> Someone is spamming through my server.
> The header file looks like:
> 
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 14914 invoked from network); 24 Jan 2000 01:54:59 -0000
> Received: from ram.wlink.com.np (HELO Pupi) (@202.79.32.33)
>    by trishakti.wlink.com.np with SMTP; 24 Jan 2000 01:54:59 -0000
> Message-ID: <[EMAIL PROTECTED]>
> From: Administrator <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> X-Mailer: PUPI-MAIL v.0.1
> MIME-Version: 1.0
> To: [EMAIL PROTECTED]
> Subject: Internet problem year 2000.
> Content-Type: multipart/mixed; boundary="-GOODMAN"
> 
>       My question is how can I block this type of address something like:
> 
> admin_@*.com
> admin_@*.net
> admin_@*.org
> admin_@*.edu
> 
> Thanks in Advance
> 
> Shashi
> 

/var/qmail/control/badmailfrom doesn't accept wildcards.

I could solve this problem patching my  qmail 1.03 with
flame-patches-1.03-1.6.2.diff from http://www.flame.org/qmail/

it enables a badheaders control file with more flexible rules for blocking

cost?: in my personal experience, a little extra charge in my mail server
       (noticeable only at peak hours)

best regards,

---------------------------------------------------------------------
 Abel Lucano                   
 E-mail: [EMAIL PROTECTED]  
 Aolsa

Reply via email to