Re: Unwanted messages
On Thu, Jun 08, 2006 at 02:51:29PM +0100, A J Stiles wrote:
> We seem to be getting a lot of spam being sent to the list lately. Can we do
> anything to block it? Only accepting inbound mail from addresses on the
> recipients list would be a good start. Also, since we're all Debian users
> here, it might make sense to reject mail apparently coming from a
> Windows-based user-agent.
apt-get install spamassassin
Put this in your .procmailrc:
:0fw
* < 500000
| /usr/bin/spamassassin
:0e
{
EXITCODE=$?
}
:0
* ^X-Spam-Status: Yes
spam
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
Reply to: