exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash
`exim -bp`, lists the messages in queue, which is piped through awk, printing to output "exim -Mrm {MessageID}" which is further piped into bash for execution.
eximRemove all messages from exim queueSubmitted by sandip on Thu, 11/17/2011 - 16:39exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash `exim -bp`, lists the messages in queue, which is piped through awk, printing to output "exim -Mrm {MessageID}" which is further piped into bash for execution. Monitor outgoing emails in cPanel eximSubmitted by sandip on Wed, 04/22/2009 - 23:07In cPanel WHM, Main > Service Configuration > Exim Configuration Editor: Under Filters, check "System Filter File" location, usually at "/etc/cpanel_exim_system_filter". Edit the file: Just below (this should already exist): if not first_delivery Add the filter: # Monitor outgoing emails from domain.tld Save changes and restart exim: # /etc/init.d/exim restart »
|
User loginRecent blog posts
Who's onlineThere are currently 0 users and 10 guests online.
|