Shell question

Jack Stone antennex at
Wed Oct 25 14:53:59 UTC 2006

I have managed to piece together a shell script that is able to retrieve the 
domains from the spams of the day and summarize those in a special file that 
can then be added to the sendmail's rejects in the access.db. But, first I 
have to eyeball the list and remove any obvious good-guy domains.

I would like to create another list of those same good guys that can be 
added to each day as they show up, then compare it to the above main list 
and delete the good guy domains before adding to the access.db.

What would be the best way of doing the above in a few lines added to my 
(sh) shell script?

BTW: The "spam" list of domains are listed in a column one below the other 
in a flat file.

Appreciate your usual fine advice on this. Hope I have been clear.



Find a local pizza place, music store, museum and more…then map the best 

More information about the freebsd-questions mailing list