<?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>Connecting the dots... &#187; sendmail path</title>
	<atom:link href="http://blog.rajatpandit.com/tag/sendmail-path/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rajatpandit.com</link>
	<description>Thoughts on Web Development, Infrastructure and Application Scalability</description>
	<lastBuildDate>Thu, 29 Dec 2011 13:21:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PHP, Mail and OSX Leopard</title>
		<link>http://blog.rajatpandit.com/2009/03/15/php-mail-and-osx-leopard/</link>
		<comments>http://blog.rajatpandit.com/2009/03/15/php-mail-and-osx-leopard/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 21:16:20 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[sendmail path]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=242</guid>
		<description><![CDATA[I have been trying to get my old apps to send emails, but for some wierd reason I couldnt get it working out of the fox. If you have had...]]></description>
			<content:encoded><![CDATA[<p>I have been trying to get my old apps to send emails, but for some wierd reason I couldnt get it working out of the fox. If you have had similar problems, you can try out this.<br />
<strong>Step 1</strong>: Update the hostconfig file.<br />
Add the following line to <code>/etc/hostconfig</code><br />
MAILSERVER=-YES-</p>
<p><strong>Step 2</strong>: Update variable <code>myhostname</code> in the file /etc/postfix/main.cf<br />
Set the variable to your hostname, you might need to uncomment the default value.</p>
<p><strong>Step 3</strong>: Find your php.ini file and update the <code>sendmail_path</code> and make it<br />
<code>/your/path/sendmail -t -i</code></p>
<p>Now open another terminal window and do a tail on the log file to see if you have any further errors.<br />
<code>tail -f /var/log/mail.log</code></p>
<p>You can start the server by running the following command:</p>
<pre class="brush: bash; title: ; notranslate">
sudo postfix start
</pre>
<p>The above changes worked for me, however you might need to investigate this a little more if you still have trouble.</p>
<div id="in_post_ad_bottom_1" style="clear:both;margin:0;padding:0;"><div class="brp-bp-234">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-4254382394977039";
/* brp-234x60-bp */
google_ad_slot = "7787511801";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<div class="brp-bp-234">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-4254382394977039";
/* brp-234x60-BP-1 */
google_ad_slot = "9111022353";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></div><div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/03/15/php-mail-and-osx-leopard/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

