> -----Original Message----- > From: Duncan Hill [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 09, 2007 11:00 AM > To: users@spamassassin.apache.org > Subject: Re: Can SpamAssassin delete mails just from certain > countries ? > > On Wed, May 9, 2007 09:57, Ruben Cardenal wrote: > > Chris wrote: > > > >> Hi all, > >> > >> > >> Anyone know if you can get Spamassassin to block and/or > >> delete emails from certain countries if you are on shared > hosting please > >> ? > >> > >> > >> Any help very much appreciated. > >> > >> > >> Chris. > >> > >> > >> > > Just add a custom rule for matching the desired countries and use > > procmail to deliver it to /dev/null. > > http://wiki.apache.org/spamassassin/URICountryPlugin > http://wiki.apache.org/spamassassin/RelayCountryPlugin
Many thanks Ruben, Gabriel and Duncan for the help - it's appreciated. One thing, my hosts say that I'm not able to do this if I'm on shared hosting - are you saying that there's a way to do this on shared hosting please ? Out of the ways that have been kindly recommended here, which one would be the easiest for a comparative newbie to do and for it to still be effective please ? Chris.