<?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>Avinesh's Blog &#187; plesk</title>
	<atom:link href="http://www.avinesh.com/blog/index.php/tag/plesk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.avinesh.com/blog</link>
	<description>Life. Technology. Cars.</description>
	<lastBuildDate>Thu, 01 Oct 2009 20:08:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Setting up a Plesk POP3 account on the iPhone</title>
		<link>http://www.avinesh.com/blog/index.php/2008/10/29/setting-up-a-plesk-pop3-account-on-the-iphone/</link>
		<comments>http://www.avinesh.com/blog/index.php/2008/10/29/setting-up-a-plesk-pop3-account-on-the-iphone/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 18:26:48 +0000</pubDate>
		<dc:creator>Avinesh</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[POP]]></category>
		<category><![CDATA[POP3]]></category>

		<guid isPermaLink="false">http://www.avinesh.com/blog/?p=140</guid>
		<description><![CDATA[I&#8217;ve helped a couple of people set up Plesk POP3 accounts on their iPhone. These instructions are confirmed working with iPhone firmware 2.1. This is what you need to do: 1. Select the Settings icon on the Home screen, then select Mail, Contacts, Calendars. 2. Select Add Account. 3. Select Other. 4. Enter your name, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve helped a couple of people set up Plesk POP3 accounts on their iPhone.  These instructions are confirmed working with iPhone firmware 2.1.</p>
<p>This is what you need to do:</p>
<p>1. Select the <strong>Settings</strong> icon on the Home screen, then select <strong>Mail, Contacts, Calendars</strong>.<br />
2. Select <strong>Add Account</strong>.<br />
3. Select <strong>Other</strong>.<br />
4. Enter your name, e-mail address and password. Select <strong>Save</strong>.<br />
5. Select <strong>POP</strong>.<br />
6. Enter your incoming mail server: mail.yourdomain.com<br />
7. Username: your username @ yourdomain.com<br />
8. Password: should be set already.<br />
9. Enter your outgoing mail server: mail.yourdomain.com<br />
10. Select <strong>Save</strong>.<br />
11. Select <strong>Yes</strong> when the &#8216;Cannot Connect Using SSL&#8217; message appears.<br />
12. If presented with a SMTP certifcate warning, select <strong>Continue</strong>.<br />
13. Select the <strong>Mail</strong> icon on the Home screen.<br />
14. Select e-mail account to retrieve e-mail messages from your account.</p>
<p>Can&#8217;t send e-mail with Rogers?</p>
<p>First make sure the following settings are set:<br />
1. Follow step 1 above and select your account.<br />
2. Scroll down to <strong>Advanced</strong>.<br />
3. Under <strong>Incoming Settings</strong>, set Use SSL to <strong>Off</strong>.<br />
4. Set <strong>Server Port</strong> to <strong>110</strong>.</p>
<p>You can also try using port 587 with Plesk, provided the Plesk configuration is set up to allow that port.  I think it&#8217;s under the Server-wide Mail Preferences and is called &#8220;Enable message submission&#8221;.</p>
<p>Still doesn&#8217;t work?</p>
<p>1. Follow step 1 above and select your account.<br />
2. Scroll down to <strong>Outgoing Mail Server</strong>.<br />
3. Select <strong>SMTP</strong>.<br />
4. Under <strong>Primary Server</strong>, select your domain account.<br />
5. Set Server to <strong>Off</strong>.  Go back.<br />
6. Under <strong>Other SMTP Servers</strong>, select <strong>Rogers SMTP server</strong>.<br />
7. Set Server to <strong>On</strong>. You should be able to send now.</p>
<p>For Step 6, you can also select smtp.gmail.com provided you have a Gmail account set up already.</p>
<p>That&#8217;s it <img src='http://www.avinesh.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.avinesh.com/blog/index.php/2008/10/29/setting-up-a-plesk-pop3-account-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP + cURL + CA bundle + Plesk = SSL issue?</title>
		<link>http://www.avinesh.com/blog/index.php/2008/09/23/php-curl-ca-bundle-plesk-ssl-payment-issue/</link>
		<comments>http://www.avinesh.com/blog/index.php/2008/09/23/php-curl-ca-bundle-plesk-ssl-payment-issue/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 21:59:16 +0000</pubDate>
		<dc:creator>Avinesh</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ca bundle]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.avinesh.com/blog/?p=95</guid>
		<description><![CDATA[I corrected an issue with the above products on my friend&#8217;s server today. Supposedly, the payment processor changed the SSL certificate used by their payment server and broke cURL payment processing for clients. The server in question was running Plesk 8.1.1 and CentOS. Since the fix isn&#8217;t published online, I&#8217;ll post my fix here. I [...]]]></description>
			<content:encoded><![CDATA[<p>I corrected an issue with the above products on my friend&#8217;s server today.  Supposedly, the payment processor changed the SSL certificate used by their payment server and broke cURL payment processing for clients.  The server in question was running Plesk 8.1.1 and CentOS.</p>
<p>Since the fix isn&#8217;t published online, I&#8217;ll post my fix here.</p>
<p>I noticed quite a few posts mentioned the cURL &#8216;-k&#8217; or &#8216;&#8211;insecure&#8217; flag, which does not verify the SSL certificate (eg. if a self-signed certificate is being used).  If you can&#8217;t verify a SSL certificate, then its authenticity is questionable.  The &#8216;-k&#8217; flag does NOT send communications in clear-text, as I previously noted (sorry!).  That&#8217;s not something I approve of, nor something I would recommend to a friend or client.</p>
<p>So, what to do?  First of all, I determined the path to the cURL CA bundle on the system.</p>
<p>grep -ir &#8220;curl&#8221; /etc<br />
<em>/etc/init.d/psa:CURL_CA_BUNDLE_FILE=/usr/share/curl/curl-ca-bundle.crt</em><br />
&#8230;</p>
<p>From the output above, we determine that Plesk is looking for the cURL CA bundle in <em>/usr/share/curl/</em> and that the filename should be <em>curl-ca-bundle.crt</em>.</p>
<p>Next, we need to download <em>cacert.pem</em> from <a href="http://curl.haxx.se/docs/caextract.html" target="_blank">http://curl.haxx.se/docs/caextract.html</a>.  I recommend using wget to download it to your server directly.  You will need to rename the file to <em>curl-ca-bundle.crt</em> once it&#8217;s downloaded.</p>
<p>Copy <em>curl-ca-bundle.crt</em> to <em>/usr/share/curl</em>.  If you get an error stating the path doesn&#8217;t exist, then you will need to create it using <em>mkdir -p /usr/share/curl</em>.  Once the path exists, copy the file to the new path: <em>cp curl-ca-bundle.crt /usr/share/curl</em>.</p>
<p>This is where it gets tricky. Open <em>curl-ca-bundle.crt</em> in vim or your favorite editor and search for &#8220;Equifax Secure Global eBusiness CA&#8221;.  Copy everything in the block, including that text and including END CERTIFICATE.  We need to copy that block to one more file (search for <em>ca-bundle.crt</em> on your system): <em>/usr/share/ssl/certs/ca-bundle.crt</em>.  Append the block to the bottom of the file.  Remember to press ENTER after the last line.  Of course, remember to ask your payment processor who their SSL vendor is and use the correct block.</p>
<p>Next, simply restart the Apache process: service httpd restart</p>
<p>That&#8217;s it.  You should now be able to process transactions using cURL and SSL.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.avinesh.com/blog/index.php/2008/09/23/php-curl-ca-bundle-plesk-ssl-payment-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
