how to remove all email from a user
Hello
one of my user sent 40K email, and all them in queu
i have two question:
1- how i can check/find which user send this emails?
2- how i can delete all emails in queue just for one user
Thanks.
-
Hello, 1- how i can check/find which user send this emails? exim -bp
Above command will show the all queue mails with email ID. 2- how i can delete all emails in queue just for one user use below command : exiqgrep -ir email@domain.com | xargs exim -Mrm0 -
Hello, You can also browse to "WHM >> Mail Queue Manager" to find one of the offending messages. Once you find one of the messages, review the message header to see if you are able to determine which account the messages were sent from. Regarding the email removal, search the messages in "Mail Queue Manager", click "Run Report", then click on the "Delete Selected" button to delete all emails in the list. You may also find the following URL helpful if you prefer to use the command line: Exim Cheatsheet Thank you. 0 -
thanks how i can see list of this commands? means how learn this commands like yourself? thanks. 0 -
Hello, You can also browse to "WHM >> Mail Queue Manager" to find one of the offending messages. Once you find one of the messages, review the message header to see if you are able to determine which account the messages were sent from. Regarding the email removal, search the messages in "Mail Queue Manager", click "Run Report", then click on the "Delete Selected" button to delete all emails in the list. You may also find the following URL helpful if you prefer to use the command line: Exim Cheatsheet Thank you.
its a way, but this is not fine when we have 900K email in queue, server will hang :p0 -
thanks how i can see list of this kind commands? means how learn this commands like yourself? thanks.
Here are the all exiqgrep command options, You can use any of this options with your command[root@server ~]# exiqgrep -h Exim message queue display utility. -h This help message. -C Specify which exim.conf to use. Selection criteria: -f Match sender address sender (field is "< >" wrapped) -r Match recipient address -s Match against the size field from long output -y Message younger than -o Message older than -z Frozen messages only (exclude non-frozen) -x Non-frozen messages only (exclude frozen) [ NB: for regexps, provided string sits in // ] Display options: -c Display match count -l Long Format [Default] -i Message IDs only -b Brief Format -R Reverse order -a All recipients (including delivered)0
Please sign in to leave a comment.
Comments
5 comments