<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mywiki.romanost.co.il/index.php?action=history&amp;feed=atom&amp;title=Exim</id>
		<title>Exim - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://mywiki.romanost.co.il/index.php?action=history&amp;feed=atom&amp;title=Exim"/>
		<link rel="alternate" type="text/html" href="https://mywiki.romanost.co.il/index.php?title=Exim&amp;action=history"/>
		<updated>2026-04-16T14:33:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.4</generator>

	<entry>
		<id>https://mywiki.romanost.co.il/index.php?title=Exim&amp;diff=7&amp;oldid=prev</id>
		<title>Meadmin: Created page with &quot; == Set exim smtp delay ==  echo &quot;sed -i &#039;0,/delay = 20s/s//delay = 5s/&#039; /etc/exim.conf&quot; &gt; /etc/exim/delay_unknown_hosts  /etc/init.d/exim  restart   == Find spamming account...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mywiki.romanost.co.il/index.php?title=Exim&amp;diff=7&amp;oldid=prev"/>
				<updated>2017-01-23T20:28:15Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; == Set exim smtp delay ==  echo &amp;quot;sed -i &amp;#039;0,/delay = 20s/s//delay = 5s/&amp;#039; /etc/exim.conf&amp;quot; &amp;gt; /etc/exim/delay_unknown_hosts  /etc/init.d/exim  restart   == Find spamming account...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Set exim smtp delay ==&lt;br /&gt;
 echo &amp;quot;sed -i &amp;#039;0,/delay = 20s/s//delay = 5s/&amp;#039; /etc/exim.conf&amp;quot; &amp;gt; /etc/exim/delay_unknown_hosts&lt;br /&gt;
 /etc/init.d/exim  restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Find spamming account ==&lt;br /&gt;
 ps -C exim -fH eww | grep home&lt;br /&gt;
&lt;br /&gt;
== Queue summary ==&lt;br /&gt;
 exim -bp | exiqsumm | head -n 3; exim -bp | exiqsumm | sort -nr | head -n 10&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== List queued messages grouped by address of sender ==&lt;br /&gt;
 exim -bpr | grep -Eo &amp;quot;&amp;lt;[^ ]*@[^ ]*&amp;gt;&amp;quot; | sort | uniq -c  | sort -nr | head&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Check what Exim is doing right now ==&lt;br /&gt;
 root@localhost# exiwhat&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Remove any mail from/to google.com ==&lt;br /&gt;
 exiqgrep -i -r @booksefer.com | xargs exim -Mrm&lt;br /&gt;
 exiqgrep -i -f @booksefer.com | xargs exim -Mrm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Exim commands ==&lt;br /&gt;
 exim -M id      #Try to send the message with id id &lt;br /&gt;
 &lt;br /&gt;
 exim -qf (-v)   #Tell exim to process the entire queue again&lt;br /&gt;
 exim –qff (-v)  #same as qf, but it will flush the frozen messages&lt;br /&gt;
 &lt;br /&gt;
 exim -Mvl id    #view the message log for message id&lt;br /&gt;
 exim -Mvh id    #view message id&amp;#039;s headers&lt;br /&gt;
 exim -Mvc id    #view message id&amp;#039;s body + headers&lt;br /&gt;
 exim -Mvb id    #view message id&amp;#039;s body &lt;br /&gt;
 exim -Mrm id    #remove message id from the queue&lt;br /&gt;
 exim -Mg id     #fail and send a bounce to the sender&lt;br /&gt;
 exim -bp | exiqsumm    #Print summary of the messages in the queue&lt;br /&gt;
 exiwhat        #show what exim is doing right now&lt;br /&gt;
 exim -bpc      #show number of messages in the queue&lt;br /&gt;
 exim &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Start a queue run ==&lt;br /&gt;
 root@localhost# exim -q -v&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remove all frozen messages ==&lt;br /&gt;
 root@localhost# exiqgrep -z -i | xargs exim -Mrm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remove mails in queue from a particular sender ==&lt;br /&gt;
 exiqgrep -i -f user@domain.com | xargs exim -Mrm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Remove mails to a particular sender in the queue ==&lt;br /&gt;
 exiqgrep -i -t user@domain.com | xargs exim -Mrm&lt;br /&gt;
