Removing specific message(s) from exim mail queue
Exim comes with an excellent utility called exiqgrep which has lots of grep like functionality on queues. For example to find all messages which has info@xxx.com as recipient:
exiqgrep -r info@xxx.com
If you want to search for from address not recipient, change -r with -f parameters. You can also delete the messages after finding them:
exiqgrep -f info@xxx.com | awk {'print $3'} | xargs -Mrm
- 0 Comment
- Murat Demirten
- 11 Apr 2008, 14:17
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Redirecting tcp / udp ports with socat
- Syntax highlighting in less
- Disabling reverse dns lookups in ssh
- Passwordless sudo setup
- Users with /bin/false shell to login on vsftpd
- Using lsof utility
- dropbear rsa key problem
- Scp resume
- XFS Filesystem has duplicate UUID problem
- Lowercase Table Names in MySQL
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
