Answer the question
In order to leave comments, you need to log in
Exim4 + pdd.yandex.ru + several accounts - what could be the problem?
Good day to all!
There was such an interesting question with the support of two accounts for one smtp
. There is an account on pdd.yandex.ru, where two domains are added - domain1.ru and domain2.ru, as well as a server with exim4 configured as a relay.
Contents of update-exim4.conf.conf
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='maildomain.ru'
dc_local_interfaces='127.0.0.1 ; #external_ip#; ::1'
dc_readhost='maildomain.ru'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='#relay_ip#;'
dc_smarthost='smtp.yandex.ru:587'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_localdelivery='mail_spool'
Where #external_ip# and #relay_ip# are real values.
Contents of
passwd.client
smtp.yandex.ru:[email protected]:very_long_password
when sending, Exim logs in with credentials from domain1.
Here you need to somehow add another account for smtp.yandex.ru so that Exim learns to distinguish between them.
Tell me, please, knowledgeable people, how to solve this issue.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question