R
R
Rusdan Kiba2013-07-28 00:41:19
PHP
Rusdan Kiba, 2013-07-28 00:41:19

ISPManager + Exim

1. DKIM does not work.
2. Different headers when sending via PHP and ISPManager webmail.

exim.con what changed
begin transports
DKIM_DOMAIN = ${lc:${domain:$h_from:}}
DKIM_FILE = /etc/exim/dkim/${lc:${domain:$h_from:}}.pem
DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}}
remote_smtp:
driver = smtp

.ifdef DKIM_ENABLE
dkim_domain = DKIM_DOMAIN
dkim_selector = mail
dkim_private_key = DKIM_PRIVATE_KEY
dkim_canon = relaxed
dkim_strict = 0
.endif

dns settings
_domainkey TXT (текстоваЯ запись) «t=y\; o=~\;»
ftp A (адрес Internet v4) 67.211.197.210
mail A (адрес Internet v4) 67.211.197.210
mail._domainkey TXT (текстоваЯ запись) «v=DKIM1\; t=y\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmXz5TJJYrvCi0x5CL7jkmDz6kHnwRJ3M1r4Aq4wV5UGROr+OmqzaBHKdrgFAAoAxVq785bqrmDEWLcUPilEo2zhp9uTrCJ4kcLAGtkOrkJ+EjmVEM14ShkF/Cj+ZoOAHs0bKx8yVsvBWsC6HRpFjI3rxwaTVMumIJKWD/DtFvLwIDAQAB»
modamania.kiev.ua. NS (сервер имЮн) ns1.modamania.kiev.ua.
modamania.kiev.ua. NS (сервер имЮн) ns2.modamania.kiev.ua.
modamania.kiev.ua. MX (почтовый сервер) mail
modamania.kiev.ua. MX (почтовый сервер) mail
modamania.kiev.ua. A (адрес Internet v4) 67.211.197.210
modamania.kiev.ua. TXT (текстоваЯ запись) v=spf1 ip4:67.211.197.210 a mx ~all
ns1 A (адрес Internet v4) 67.211.197.210
ns2 A (адрес Internet v4) 67.211.196.11
pop A (адрес Internet v4) 67.211.197.210
smtp A (адрес Internet v4) 67.211.197.210
www A (адрес Internet v4) 67.211.197.210

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kDas, 2013-07-28
@kybarg

ISPManager has regular problems with DKIM. Truth. Moreover, I tried it on different systems: CloudLinux (including other rhel-based systems), on Debian and on FreeBSD. About two months ago, there were a lot of problems. It did not work out of the box, only finishing it with my hands. You know, with ISPSystems' product development policy, you shouldn't expect fixes. Moreover, they themselves claimed that they are working on the fifth branch of products, on the fourth they only close bugs. And by the way, very slowly.
Advice from me: if possible, go to the vestacp.com open source panel - a developer from habr. By the way, there were no such problems.
And here, in your case, you have to finish it with your hands. In addition, little information is provided to say exactly what the problem is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question