The problem with an inverse grep is that at least one line of every message will match... is every message getting bounced?
You would need a longer script that would set a flag if the correct sender domain was found and set the relevant return code accordingly.
As a side note, the From: field can be easily forged so this solution may not be that effective, it may be worth investigating other methods of restricting inbound mail.
cheers
|