October
7

This is a simple copy and paste guide for Debian, Ubuntu users to easy install Yahoo domain keys, working for pop and HTML emails with Sendmail installation. Just copy and paste the commands after #

Install DK Milter:

# wget http://switch.dl.sourceforge.net/sourceforge/dk-milter/dk-milter-1.0.1.tar.gz
decompress:
#
tar xvzf dk-milter-1.0.1.tar.gz
install libraries:
# apt-get install openldap-utils gcc
Compiling:
# cd dk-milter-1.0.1
# cp site.config.m4.dist devtools/Site/site.config.m4
# sh Build
# sh Build install

Generate public key:

# cd /root/.ssh/
# openssl genrsa -out rsa.private 768
# openssl rsa -in rsa.private -out rsa.public -pubout -outform PEM
Move your private key to the domainkeys directory:
# cd /var/db
# mkdir dkim
# mv /root/.ssh/rsa.public /var/db/dkim/default.key.pem

YOUR RSA PUBLIC KEY VALUE:
You can find your public RSA key value in /var/db/dkim/default.key.pem between:
—–BEGIN RSA PRIVATE KEY—–

—–END RSA PRIVATE KEY—–

without break lines and spaces.

configure sendmail:

copy the line below under LOCAL_DOMAIN on /etc/mail/sendmail.mc:
INPUT_MAIL_FILTER(`dk-filter’, `S=inet:8891@localhost’)

rebuild sendmail:
# sendmailconfig

libs:

download the libs from the rar file and follow the instructions inside: http://www.it-design.es/libs/dk-filter.rar

start domain key-milter:

#/usr/bin/dk-filter -l -p inet:8891@localhost -d domain1.com, domain2.com -s /var/db dkim/default.key.pem -S default

Note: To add a new domain you must kill the dk-filter process and run the above comand again:

Example:
ps aux | grep dk-filter
Kill pid_number

restart sendmail:
# /etc/init.d/sendmail restart

In your domain provider control panel create the 3 following TXT records:

SPF record for Gmail:
@ v=spf1 ip4:YOUR_SERVER_IP/24 include:blackberry.com ptr:blackberry.com ~all

DOMAIN KEYS:
mail._domainkey k=rsa; t=y; p=YOUR_RSA_PUBLIC_KEY_VALUE

_domainkey o=~; r=your_email

THAT’S ALL!!!

If you find any problem is because you don’t know how to copy and paste…

OTHER GUIDES
Resize existing Ubuntu Partition



©Web design Costa del Sol | SEO Marbella
0

Something to say?



"Do Follow" Comment Rules / Policies:

  • No spamming!!
  • We dofollow all links!
  • Your external link must be related to the genre and focus of SEO, SEM, search marketing, etc...
  • If your comment is unrelated to the blog entry, abusive or outright spammy, we will remove your comment.
  • Comments such "Great Article" or another rabish like that will also be rejected...

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.