Hmmm.. I thought I saw something, somewhere amongst this list that does that
sort of thing..

.oO( or was that for locals? )

badmailfrom doesn't do any sort of wildcarding.  Your best bet is probably
to check http://www.qmail.org/ and see if there's a patch to do that sort of
thing .

I wrote a quick hack to reject mail from specific users or entire domains
(using regular expressions) but it's intended to be used in a .qmail file.
:-/

Cheers,
k

/*
** Keith Warno
** Make Us An Offer, Inc.
** Real-Time Online Haggling
** http://www.HaggleWare.com/
*/

----- Original Message -----
From: "Jim Koutoumis" <[EMAIL PROTECTED]>
To: "'QMAIL- list'" <[EMAIL PROTECTED]>
Sent: 13 February 2000, Sunday 16:39
Subject: badmailfrom


| Hi all,
|
| I'm looking for an easy way to reject mail from specific domains, but I'd
| like to capture the WHOLE domain, even if there's sub-domains or variable
| hosts present in the envelope.
|
| Basically:
| [EMAIL PROTECTED]
|
| I know I can:
| @domain
| @sub.domain
| user@domain
|
| To catch a complete domain, sub-domain or an individual.
|
| But, is it possible to accommodate a variable host, or further sub-domains
| ??
|
| eg.
| @sub1.domain
| @sub2.domain
| @host1.sub1.domain
| @host2.sub1.domain
|
| Can I reject all of the above with a simple one-liner ??
|
| Guess I'm asking if badmailfrom does any form of 'wildcarding' ??
|
| If not,... is bmfcheck region within qmail-smtpd.c the right place for
this
| to be accommodated ??
|
| I'd like to be able to put a one-liner entry like just ".domain" and then
| have it all silently never get seen.
|
| Thanks in advance,
|
| Jim.....
|

Reply via email to