<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — [FAQ] Why postfix log in wrong time stamp.]]></title>
		<link>http://www.iredmail.org/forum/topic372-faq-why-postfix-log-in-wrong-time-stamp.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic372.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [FAQ] Why postfix log in wrong time stamp..]]></description>
		<lastBuildDate>Wed, 28 Oct 2009 02:19:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[[FAQ] Why postfix log in wrong time stamp.]]></title>
			<link>http://www.iredmail.org/forum/post1646.html#p1646</link>
			<description><![CDATA[<p>Hi, all.</p><p>This is just a reference, comes from <a href="http://marc.info/?t=125665292300001&amp;r=1&amp;w=2">thread in postfix-users@</a> mail list:<br />- <a href="http://marc.info/?l=postfix-users&amp;m=125666099314806&amp;w=2">http://marc.info/?l=postfix-users&amp;m … 06&amp;w=2</a><br />- <a href="http://marc.info/?l=postfix-users&amp;m=125666155415936&amp;w=2">http://marc.info/?l=postfix-users&amp;m … 36&amp;w=2</a></p><div class="quotebox"><blockquote><p>Logging the &quot;wrong time&quot; means one of the following:</p><p>1) The timezone file is not accessible (no file, no permission).<br />&nbsp; &nbsp;Use strace to see what system call fails.</p><p>2) The file contains the wrong data. Use cmp(1) to find out<br />&nbsp; &nbsp;if it differs from a good file.</p><p>3) The process has the wrong TZ environment. Specify the TZ in<br />&nbsp; &nbsp;/etc/postfix/main.cf.<br />&nbsp; &nbsp;import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ=XXX LANG=C</p><p>4) The process effective user or group id is not equal to the<br />&nbsp; &nbsp;corresponding real id (setuid/setgid binary or ancestor process),<br />&nbsp; &nbsp;and so the process scrubs TZ from its environment for security<br />&nbsp; &nbsp;reasons. In this case, explicitly adding TZ=... in main.cf,<br />&nbsp; &nbsp;as above will help.</p><p>&nbsp; &nbsp;Typically, only postdrop(1) (which only logs unexpected errors)<br />&nbsp; &nbsp;runs in this way.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 28 Oct 2009 02:19:12 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1646.html#p1646</guid>
		</item>
	</channel>
</rss>
