On Tue, 24 Nov 2009 18:55:49 -0800, Jason LaRiviere wrote: >Hello all, > >Willing to suffer scorn if I've missed a commit message or previous post on >the matter, but I've been getting a 404 for these two lists since >approximately the `unplanned maintenance' www event of a few weeks ago. Shall >I comment them out of spamd.conf, or will they make their return? > >Regards, >Jason. >
A long long time ago we had a similar problem. My solution has stayed in place ever since. Cobbled up Q&D but it works. script = okean: #!/bin/sh ftp -o /var/db/china.txt http://www.okean.com/chinacidr.txt ftp -o /var/db/korea.txt http://www.okean.com/koreacidr.txt crontab entry for okean: 26 14 * * * /root/bin/okean part of spamd.conf: 8>< snip-------------------------------------------------------------- # Mirrored from http://www.okean.com/chinacidr.txt china:\ :black:\ :msg="SPAM. Your address %A appears to be from China\n\ See http://www.okean.com/asianspamblocks.html for more details":\ :method=file:\ :file=/var/db/china.txt: # Mirrored from http://www.okean.com/koreacidr.txt korea:\ :black:\ :msg="SPAM. Your address %A appears to be from Korea\n\ See http://www.okean.com/asianspamblocks.html for more details":\ :method=file:\ :file=/var/db/korea.txt: 8><end snip------------- No more problems since. Hints: pick some oddball time for the cronjob, once a day is fine as changes are rare. I use a similar technique for nixspam too. Good enough for you? You're welcome! I think that the people running that site don't realise that it is better for OpenBSD to mirror it than to have us all hitting it daily but you just can't get through to some people..... *** NOTE *** Please DO NOT CC me. I <am> subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ --- This life is not the real thing. It is not even in Beta. If it was, then OpenBSD would already have a man page for it.