<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How To Add DomainKeys and SPF Records on CPanel Servers</title>
	<atom:link href="http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/</link>
	<description>Sohail Riaz, Linux and Open Source Blog</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:26:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ATUL KHACHANE</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-2110</link>
		<dc:creator>ATUL KHACHANE</dc:creator>
		<pubDate>Mon, 31 Oct 2011 10:37:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-2110</guid>
		<description>will this update serials in DNS including cPanel clustered DNS nature? If not, what will you suggest?</description>
		<content:encoded><![CDATA[<p>will this update serials in DNS including cPanel clustered DNS nature? If not, what will you suggest?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soma</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1937</link>
		<dc:creator>Soma</dc:creator>
		<pubDate>Tue, 09 Aug 2011 10:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1937</guid>
		<description>Just was searching for this automation. Thanks for posting it online.</description>
		<content:encoded><![CDATA[<p>Just was searching for this automation. Thanks for posting it online.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adhitya christiawan nurprasetyo [dit]</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1741</link>
		<dc:creator>adhitya christiawan nurprasetyo [dit]</dc:creator>
		<pubDate>Wed, 11 May 2011 22:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1741</guid>
		<description>@Guilherme Carvalho :
you should create it first if you dont have one.</description>
		<content:encoded><![CDATA[<p>@Guilherme Carvalho :<br />
you should create it first if you dont have one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guilherme Carvalho</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1740</link>
		<dc:creator>Guilherme Carvalho</dc:creator>
		<pubDate>Wed, 11 May 2011 18:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1740</guid>
		<description>i´m looking to add the script to ALL new domains, but i don´t have the /scripts/postwwwacct, i only have the /scripts/wwwacct and /scripts/wwwacct2

How can i do that? i´m using cPanel 11.28.87

Thanks</description>
		<content:encoded><![CDATA[<p>i´m looking to add the script to ALL new domains, but i don´t have the /scripts/postwwwacct, i only have the /scripts/wwwacct and /scripts/wwwacct2</p>
<p>How can i do that? i´m using cPanel 11.28.87</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 28 Email Deliverability Tips To Help Get Your Email Into In Boxes</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1724</link>
		<dc:creator>28 Email Deliverability Tips To Help Get Your Email Into In Boxes</dc:creator>
		<pubDate>Mon, 25 Apr 2011 20:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1724</guid>
		<description>[...] 4. Set up DomainKeys Identified Mail (DKIM) on your email server. This is similar to SPF records in that it is a way for major isps to identify the mail coming from your domain. This system is used by Gmail, Yahoo, SBCGlobal, British Telecom, Rogers Cable, Rocket Mail so if you want to get your mail to these isps you should set up DomainKeys. Here are some instructions on how to set up Domain keys on your server. If you are using a cpanel server with ssh root access here are some ssh commands you can use to put domain keys on all domains on your server in less than... [...]</description>
		<content:encoded><![CDATA[<p>[...] 4. Set up DomainKeys Identified Mail (DKIM) on your email server. This is similar to SPF records in that it is a way for major isps to identify the mail coming from your domain. This system is used by Gmail, Yahoo, SBCGlobal, British Telecom, Rogers Cable, Rocket Mail so if you want to get your mail to these isps you should set up DomainKeys. Here are some instructions on how to set up Domain keys on your server. If you are using a cpanel server with ssh root access here are some ssh commands you can use to put domain keys on all domains on your server in less than&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 28 Email Deliverability Tips &#124; Quickregister Marketing Blog</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1722</link>
		<dc:creator>28 Email Deliverability Tips &#124; Quickregister Marketing Blog</dc:creator>
		<pubDate>Mon, 25 Apr 2011 17:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1722</guid>
		<description>[...] 4. Set up DomainKeys Identified Mail (DKIM) on your email server. This is similar to SPF records in that it is a way for major isps to identify the mail coming from your domain. This system is used by Gmail, Yahoo, SBCGlobal, British Telecom, Rogers Cable, Rocket Mail so if you want to get your mail to these isps you should set up DomainKeys. Here are some instructions on how to set up Domain keys on your server. If you are using a cpanel server with ssh root access here are some ssh commands you can use to put domain keys on all domains on your server in less than... [...]</description>
		<content:encoded><![CDATA[<p>[...] 4. Set up DomainKeys Identified Mail (DKIM) on your email server. This is similar to SPF records in that it is a way for major isps to identify the mail coming from your domain. This system is used by Gmail, Yahoo, SBCGlobal, British Telecom, Rogers Cable, Rocket Mail so if you want to get your mail to these isps you should set up DomainKeys. Here are some instructions on how to set up Domain keys on your server. If you are using a cpanel server with ssh root access here are some ssh commands you can use to put domain keys on all domains on your server in less than&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1691</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 05 Apr 2011 17:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1691</guid>
		<description>Okay one problem I noticed for all others purposes..

the &quot; and &#039; were replaced with .&#039;s upon copy and pasting the code so watch to make sure the code doesn&#039;t change. Still need help with the compilation error.</description>
		<content:encoded><![CDATA[<p>Okay one problem I noticed for all others purposes..</p>
<p>the &#8221; and &#8216; were replaced with .&#8217;s upon copy and pasting the code so watch to make sure the code doesn&#8217;t change. Still need help with the compilation error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1690</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 05 Apr 2011 17:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1690</guid>
		<description>end
-------------------
 
    #!/usr/bin/perl 
 
    my %OPTS = @ARGV; 
    $ENV{USER} = .$OPTS{.user.}.; 
    system q(/usr/local/cpanel/bin/domain_keys_installer $USER); 
    system q(/usr/local/cpanel/bin/spf_installer $USER);
--------------------------------
I have also tried it taking out the #!/usr/bin/perl part. Still getting the following errors

root@server [~]# perl -c /scripts/postwwwacct
Semicolon seems to be missing at /scripts/postwwwacct line 6.
Semicolon seems to be missing at /scripts/postwwwacct line 7.
syntax error at /scripts/postwwwacct line 7, near &quot;v &quot;
/scripts/postwwwacct had compilation errors.</description>
		<content:encoded><![CDATA[<p>end<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>    #!/usr/bin/perl </p>
<p>    my %OPTS = @ARGV;<br />
    $ENV{USER} = .$OPTS{.user.}.;<br />
    system q(/usr/local/cpanel/bin/domain_keys_installer $USER);<br />
    system q(/usr/local/cpanel/bin/spf_installer $USER);<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
I have also tried it taking out the #!/usr/bin/perl part. Still getting the following errors</p>
<p>root@server [~]# perl -c /scripts/postwwwacct<br />
Semicolon seems to be missing at /scripts/postwwwacct line 6.<br />
Semicolon seems to be missing at /scripts/postwwwacct line 7.<br />
syntax error at /scripts/postwwwacct line 7, near &#8220;v &#8221;<br />
/scripts/postwwwacct had compilation errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1689</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 05 Apr 2011 16:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1689</guid>
		<description>middle
------------------------------
addondict = ydata[&#039;addon_domains&#039;] 
parkedlist = ydata[&#039;parked_domains&#039;] 
domainlist = ydata[&#039;main_domain&#039;] 
domain = domainlist 
docroot, yip, alias = createvhosts.getvars(domain) 
if yip == iplist[0]: 
        createvhosts.writeconfshared(newuser, domain, docroot, yip, alias) 
else: 
        createvhosts.writeconfded(newuser, domain, docroot, yip, alias) 
 
proc = subprocess.Popen(&quot;/etc/init.d/nginx restart &gt; /dev/null 2&gt;&amp;1&quot;, shell=True) 
output = proc.communicate()</description>
		<content:encoded><![CDATA[<p>middle<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
addondict = ydata['addon_domains']<br />
parkedlist = ydata['parked_domains']<br />
domainlist = ydata['main_domain']<br />
domain = domainlist<br />
docroot, yip, alias = createvhosts.getvars(domain)<br />
if yip == iplist[0]:<br />
        createvhosts.writeconfshared(newuser, domain, docroot, yip, alias)<br />
else:<br />
        createvhosts.writeconfded(newuser, domain, docroot, yip, alias) </p>
<p>proc = subprocess.Popen(&#8220;/etc/init.d/nginx restart &gt; /dev/null 2&gt;&amp;1&#8243;, shell=True)<br />
output = proc.communicate()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.sohailriaz.com/how-to-add-domainkeys-and-spf-records-on-cpanel-servers/comment-page-1/#comment-1688</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 05 Apr 2011 16:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.sohailriaz.com/?p=67#comment-1688</guid>
		<description>Top Half of postwwwacct file
-----------------------------------------------
root@server [~]# vi /scripts/postwwwacct 
iptaglist = parsedipDOC.getElementsByTagName(&#039;ip&#039;) 
iplist =[] 
 
q = 0 
while q &lt; len(iptaglist): 
        iplist.append(str(iptaglist[q].childNodes[0].toxml())) 
        q = q + 1 
 
 
 
f = open(&#039;/var/cpanel/userdata/&#039; + newuser + &#039;/main&#039;) 
ydata = yaml.load(f) 
f.close() 
sublist = ydata[&#039;sub_domains&#039;]</description>
		<content:encoded><![CDATA[<p>Top Half of postwwwacct file<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
root@server [~]# vi /scripts/postwwwacct<br />
iptaglist = parsedipDOC.getElementsByTagName(&#8216;ip&#8217;)<br />
iplist =[] </p>
<p>q = 0<br />
while q &lt; len(iptaglist):<br />
        iplist.append(str(iptaglist[q].childNodes[0].toxml()))<br />
        q = q + 1 </p>
<p>f = open(&#039;/var/cpanel/userdata/&#039; + newuser + &#039;/main&#039;)<br />
ydata = yaml.load(f)<br />
f.close()<br />
sublist = ydata[&#039;sub_domains&#039;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

