cPanel SPF and Domain Keys install

Here you can find tutorials and notes for server-side maintenance/configuration

cPanel SPF and Domain Keys install

Postby lik » Wed Dec 10, 2008 4:15 am

You can install domain keys on a cPanel server easily for a single domain, in this tutorial I am using cPanel 11.
Run the following command shown below:
Code: Select all
/usr/local/cpanel/bin/domain_keys_installer username

(i.e.: /usr/local/cpanel/bin/domain_keys_installer afrizal)

It will automatically installing Domain Key for the domain (maindomain.net) successfully.
Now you can verify it from the db record of the domain. The following new entry will be added in the db record.
Code: Select all
vi /var/named/maindomain.net.db

Now run commands below:
Code: Select all
rndc reload maindomain.net
/etc/rc.d/init.d/exim restart

Now you can verify it by creating a new mail account [email protected] and send an email to yahoo account, then verify the headers.

Similar script exists and for creating SPF records:
Code: Select all
/usr/local/cpanel/bin/spf_installer

In case of any errors you may want to go directly to the SPF template:
Code: Select all
vi /usr/local/cpanel/Cpanel/SPF.pm

Find more documentations about Domain Keys at : http://domainkeys.sourceforge.net and http://antispam.yahoo.com/domainkeys + http://wiki.exim.org/DomainKeys
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

SPF record customization/setup

Postby lik » Mon Jan 19, 2009 3:07 am

Sender Policy Framework (SPF) allows software to identify messages that are or are not authorized to use the domain name in the SMTP HELO and MAIL FROM (Return-Path) commands, based on information published in a sender policy of the domain owner. Forged return paths are common in e-mail spam and result in backscatter. SPF is defined in RFC 4408(http://tools.ietf.org/html/rfc4408). More detailed overview can be found at http://en.wikipedia.org/wiki/Sender_Policy_Framework.

The Sender Policy Framework official website is:
http://www.openspf.org/
And if you want a wizard to help construct your SPF and do some tests with it go to:
http://old.openspf.org/wizard.html
SPF Record Testing Tools
http://www.openspf.org/Tools
http://www.openspf.org/Why
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am


Return to Server Side Actions

 


  • Related topics
    Replies
    Views
    Last post
cron