Answer the question
In order to leave comments, you need to log in
How to set up mail in Bitrix?
Good afternoon. There was a site on Centos 6 with Plesk, everything worked - mail was sent to him when registering a new user, everything is fine, in general. But due to some reasons, I had to move the site to BitrixVM - the mail stopped leaving. Well, i.e. I understand that you need to make some settings like these . But why did mail leave without any settings from Plesk before? What did Bitrix use to send earlier (on the old server)?
Update: Because I did not have any mail server at all (Sorry everyone
Answer the question
In order to leave comments, you need to log in
1. option and I highly recommend it to you.
Delegate mail to Yandex PDD, (essentially a regular option for bitirks vm)
By default, Bitrix vm does not use smtpd, but msmtpd, which, in fact, can only authenticate on someone else's mail server.
edit the file /home/bitrix/.msmtprc
(no need to restart the daemon)
write this there
# smtp account configuration for default
account default
logfile /home/bitrix/msmtp_default.log
host smtp.yandex.ru
port 587
from [email protected]
keepbcc on
auth on
user [email protected]
password ТУТ_ТВОЙ_ПАРОЛЬ
tls on
tls_certcheck off
tls_starttls on
yum install postfix
... php_admin_value sendmail_path "msmtp -t -i -a
Here_your_site_name" It will not be possible to install Bitrix and Roundcube on one vps. Contrasting configuration requirements for php.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question