OT: Dynamically updating /etc/mail/access
Nerijus Baliunas
nerijus at USERS.SOURCEFORGE.NET
Wed Jan 8 23:49:55 GMT 2003
On Wed, 8 Jan 2003 15:40:32 -0700 "Andrew M. Hoying" <andrewh at CQG.COM> wrote:
> Here is what I'm using basically, I run this hourly:
>
> #!/bin/bash
>
> # Should probably use mktemp here
> cd /tmp
> rm -rf accessdb
> mkdir accessdb
> cd accessdb
>
> # access.manual contains entries that are maintained locally
> cp /etc/mail/access.manual /tmp/accessdb
>
> # download the latest spamlist update
> wget -q http://basic.wirehub.nl/spamlist-extended.txt
They ask to switch to rsync btw:
### 4. All files are now available using rsync; please switch to rsync whenever possible; see
http://basic.wirehub.nl/spamstats.html.
Regards,
Nerijus
More information about the MailScanner
mailing list