[techtalk] re: Send Mail or just Mail in General

Nigel Metheringham Nigel.Metheringham at VData.co.uk
Thu May 11 15:48:23 EST 2000


hobbit at aloss.ukuu.org.uk said:
> If you are using exim, it's dead easy (which was wonderful when I
> suddenly had to learn this immediately to stop a barrage of  unwanted
> email shooting down my modem..): 

telsa's comments are for exim versions before 3.00
In 3.x all the reject options were rolled into a single multi-type 
bundle which can contain ip addresses, network ranges, domain names and 
probably other things.

The magic options are host_reject and/or host_reject_recipients - so 
you could use something like
	host_reject_recipients = 1.2.3.4/24

If you want to block people based on *their* email address look at 
sender_reject:-
	sender_reject = "spamuser at some.domain:spam.domain"

You can get very tricky on these - keyed lookups and even mysql 
databases can be hooked in too.   Details are in the manual (which is 
online on the exim web site) - the main shortcoming of the manual is 
that *everything* is in it and its an imposing size now.


	Nigel.
-- 
[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham                  Nigel.Metheringham at VData.co.uk ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]







More information about the Techtalk mailing list