1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:55:23 +02:00
tldr/pages/linux/exiqgrep.md

29 lines
716 B
Markdown
Raw Normal View History

# exiqgrep
> Perl script offering possibilities to `grep` in the Exim queue output.
> More information: <https://www.exim.org/exim-html-current/doc/html/spec_html/ch-exim_utilities.html>.
- Match the sender address using a case-insensitive search:
2025-05-11 13:56:41 +03:00
`exiqgrep -f '<{{email@example.com}}>'`
- Match the sender address and display message IDs only:
2025-05-11 13:56:41 +03:00
`exiqgrep -i -f '<{{email@example.com}}>'`
- Match the [r]ecipient address:
2025-05-11 13:56:41 +03:00
`exiqgrep -r '{{email@example.com}}'`
- Remove all messages matching the sender address from the queue:
2025-05-11 13:56:41 +03:00
`exiqgrep -i -f '<{{email@example.com}}>' | xargs exim -Mrm`
- Test for bounced messages:
`exiqgrep -f '^<>$'`
- Display the [c]ount of bounced messages:
`exiqgrep -c -f '^<>$'`