Server is connecting with outside clients with success. Autentication with success. Sending emails with success.
The problem lies in the receiving. The e-mails arive to the machine but I guess they aren't getting sorted out.
Error in all received emails:
host mail.example.com[private/dovecot-lmtp] said: 451 4.3.0 Temporary internal error (in reply to end of DATA command)
I looked around dovecot config files but I couldn't find the problem.
Where should I look at to fix this issue? What config files from dovecot can I link here for you guys to see?
Включите журналы в /etc/dovecot/conf.d/10-logging.conf примерно так
log_path = /var/log/dovecot.log
Затем установите его разрешения
#chown vmail:dovecot /var/log/dovecot.log
#chmod 660 /var/log/dovecot.log
В моем случае журналы выдавали эту ошибку:
Ошибка: ошибка mkdir (/var/mail/vhosts/mydomain.com/jc/): Permission denied
Я вручную создал каталог jc и имею права на него и право собственности.
Затем я получил эту ошибку в журналах:
мы не в группе 12 (почта), директория принадлежит 0:12 mode = 0775)
Я решил проблему с помощью:
#chown vmail /var/mail/vhosts/mydomain.com
и получил то сладкое:
сохранил почту в INBOX
в логах