Re: Re: [SLE] Squid dynamic access list possible?
Second question: How can I set up a local e-mail account so, that when mail arrives to that address, it will run an external script, that would update that text-file and put a new URL in there?
Do you know, it just so happens that I have a bash shell script that will listen for an e-mail. When an e-mail is received, it checks the body, and if the body of the e-mail contains a url, it will append it to the appropriate filtering file. I call the script "loop4mail".... If you would like a copy, let me know. HTH, Thomas Adam
On Thursday 13 December 2001 11.48, THOMAS ADAM wrote:
I call the script "loop4mail"....
You don't have to loop with the script. Create a mail alias "|script", and it will run every time a new mail arrives, with the mail as standard input. regards Anders
participants (2)
-
Anders Johansson
-
THOMAS ADAM