При конфигурации хостинга, иногда при отправке писем через SMTP и RoudCube возникает такая ошибка «SMTP Error ($code): [451] Temporary local problem — please try later». Лечится так:
#Первым делом, добавляем exim в host.allow
mcedit /etc/host.allow
#в файле пишем и сохраняем
exim: ALL
#Если не помогло, пробуем перестроить конфиг eximа
nano /etc/exim/exim.conf
#вместо
malware = *
#пишем
malware = */defer_ok
Пример:
.ifdef VIRUS_SCAN accept condition = ${if >{$message_body_size}{2M} {yes}{no}} logwrite = Accept message without antivirus check because body size $message_body_size not critical warn condition = ${if eq{$acl_m3}{no} {yes}{no}} add_header = X-Scanned-By: ${extract{1}{/}{${readsocket{/var/run/clamd.scan/clamd.sock}{VERSION}{1s}{} {unscanned}}}}; $tod_full\n deny message = This message contains virus ($malware_name) hosts = * malware = * log_message = Rejected: this message contains virus ($malware_name) condition = ${if eq{$acl_m3}{no}{yes}{no}} .endif
Сделать так:
.ifdef VIRUS_SCAN accept condition = ${if >{$message_body_size}{2M} {yes}{no}} logwrite = Accept message without antivirus check because body size $message_body_size not critical warn condition = ${if eq{$acl_m3}{no} {yes}{no}} add_header = X-Scanned-By: ${extract{1}{/}{${readsocket{/var/run/clamd.scan/clamd.sock}{VERSION}{1s}{} {unscanned}}}}; $tod_full\n deny message = This message contains virus ($malware_name) hosts = * malware = */defer_ok log_message = Rejected: this message contains virus ($malware_name) condition = ${if eq{$acl_m3}{no}{yes}{no}} .endif