R
R
Roman2016-02-12 17:09:16
Debian
Roman, 2016-02-12 17:09:16

Exim dovecot2 debian8. Access error?

Transferred the mail server from bsd to debian, but for some reason an error occurs when delivering mail, i.e. exim cannot put new mail in the folder created by dovecot
Permission denied: cannot chdir to /var/mail/domain.ru/[email protected]/
Transport:

dovecot_delivery:
     driver = appendfile
     maildir_format = true
     directory = /var/spool/mail/$domain/[email protected]$domain
     create_directory = true
     directory_mode = 0770
     mode_fail_narrower = false
     message_prefix =
     message_suffix =
     delivery_date_add
     envelope_to_add
     return_path_add
     user = mail
     group = mail
     mode = 0660

dovecot and exim run as a single user - mail.
P/s/ /var/spool/mail/ symlink to /var/mail/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-02-12
@Uvetrom

who is the owner and what rights does the /var/mail/ folder have?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question