&lt;br /&gt;
== Test how exim will route a given address ==&lt;br /&gt;
 root@localhost# exim -bt user@localdomain.com&lt;br /&gt;
&lt;br /&gt;
== Display Exim&amp;#039;s configuration settings ==&lt;br /&gt;
 root@localhost# exim -bP&lt;br /&gt;
&lt;br /&gt;
== Search the queue for messages from a specific sender ==&lt;br /&gt;
 root@localhost# exiqgrep -f [luser]@domain&lt;br /&gt;
&lt;br /&gt;
== Search the queue for messages for a specific recipient/domain ==&lt;br /&gt;
 root@localhost# exiqgrep -r [luser]@domain&lt;br /&gt;
&lt;br /&gt;
== Print messages older than the specified number of seconds. Eg: messages older than 1 hour ==&lt;br /&gt;
 root@localhost# exiqgrep -o 3600 [...]&lt;br /&gt;
&lt;br /&gt;
== Print messages younger than the specified number of seconds. Eg: messages less than an hour old ==&lt;br /&gt;
 root@localhost# exiqgrep -y 3600 [...]&lt;br /&gt;
&lt;br /&gt;
== Match the size of a message with a regex. Eg: Messages between 500-599 bytes ==&lt;br /&gt;
 root@localhost# exiqgrep -s &amp;#039;^5..$&amp;#039; [...]&lt;br /&gt;
&lt;br /&gt;
== Match only frozen messages ==&lt;br /&gt;
 root@localhost# exiqgrep -z&lt;br /&gt;
&lt;br /&gt;
== Match only Non-frozen messages ==&lt;br /&gt;
 root@localhost# exiqgrep -x&lt;br /&gt;
&lt;br /&gt;
== Print just the message-id of the entire queue ==&lt;br /&gt;
 root@localhost# exiqgrep -i&lt;br /&gt;
&lt;br /&gt;
== Start a queue run ==&lt;br /&gt;
 root@localhost# exim -q -v&lt;br /&gt;
&lt;br /&gt;
== Start a queue run for just local deliveries ==&lt;br /&gt;
 root@localhost# exim -ql -v&lt;br /&gt;
&lt;br /&gt;
== Remove a message from the queue ==&lt;br /&gt;
 root@localhost# exim -Mrm [ ... ]&lt;br /&gt;
&lt;br /&gt;
== Freeze a message ==&lt;br /&gt;
 root@localhost# exim -Mf [ ... ]&lt;br /&gt;
&lt;br /&gt;
== Thaw a message ==&lt;br /&gt;
 root@localhost# exim -Mt [ ... ]&lt;br /&gt;
&lt;br /&gt;
== Deliver a message, but only if the retry time has been reached ==&lt;br /&gt;
 root@localhost# exim -Mc [ ... ]&lt;br /&gt;
&lt;br /&gt;
== Force a message to fail and bounce as &amp;quot;cancelled by administrator&amp;quot; ==&lt;br /&gt;
 root@localhost# exim -Mg [ ... ]&lt;br /&gt;
&lt;br /&gt;
== Remove all frozen messages ==&lt;br /&gt;
 root@localhost# exiqgrep -z -i | xargs exim -Mrm&lt;br /&gt;
&lt;br /&gt;
== Remove all messages older than five days (86400 * 2 = 172800 seconds) ==&lt;br /&gt;
 root@localhost# exiqgrep -o 172800 -i | xargs exim -Mrm&lt;br /&gt;
&lt;br /&gt;
== Freeze all queued mail from a given sender ==&lt;br /&gt;
 root@localhost# exiqgrep -i -f user@example.com | xargs exim -Mf&lt;br /&gt;
&lt;br /&gt;
== Add a recipient to a message ==&lt;br /&gt;
 root@localhost# exim -Mar &lt;br /&gt;
 [ &lt;br /&gt;
 ... ] &lt;br /&gt;
&lt;br /&gt;
== Edit the sender of a message ==&lt;br /&gt;
 root@localhost# exim -Mes &lt;br /&gt;
&lt;br /&gt;
== Force cleaning all queue: ==&lt;br /&gt;
 exim -bp | grep \&amp;lt; | awk &amp;#039;{print $3}&amp;#039; | xargs exim -Mrm&lt;/div&gt;</summary>
		<author><name>Meadmin</name></author>	</entry>

	</feed>