exim+dovecot+tls
Добавлено: 2021-10-12 10:13:26
Настраиваю связку exim+dovecot+tls, но происходит затык - Довекот не может попасть в директорию почты:
Если комментирую группу и юзера в транспорте, то не находит пользователя:
В Dovecot-е какие конфиги смотреть и какие данные нужны? И что не так в связке?
Роутер и Транспорт Exim:2021-10-12 10:03:09 1maBob-0005vB-Kr <= fortest@yandex.ru H=forward102p.mail.yandex.net [77.88.28.102] P=esmtps X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no S=2093 DKIM=yandex.ru id=453321634022178@mail.yandex.ru
2021-10-12 10:03:09 1maBob-0005vB-Kr == testuser@domain.ru R=localuser T=dovecot_lda defer (13): Permission denied: failed to chdir to /home/testuser/Maildir
2021-10-12 10:03:09 1maBob-0005vB-Kr ** testuser@domain.ru: retry timeout exceeded
2021-10-12 10:03:09 1maBob-0005vF-Lb <= <> R=1maBob-0005vB-Kr U=exim P=local S=3336
Код: Выделить всё
begin routers
localuser:
driver = accept
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
# transport = local_delivery
transport = dovecot_lda
cannot_route_message = Unknown user
begin transports
dovecot_lda:
driver = pipe
command = /usr/libexec/dovecot/dovecot-lda -f "$sender_address" -d "$local_part@$domain"
home_directory = /home/$local_part/Maildir
message_prefix =
message_suffix =
delivery_date_add
envelope_to_add
return_path_add
log_output
log_defer_output
return_fail_output
umask = 077
freeze_exec_fail
temp_errors = 64: 69: 70: 71: 72: 73: 74: 75: 78
group = exim
user = exim
#mode = 0660Все работает без MySQL, сертификаты прикрутил, Довекот хранит логин/пароль в /etc/cram-md5.pwd, пользователи заведены, у каждого есть /home2021-10-12 10:08:13 1maBtV-0005vs-2k ** testuser@domain.ru R=localuser T=dovecot_lda: Child process of dovecot_lda transport returned 67 (could mean user nonexistent) from command: /usr/libexec/dovecot/dovecot-lda
В Dovecot-е какие конфиги смотреть и какие данные нужны? И что не так в связке?