Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/etc/mail/access_db

Status
Not open for further replies.

FredrikN

Programmer
Jan 5, 2001
60
SE
Hi

I'm using access_db in /etc/mail/ to block spammail

The problem is the list just grows and grows beacuse I must block adresses like

mx.1.teen-1mail.com 550 No f**** spam allowed
mx.1.teen-2mail.com 550 No f**** spam allowed
mx.1.teen-3mail.com 550 No f**** spam allowed
mx.1.teen-4mail.com 550 No f**** spam allowed
mx.1.teen-5mail.com 550 No f**** spam allowed

and so on.......

Is there a way I can use Regexp in my access_db file ?
Something like

[teen].com 550 No f**** spam allowed

that will block mail from teen whatever.


I have been trying to solve this for month , maybe someone at Tek-Tips know how ?

(I dont't want to use any Blacklist function, I want to solve it with only Regexp)

//Fredrik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top