<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.acenet.us/index.php?action=history&amp;feed=atom&amp;title=Exim_Mail_Logs</id>
	<title>Exim Mail Logs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.acenet.us/index.php?action=history&amp;feed=atom&amp;title=Exim_Mail_Logs"/>
	<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Exim_Mail_Logs&amp;action=history"/>
	<updated>2026-05-14T11:52:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://kb.acenet.us/index.php?title=Exim_Mail_Logs&amp;diff=1363&amp;oldid=prev</id>
		<title>Docs admin at 19:13, 19 January 2013</title>
		<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Exim_Mail_Logs&amp;diff=1363&amp;oldid=prev"/>
		<updated>2013-01-19T19:13:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:13, 19 January 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__TOC__&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==General Information==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==General Information==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docs admin</name></author>
	</entry>
	<entry>
		<id>https://kb.acenet.us/index.php?title=Exim_Mail_Logs&amp;diff=1362&amp;oldid=prev</id>
		<title>Docs admin: Created page with &quot;__TOC__ ==General Information==  The exim mail logs are located in: /var/log/  The three main mail logs are:  */var/log/exim_mainlog */var/log/exim_paniclog */var/log/exim_rej...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Exim_Mail_Logs&amp;diff=1362&amp;oldid=prev"/>
		<updated>2013-01-19T19:12:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__TOC__ ==General Information==  The exim mail logs are located in: /var/log/  The three main mail logs are:  */var/log/exim_mainlog */var/log/exim_paniclog */var/log/exim_rej...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
==General Information==&lt;br /&gt;
&lt;br /&gt;
The exim mail logs are located in: /var/log/&lt;br /&gt;
&lt;br /&gt;
The three main mail logs are:&lt;br /&gt;
&lt;br /&gt;
*/var/log/exim_mainlog&lt;br /&gt;
*/var/log/exim_paniclog&lt;br /&gt;
*/var/log/exim_rejectlog&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;exim_mainlog&amp;#039;&amp;#039;&amp;#039; - tracks every mail transaction handled by the server.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;exim_rejectlog&amp;#039;&amp;#039;&amp;#039; - logs only delivery rejections.  This log is of limited usage.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;exim_paniclog&amp;#039;&amp;#039;&amp;#039; - contains info on the exim program and does not log mail transaction data.&lt;br /&gt;
&lt;br /&gt;
==Searching through the exim mail logs using exigrep==&lt;br /&gt;
&lt;br /&gt;
The exigrep command works by locating your search string in transactions, and then gathering every log entry into separate, complete transactions.&lt;br /&gt;
&lt;br /&gt;
exigrep &amp;quot;input_string&amp;quot; /var/log/exim_mainlog&lt;br /&gt;
&lt;br /&gt;
The input string can be anything from an email address, a domain name, a Mail ID, or even an IP Address. So, for example, if you were wanting to search for any email sent to/from the email address emailaddress@ace-host.net in your server&amp;#039;s exim_mainlog, you would use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;exigrep emailaddress@ace-host.net /var/log/exim_mainlog&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the results of your search are quite large, you can output them to a file if you like. In order to do this, all you need to do is add an &amp;gt; to the end of your command followed by the file you&amp;#039;re wanting to output the results of your search to. Here is an example command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;exigrep emailaddress@ace-host.net /var/log/exim_mainlog &amp;gt; /home/email_log_file.txt&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Note: if the file you&amp;#039;re outputting your search results to does not exist, it will be created when the command is executed.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above command will output the results of the search to the file /home/email_log_file.txt on the server. This makes it easier to review the results of the search because that file can be opened in a text editor (nano, vi, etc.) to review. You can also provide that file to others that do not have access to your server&amp;#039;s mail logs.&lt;br /&gt;
&lt;br /&gt;
==Interpreting the exim_mainlog==&lt;br /&gt;
&lt;br /&gt;
A typical mail log of a successful email delivery will look similar to the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;2012-12-15 09:35:11 1Tjspb-0006c6-DD &amp;lt;= emailaddress@ace-host.net H=c-69-245-103-30.hsd1.mi.comcast.net ([10.1.10.13]) &lt;br /&gt;
[83.83.83.83]:63316 P=esmtpa A=courier_login:emailadddress@ace-host.net S=645 id=50CC8AB0.9000708@ace-host.net T=&amp;quot;Test Message&amp;quot; &lt;br /&gt;
for emailaddress2@ace-host.net&lt;br /&gt;
2012-12-15 09:35:11 1Tjspb-0006c6-DD =&amp;gt; emailaddress2 &amp;lt;emailaddress2@ace-host.net&amp;gt; R=virtual_user T=virtual_userdelivery&lt;br /&gt;
2012-12-15 09:35:11 1Tjspb-0006c6-DD Completed&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;=&amp;#039;&amp;#039;&amp;#039; :: indicates the sending email address. In the above example, the email address emailaddress@ace-host.net is the sending email address because it is next to the &amp;lt;= symbol.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A=courier_login&amp;#039;&amp;#039;&amp;#039; :: indicates which email address was logged into and sent the email. In the above example, the email address emailadddress@ace-host.net was logged into and sent the email. If you do not see this line in your log, this means that a script was responsible for sending the email or the email was not sent from your server.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;T=&amp;#039;&amp;#039;&amp;#039; :: indicates the subject of the email. The subject of the above example email is: Test Message&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt;&amp;#039;&amp;#039;&amp;#039; :: indicates the recipient email address(es). In the above example, the only recipient email address is emailaddress2@ace-host.net.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Completed&amp;#039;&amp;#039;&amp;#039; :: indicates that the email was successfully delivered to the recipient email address&amp;#039; email server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Other things you may see in your logs===&lt;br /&gt;
&lt;br /&gt;
== :: indicates a temporary error condition in which the email will be placed in the sending mail server&amp;#039;s queue and attempt to be delivered at a later time. Here&amp;#039;s an example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;2012-12-09 04:05:43 1ThcpT-00180S-IA == someuser@ace-host.net R=localuser T=local_delivery defer (122): Disk quota exceeded: &lt;br /&gt;
mailbox is full&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;**&amp;#039;&amp;#039;&amp;#039; :: indicates a message will not be retried. Here&amp;#039;s an example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;2012-12-09 04:05:43 1ThcpT-00180S-IA ** someuser@ace-host.net: retry timeout exceeded&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Docs admin</name></author>
	</entry>
</feed>