A
A
Andrey Smirnov2016-02-04 16:46:23
SPF
Andrey Smirnov, 2016-02-04 16:46:23

How to set up the correct domain for mailing?

So there is a script that allows you to send letters, the task is to send white letters.
I want to configure several SMTP to send it
. And from here, step by step, what should I do?
I do SMTP on vesta, it gives everything, i.e. I configured DKIM and SPF I wrote.
3 pieces.
And I have a domain from which I want to send, or rather 2 one for one-time mailings and 1 for autoseries.
How to set them up correctly?
1) What to write in SPF for him? 2) How and on what to generate a
DKIM record essence how to make that mail from donem could be sent from other smtp?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Dubrovin, 2016-02-04
@z3apa3a

1. Make sure that the domains of addresses from envelope-from exist and match the domain in the address from From: up to the organizational domain (this is necessary for DMARC), for example, in From: [email protected], in envelope-from [email protected] example.com. You can use the same domain (example.com) in From: and envelope-from.
2. In SPF records for domains from envelope-from (server1.example.com), write down the addresses of SMTP servers
3. Выберите селектор для рассылок, можно один общий, можно разные для разных серверов, например mail1. Для каждого селектора опубликуйте публичный DKIM-ключ, например mail1.example.org, чем генерировать особой разницы нет, можно использовать opendkim-genkey. Ключ можно использовать один и тот же для разных селекторов, можно разный, главное чтобы приватный ключ был в паре с публичным. Настройте подпись рассылок DKIM выбранного домена с выбранным селектором (домен из поля From, а не envelope-from).
4. Опубликуйте DMARC-политику none, предварительно убедившись что домен из From и envelope-from элайнятся (совпадают с точностью до принадлежащего вам домена), для домена из envelope-from проходит SPF, для домена из From: проходит DKIM.

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question