<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dipplum.com &#187; smtp</title>
	<atom:link href="http://dipplum.com/tag/smtp/feed/" rel="self" type="application/rss+xml" />
	<link>http://dipplum.com</link>
	<description>Be  the change you wanna see in the world</description>
	<lastBuildDate>Sat, 12 Nov 2011 07:38:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>检查 Debian 服务器的 exim 邮件队列</title>
		<link>http://dipplum.com/2009/04/01/debian-check-exim-queue/</link>
		<comments>http://dipplum.com/2009/04/01/debian-check-exim-queue/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 04:06:39 +0000</pubDate>
		<dc:creator>li</dc:creator>
				<category><![CDATA[开源软件]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://dipplum.com/2009/04/01/debian-check-exim-queue/</guid>
		<description><![CDATA[exim 是 Debian 系统预装的邮件服务器。在系统使用过程中，可能会出现网络故障，导致一些邮件进入 exim 重试队列，每次重发失败都会给管理员发信，非常讨厌。 从网上找了一个 exim 秘籍，非常有用。只用了有限几个命令就可以排除上述故障。 显示 exim 队列中邮件数目 exim -bpc 显示 exim 队列中邮件信息，邮件 id 号，收件人信息等 exim -bp 重新发送 exim 队列中的邮件，并显示 SMTP 协议交互 exim -q -v 强制重新发送 exim 队列中的邮件。有些失败邮件设置了下次重试时间，在此之前要强制发送 exim -qf -v 给定邮件 id，删除队列中的邮件。id号通过 -bp 命令可以获得 exim -Mrm &#60;msg-id&#62;]]></description>
			<content:encoded><![CDATA[<p>exim 是 Debian 系统预装的邮件服务器。在系统使用过程中，可能会出现网络故障，导致一些邮件进入 exim 重试队列，每次重发失败都会给管理员发信，非常讨厌。</p>
<p>从网上找了一个 <a href="http://bradthemad.org/tech/notes/exim_cheatsheet.php">exim 秘籍</a>，非常有用。只用了有限几个命令就可以排除上述故障。</p>
<ul>
<li>显示 exim 队列中邮件数目</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">exim <span style="color: #660033;">-bpc</span></pre></div></div>

<li>显示 exim 队列中邮件信息，邮件 id 号，收件人信息等</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">exim <span style="color: #660033;">-bp</span></pre></div></div>

<li>重新发送 exim 队列中的邮件，并显示 SMTP 协议交互</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">exim <span style="color: #660033;">-q</span> <span style="color: #660033;">-v</span></pre></div></div>

<li>强制重新发送 exim 队列中的邮件。有些失败邮件设置了下次重试时间，在此之前要强制发送</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">exim <span style="color: #660033;">-qf</span> <span style="color: #660033;">-v</span></pre></div></div>

<li>给定邮件 id，删除队列中的邮件。id号通过 -bp 命令可以获得</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">exim <span style="color: #660033;">-Mrm</span> <span style="color: #000000; font-weight: bold;">&lt;</span>msg-id<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

</ul>
]]></content:encoded>
			<wfw:commentRss>http://dipplum.com/2009/04/01/debian-check-exim-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

