LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

exiqgrep

Exim mail queue search utility

TLDR

Match sender address (case-insensitive)
$ exiqgrep -f '<[email@example.com]>'
copy
Match sender and display message IDs only
$ exiqgrep -i -f '<[email@example.com]>'
copy
Match recipient address
$ exiqgrep -r '[email@example.com]'
copy
Remove all messages matching sender
$ exiqgrep -i -f '<[email@example.com]>' | xargs exim -Mrm
copy
Test for bounced messages
$ exiqgrep -f '^<>$'
copy
Display count of bounced messages
$ exiqgrep -c -f '^<>$'
copy

SYNOPSIS

exiqgrep [options] [pattern]

DESCRIPTION

exiqgrep is a Perl script for searching the Exim mail queue. It filters queue output by sender, recipient, age, frozen state, and other criteria. At least one selection option or -c must be given.Commonly used with exim -Mrm to remove matching messages from the queue.

PARAMETERS

-f pattern

Match sender address
-r pattern
Match recipient address
-i
Display message IDs only
-c
Display count only
-o seconds
Match messages older than
-y seconds
Match messages younger than
-z
Match frozen messages only
-x
Match non-frozen messages only
-b
Brief format output
-R
Reverse output order

INSTALL

sudo apt install exim4-base
copy
sudo apk add exim-scripts
copy

CAVEATS

Exim mail server specific. Patterns use Perl regular expressions. Requires appropriate permissions to access mail queue.

SEE ALSO

exim(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid