[Gllug] Re-scanning old emails

Chris Bell chrisbell at overview.demon.co.uk
Tue Aug 7 11:15:24 UTC 2007


On Tue 07 Aug, Rich Walker wrote:
> 

> exigrep might be of use here.
> 
> This is a script I use for something similar:
> 
> grep "Unrouteable address" /var/log/exim4/mainlog | cut -d'@' -f1 | cut -d' ' -f 5 | s
> ort | uniq > /tmp/a
> cp /etc/spambait.list /tmp/b
> sort /tmp/a /tmp/b | uniq > /etc/spambait.list
> 
> cheers, Rich.
> 
   Thanks, I will try that.


-- 
Chris Bell

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list