06-26-2008 04:52 PM
I'm wondering how to use the CLI to generate a list of e-mail addresses that were rejected as 'invalid recipients' from specific mail servers?
We have some mail servers in our organization used for testing that send mostly legitimate mail, but also some invalid recipient mail to our IronPort. I can see in the 'Incoming Mail' reports that those specific servers are delivering lots of e-mail to 'invalid recipients'. I want to help out the admins of those servers by providing them a list of the 'invalid recipient' e-mails that are being generated.
IronPort support gave me the following query to use, but it returns 0 results, even though I can see in the 'Incoming Mail' reports that they are submitting thousands of invalid recipients per day.
grep -e "@edmunds.com.*rejected by Recipient Access Table" mail_logs
No results were found. Use another regular expression(s) to search.
Any ideas will be much appreciated. Thanks!
06-26-2008 10:40 PM
Try a case insensitive grep. I forget what the option for that is, but it's probably -i.
If that doesn't work, then download one of the log files to somewhere where you've got better tools. Then figure out exactly what regular expression will match, and use that in the CLI. There's probably some subtle error with the regex you're using, like a minor wording or spacing error.
06-26-2008 10:55 PM
Try a case insensitive grep. I forget what the option for that is, but it's probably -i.
If that doesn't work, then download one of the log files to somewhere where you've got better tools. Then figure out exactly what regular expression will match, and use that in the CLI. There's probably some subtle error with the regex you're using, like a minor wording or spacing error.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide