How to delete all messages in the delivery queue from a specific user
|Article:TECH132980|||||Created: 2010-01-07|||||Updated: 2012-09-19|||||Article URL http://www.symantec.com/docs/TECH132980|
There is a need to know how to delete all messages in the delivery queue from a specific user.
This can be done by issuing "mta-control delete-msgs-by-sender <regexp>" command from the CLI. This command accepts any Perl regular expressions (case insensitive) as arguments.
For example, if the envelope sender is "firstname.lastname@example.org" from the CLI following command could be run:
mta-control delivery delete-msgs-by-sender user\@domain\.com
Article URL http://www.symantec.com/docs/TECH132980