2012-11-15 09:24:03 1TZ0MN-0000Tm-2W <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:09 1TZ0MS-0000UH-Jq <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:13 1TZ0MX-0000Us-Me <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:20 1TZ0Md-0000VI-Rh <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:24 1TZ0Mi-0000Vf-KQ <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:30 1TZ0Mn-0000W6-TR <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:36 1TZ0Mt-0000WY-SR <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:41 1TZ0Mz-0000XI-1S <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:45 1TZ0N3-0000Xi-Mz <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected] 2012-11-15 09:24:51 1TZ0N9-0000YI-FX <= [email protected] U=USER P=local S=439 T="http://USER-DOMAIN.net" for [email protected]
有什么方法可以放下所有的电子邮件吗? 他们在那里有1000。
我试过了:
exiqgrep -ir [email protected] | xargs exim -Mrm exim: no message ids given after -Mrm option
对我来说下面的工作很完美:
要从任何发件人中删除所有电子邮件,请使用:
要删除所有电子邮件到任何收件人在进出口队列使用:
下面是exiqgrep和exim命令的帮助:
exiqgrep -h Exim消息队列显示实用程序。 -h这个帮助信息。 select标准:
-f <regexp> Match sender address sender (field is "< >" wrapped) -r <regexp> Match recipient address -s <regexp> Match against the size field from long output -y <seconds> Message younger than -o <seconds> Message older than -z Frozen messages only (exclude non-frozen) -x Non-frozen messages only (exclude frozen)
显示选项:-c显示匹配计数-l长格式[默认] -i仅消息ID -b简要格式-R反向sorting
EXIM命令:
exim -bp - shows messages in queue exim -bpc - shows the no.of messages in queue exim -bP - shows the current configurations of exim exim -bV - shows the version and configuration file of exim exiwhat - Finding out what Exim processes are doing exim -qf - Force another queue run exim -qff - Force another queue run and attempt to flush frozen messages exim -Mvl - messageID View Log for message exim -Mvb - messageID View Body for message exim -Mvh - messageID View Header for message exim -Mrm - messageID Remove message (no errors sent) exim -Mg - messageID Give up and fail message, message bounces to sender exiqgrep -zi -z : frozen mails only -i : display message IDs only exim -M emailID - Force delivery of one message
我可以find所有使用exiqgrep的例子都有分隔的选项,从来没有组合过。
试试exiqgrep -i -r [email protected] | xargs exim -Mrm exiqgrep -i -r [email protected] | xargs exim -Mrm
试试这个命令
它为我工作从队列中删除所有冻结的邮件。
如果您想从发件人邮件地址为[email protected]的队列中删除所有邮件,请尝试:
# exiqgrep -i -f [email protected] | xargs exim -Mg
在这个你不必一个一个的手动input按摩ID …它适用于我..