T
T
tomato002019-11-04 16:41:34
Exim
tomato00, 2019-11-04 16:41:34

How to set up EXIM?

There is a vesta panel / installed on maindomain.ru
5 domains have been created, each domain has its own ip for the user
klient1domen.ru / klient2domen.ru / klient3domen.ru / klient4domen.ru / klient5domen.ru
*** Letter helmet:
connect for example klient1domen. ru / [email protected]
look at the headers, we see:
Received-SPF: pass (mx277.i.mail.ru: domain of klient1domen.ru designates 00.0000.000 as permitted sender) client-ip=00.0000.000; [email protected]; helo= maindomain.ru ;
Received: from maindomain.com ([00.0000.000]:39768)
Why is the sender everywhere - helo / ip of the main server, the sender should be klient1domen.ru and its ip address, and maindomain.ru and its ip in recived, E
A small note !!! This is a relay, we connect to each domain individually correctly (I checked everything), but it gives out the MTA server everywhere and always

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
neol, 2019-11-05
@neol

remote_smtp:
driver = smtp
helo_data = ${lookup{$sender_address_domain}\
nwildlsearch{EXIM_DIR/helo_data}{$value}{$primary_hostname}}
interface = ${lookup{$sender_address_domain}\
nwildlsearch{EXIM_DIR/outgoing_ip}{$value}{EXIM_OUTGOING_IP}}

helo_data and outgoing_ip will look like this:
domain.ru 1.1.1.1
domain2.ru 1.1.1.2

EXIM_DIR and EXIM_OUTGOING_IP must be set.
https://habr.com/en/post/125407/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question