Hi all,
I have ISPConfig 3.0.2.1 on my debian lenny and now i want to implement domainkeys since all my email marked as ***SPAM*** when received from yahoo email.
I follow
perfect debian guide. And in that guide say to install amavisd-new.
Then, now i'll try to follow
DKIM FaqForge and
IJS's DKIM, but in this DKIM guide thats say amavisd (not amavisd-new).
Since iam never found amavisd command and amavisd.conf, then i'll try like this :
1. Create keys :
Code:
# updatedb
# locate amavisd.conf
/usr/share/doc/amavisd-new/examples/amavisd.conf-default.gz
/usr/share/doc/amavisd-new/examples/amavisd.conf-sample.gz
# which amavisd
# which amavisd-new
/usr/sbin/amavisd-new
# mkdir /etc/amavis/dkim
# amavisd-new genrsa /etc/amavis/dkim/hidden-mydomain-com.key.pem
Private RSA key successfully written to file "/etc/amavis/dkim/hidden-mydomain-com.key.pem" (1024 bits, PEM format)
2. Insert domain keys and enable dkim in /etc/amavis/conf.d/50-user :
Code:
# vi /etc/amavis/conf.d/50-user
[...]
$inet_socket_port = [10024,10026,9998];
$enable_dkim_signing = 1;
dkim_key('mydomain.com', 'mail', '/etc/amavis/dkim/hidden-mydomain-com.key.pem');
$interface_policy{'10026'} = 'ORIGINATING';
$policy_bank{'ORIGINATING'} = {
originating => 1,
smtpd_discard_ehlo_keywords => ['8BITMIME'],
};
[...]
3. Restart amavis and postfix service
Code:
# /etc/init.d/amavis restart
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
unicorn:~# /etc/init.d/postfix reload
Reloading Postfix configuration...done.
4. Show keys and add to TXT DNS Records :
Code:
# amavisd-new showkeys
mail._domainkey.mydomain.com. 3600 TXT (
"v=DKIM1; p="
"abcdefg"
"hijklmn"
"opqrstu"
"vwxyz")
In ISPConfig dns, iam insert txt record :
Code:
Hostname : mail._domainkey.mydomain.com.
Text : v=DKIM1; p=abcdefghijklmnopqrstuvwxyz
5. Test keys :
Code:
# amavisd-new testkeys
TESTING: mail._domainkey.mydomain.com => invalid (public key: not available)
Any suggestions about this problem please ?
notes : i already have PTR and SPF record before
Recent comments
8 hours 2 min ago
13 hours 1 min ago
14 hours 27 min ago
15 hours 20 min ago
17 hours 3 min ago
21 hours 27 min ago
22 hours 19 min ago
1 day 32 min ago
1 day 13 hours ago
1 day 15 hours ago