Ubuntu + Vestacp + Exim Не принимает письма
Posted: Sat Nov 05, 2016 12:44 pm
Всем доброго времени суток!
Уже почти неделю пытаюсь настроить почту на сервере и всё никак =(
Прошу подсказать, помочь, кто знает.
Установлен: Ubuntu 14.04 + nginx + Vestacp
#1 Захожу в roundcube и отправляю от admin@itemp*re.biz письмо c темой test#1.
10 секунд и письмо у меня на Gmail.
Отвечаю на него с Gmail (или пишу новое, разницы нет) и сразу получаю ответ от Gmail, что не удалось доставить письмо.
Перечитывал соседние посты, сразу отвечу на частые вопросы:
/var/log/dovecot.log - пуст (перед тестом чистил логи)
В Весте пробовал удалять почту, создавать по новой - не влияет.
Подскажите в чем проблема? Куда копать?
За ранее, большое спасибо! :-)
Уже почти неделю пытаюсь настроить почту на сервере и всё никак =(
Прошу подсказать, помочь, кто знает.
Установлен: Ubuntu 14.04 + nginx + Vestacp
#1 Захожу в roundcube и отправляю от admin@itemp*re.biz письмо c темой test#1.
10 секунд и письмо у меня на Gmail.
Отвечаю на него с Gmail (или пишу новое, разницы нет) и сразу получаю ответ от Gmail, что не удалось доставить письмо.
Сам ответ от Gmail:Show
Delivery to the following recipient failed permanently:
admin@itemp*re.biz
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain itemp*re.biz by mail.itemp*re.biz. [46.30.42.197].
The error that the other server returned was:
550 Administrative prohibition
----- Original message -----
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=f+/U7WahE38DyI7h4j1fcfG2RwATi0Y2m/tG8EB20cQ=;
b=JBeDzr8DdmTXLo1mk9qr0f6+Pz1GKyvXDvobWuRWJhmPxFAHh0QTTa+lR4W+T8qXSQ
R8vIs/HWGoLqHvfPBI1YxKLir/fdk9mKZxpyDERabPBATNvBULMrgGjuQA7oyzRIbRhC
gH4V2/SO6AzeKfYaPRzToM/mGKeeBdaEghjPSl1U1DCvsxJPuUlb5adbXfeqJB8F0vN0
Vqdu3eip6urYDmUBpTSzxyxv/GHC0he7V4sETsBpZlxOUdKlNeC+pqZKCNyrP+q0uGwl
v/+0WWpOGpwfpc9YQTE5D2dGW2E+xdPZdX6FSqIjtomMR1Owl9ktIrmBNfKQu3pJSPTU
QF+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=f+/U7WahE38DyI7h4j1fcfG2RwATi0Y2m/tG8EB20cQ=;
b=PGNzInuuJ8C2DNuH4U73qhtHldRTsqSK7CLjQusD5BAnjwK0e6Af3cgazDTwJCK9Wh
KA1//ztW9c+RU9awxaDl0hVSGTm9b8ZdpdjZrfBvbvtYitmI3H0u5tjn3SqL3rU6xJ8U
ZjborjyqeYFxflwNT4T6iP4pG3Vik/W5NA4787EBDFfSOaus0vugQvKX/HgHFM8BXWao
Z+gZ4XHSFynAxy9BdxgDLhajmc8/7Px7bwadmktCRaDZJFEYD8nEgBfCsD8MxtryxYXP
c3Y2z3/mfOCXFoM4L2mJ9iirGAQI1TgKJPaVKdmkO/4bFnMsY0DKHu3b94vQ5D6b3w7h
Bj0Q==
X-Gm-Message-State: ABUngvdN2Hf3obO5Cr9BC5sJ3x3d6VgaRldNXiHroDxIV0GV0ND/6DRzG+Jtr82PlJSj2Y2XLdTmvlDGvrEARQ==
X-Received: by 10.25.56.94 with SMTP id d30mr3885896lfj.2.1478348877105; Sat,
05 Nov 2016 05:27:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.44.8 with HTTP; Sat, 5 Nov 2016 05:27:56 -0700 (PDT)
In-Reply-To: <013a1374e5d5806f3d8612f019b9a629@itemp*re.biz>
References: <013a1374e5d5806f3d8612f019b9a629@itemp*re.biz>
From: Yuriy ZHura <[email protected]>
Date: Sat, 5 Nov 2016 14:27:56 +0200
Message-ID: <CALi_3HQjD_L2j+yeC3NEBnYhRfqh0rytNkro_v793h6b29=[email protected]>
Subject: Re: test#1
To: admin@itemp*re.biz
Content-Type: multipart/alternative; boundary=f403045ea130ac906805408ceba3
admin@itemp*re.biz
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain itemp*re.biz by mail.itemp*re.biz. [46.30.42.197].
The error that the other server returned was:
550 Administrative prohibition
----- Original message -----
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=f+/U7WahE38DyI7h4j1fcfG2RwATi0Y2m/tG8EB20cQ=;
b=JBeDzr8DdmTXLo1mk9qr0f6+Pz1GKyvXDvobWuRWJhmPxFAHh0QTTa+lR4W+T8qXSQ
R8vIs/HWGoLqHvfPBI1YxKLir/fdk9mKZxpyDERabPBATNvBULMrgGjuQA7oyzRIbRhC
gH4V2/SO6AzeKfYaPRzToM/mGKeeBdaEghjPSl1U1DCvsxJPuUlb5adbXfeqJB8F0vN0
Vqdu3eip6urYDmUBpTSzxyxv/GHC0he7V4sETsBpZlxOUdKlNeC+pqZKCNyrP+q0uGwl
v/+0WWpOGpwfpc9YQTE5D2dGW2E+xdPZdX6FSqIjtomMR1Owl9ktIrmBNfKQu3pJSPTU
QF+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=f+/U7WahE38DyI7h4j1fcfG2RwATi0Y2m/tG8EB20cQ=;
b=PGNzInuuJ8C2DNuH4U73qhtHldRTsqSK7CLjQusD5BAnjwK0e6Af3cgazDTwJCK9Wh
KA1//ztW9c+RU9awxaDl0hVSGTm9b8ZdpdjZrfBvbvtYitmI3H0u5tjn3SqL3rU6xJ8U
ZjborjyqeYFxflwNT4T6iP4pG3Vik/W5NA4787EBDFfSOaus0vugQvKX/HgHFM8BXWao
Z+gZ4XHSFynAxy9BdxgDLhajmc8/7Px7bwadmktCRaDZJFEYD8nEgBfCsD8MxtryxYXP
c3Y2z3/mfOCXFoM4L2mJ9iirGAQI1TgKJPaVKdmkO/4bFnMsY0DKHu3b94vQ5D6b3w7h
Bj0Q==
X-Gm-Message-State: ABUngvdN2Hf3obO5Cr9BC5sJ3x3d6VgaRldNXiHroDxIV0GV0ND/6DRzG+Jtr82PlJSj2Y2XLdTmvlDGvrEARQ==
X-Received: by 10.25.56.94 with SMTP id d30mr3885896lfj.2.1478348877105; Sat,
05 Nov 2016 05:27:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.44.8 with HTTP; Sat, 5 Nov 2016 05:27:56 -0700 (PDT)
In-Reply-To: <013a1374e5d5806f3d8612f019b9a629@itemp*re.biz>
References: <013a1374e5d5806f3d8612f019b9a629@itemp*re.biz>
From: Yuriy ZHura <[email protected]>
Date: Sat, 5 Nov 2016 14:27:56 +0200
Message-ID: <CALi_3HQjD_L2j+yeC3NEBnYhRfqh0rytNkro_v793h6b29=[email protected]>
Subject: Re: test#1
To: admin@itemp*re.biz
Content-Type: multipart/alternative; boundary=f403045ea130ac906805408ceba3
Содержание файла hostsShow
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 itemp*re.biz
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
46.30.42.197 itemp*re.biz itempire
::1 localhost ip6-localhost ip6-loopback
ff02::2 ip6-allrouters
127.0.1.1 itemp*re.biz
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
46.30.42.197 itemp*re.biz itempire
::1 localhost ip6-localhost ip6-loopback
Содержание файла hostnameShow
itemp*re.biz
Лог Exim main.logShow
2016-11-05 15:26:25 Warning: purging the environment.
Suggested action: use keep_environment.
2016-11-05 15:26:25 [28097] cwd=/var/lib/roundcube 4 args: /usr/sbin/sendmail -t -i -[email protected]
2016-11-05 15:26:25 [28097] 1c303F-0007JB-D9 <= www-data@itemp*re.biz U=www-data P=local S=605 M8S=0 id=[email protected] T="test#1" from <www-data@itemp*re.biz> for mr.traney@gma*l.com
2016-11-05 15:26:25 [28100] cwd=/var/spool/exim4 3 args: /usr/sbin/exim4 -Mc 1c303F-0007JB-D9
2016-11-05 15:26:40 [28104] 1c303F-0007JB-D9 gmail-smtp-in.l.google.com [2a00:1450:4013:c05::1b] Connection timed out
2016-11-05 15:26:40 [28104] 1c303F-0007JB-D9 TLS error on connection to gmail-smtp-in.l.google.com [173.194.79.27] (cert/key setup: cert=/etc/ssl/certs/exim.pem key=/etc/ssl/private/exim.pem): Error while reading file.
2016-11-05 15:26:40 [28104] 1c303F-0007JB-D9 TLS session failure: delivering unencrypted to gmail-smtp-in.l.google.com [173.194.79.27] (not in hosts_require_tls)
2016-11-05 15:26:40 [28100] 1c303F-0007JB-D9 => mr.traney@gma*l.com F=<www-data@itemp*re.biz> P=<www-data@itemp*re.biz> R=dnslookup T=remote_smtp S=627 H=gmail-smtp-in.l.google.com [173.194.79.27] C="250 2.0.0 OK 1478348800 f6si20574528wjj.241 - gsmtp" QT=15s DT=0s
2016-11-05 15:26:40 [28100] 1c303F-0007JB-D9 Completed QT=15s
2016-11-05 15:27:57 [25432] SMTP connection from [209.85.215.52] (TCP/IP connection count = 1)
2016-11-05 15:27:57 [28119] H=(mail-lf0-f52.google.com) [209.85.215.52] F=<mr.traney@gma*l.com> rejected RCPT <admin@itemp*re.biz>
2016-11-05 15:27:57 [28119] H=(mail-lf0-f52.google.com) [209.85.215.52] incomplete transaction (QUIT) from <mr.traney@gma*l.com>
2016-11-05 15:27:57 [28119] SMTP connection from (mail-lf0-f52.google.com) [209.85.215.52] closed by QUIT
2016-11-05 15:29:27 [28128] cwd=/var/spool/exim4 2 args: /usr/sbin/exim4 -q
2016-11-05 15:29:27 [28128] Start queue run: pid=28128
2016-11-05 15:29:27 [28130] 1c2QPe-00056z-0B Message is frozen
2016-11-05 15:29:27 [28131] 1c2RDs-0005wz-JQ Message is frozen
2016-11-05 15:29:27 [28132] 1c2mtB-0004kv-Tz Message is frozen
2016-11-05 15:29:27 [28133] 1c2RDr-0005tJ-8V Message is frozen
2016-11-05 15:29:27 [28134] 1c2nhP-0005X9-Gc Message is frozen
2016-11-05 15:29:27 [28135] 1c2nhQ-0005aq-Dg Message is frozen
2016-11-05 15:29:27 [28128] End queue run: pid=28128
2016-11-05 15:30:02 Warning: purging the environment.
Suggested action: use keep_environment.
2016-11-05 15:30:02 [28251] cwd=/home/admin 2 args: exim -bpc
2016-11-05 15:35:02 Warning: purging the environment.
Suggested action: use keep_environment.
2016-11-05 15:35:02 [28419] cwd=/home/admin 2 args: exim -bpc
Suggested action: use keep_environment.
2016-11-05 15:26:25 [28097] cwd=/var/lib/roundcube 4 args: /usr/sbin/sendmail -t -i -[email protected]
2016-11-05 15:26:25 [28097] 1c303F-0007JB-D9 <= www-data@itemp*re.biz U=www-data P=local S=605 M8S=0 id=[email protected] T="test#1" from <www-data@itemp*re.biz> for mr.traney@gma*l.com
2016-11-05 15:26:25 [28100] cwd=/var/spool/exim4 3 args: /usr/sbin/exim4 -Mc 1c303F-0007JB-D9
2016-11-05 15:26:40 [28104] 1c303F-0007JB-D9 gmail-smtp-in.l.google.com [2a00:1450:4013:c05::1b] Connection timed out
2016-11-05 15:26:40 [28104] 1c303F-0007JB-D9 TLS error on connection to gmail-smtp-in.l.google.com [173.194.79.27] (cert/key setup: cert=/etc/ssl/certs/exim.pem key=/etc/ssl/private/exim.pem): Error while reading file.
2016-11-05 15:26:40 [28104] 1c303F-0007JB-D9 TLS session failure: delivering unencrypted to gmail-smtp-in.l.google.com [173.194.79.27] (not in hosts_require_tls)
2016-11-05 15:26:40 [28100] 1c303F-0007JB-D9 => mr.traney@gma*l.com F=<www-data@itemp*re.biz> P=<www-data@itemp*re.biz> R=dnslookup T=remote_smtp S=627 H=gmail-smtp-in.l.google.com [173.194.79.27] C="250 2.0.0 OK 1478348800 f6si20574528wjj.241 - gsmtp" QT=15s DT=0s
2016-11-05 15:26:40 [28100] 1c303F-0007JB-D9 Completed QT=15s
2016-11-05 15:27:57 [25432] SMTP connection from [209.85.215.52] (TCP/IP connection count = 1)
2016-11-05 15:27:57 [28119] H=(mail-lf0-f52.google.com) [209.85.215.52] F=<mr.traney@gma*l.com> rejected RCPT <admin@itemp*re.biz>
2016-11-05 15:27:57 [28119] H=(mail-lf0-f52.google.com) [209.85.215.52] incomplete transaction (QUIT) from <mr.traney@gma*l.com>
2016-11-05 15:27:57 [28119] SMTP connection from (mail-lf0-f52.google.com) [209.85.215.52] closed by QUIT
2016-11-05 15:29:27 [28128] cwd=/var/spool/exim4 2 args: /usr/sbin/exim4 -q
2016-11-05 15:29:27 [28128] Start queue run: pid=28128
2016-11-05 15:29:27 [28130] 1c2QPe-00056z-0B Message is frozen
2016-11-05 15:29:27 [28131] 1c2RDs-0005wz-JQ Message is frozen
2016-11-05 15:29:27 [28132] 1c2mtB-0004kv-Tz Message is frozen
2016-11-05 15:29:27 [28133] 1c2RDr-0005tJ-8V Message is frozen
2016-11-05 15:29:27 [28134] 1c2nhP-0005X9-Gc Message is frozen
2016-11-05 15:29:27 [28135] 1c2nhQ-0005aq-Dg Message is frozen
2016-11-05 15:29:27 [28128] End queue run: pid=28128
2016-11-05 15:30:02 Warning: purging the environment.
Suggested action: use keep_environment.
2016-11-05 15:30:02 [28251] cwd=/home/admin 2 args: exim -bpc
2016-11-05 15:35:02 Warning: purging the environment.
Suggested action: use keep_environment.
2016-11-05 15:35:02 [28419] cwd=/home/admin 2 args: exim -bpc
Лог Exim reject.logShow
2016-11-05 15:27:57 [28119] H=(mail-lf0-f52.google.com) [209.85.215.52] F=<mr.traney@gma*l.com> rejected RCPT <admin@itemp*re.biz>
/etc/exim4/exim4.confShow
# vim ft=exim
exim_user = Debian-exim
exim_group = Debian-exim
never_users = root
#local_interfaces = 127.0.0.1
local_interfaces = 0.0.0.0
domainlist local_domains = localhost : itemp*re.biz
rfc1413_query_timeout = 0s
ignore_bounce_errors_after = 2d
log_file_path = /var/log/exim4/%s.log
log_selector = +all \
-incoming_interface -incoming_port -outgoing_port \
-tls_certificate_verified -tls_cipher
begin routers
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
domains = +local_domains
user = Debian-exim
group = Debian-exim
pipe_transport = address_pipe
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more
catchall:
driver = redirect
domains = +local_domains
data = postmaster
begin transports
remote_smtp:
driver = smtp
tls_certificate = /etc/ssl/certs/exim.pem
tls_privatekey = /etc/ssl/private/exim.pem
address_pipe:
driver = pipe
return_output
begin retry
* * F,2h,15m; G,16h,1h,1.5; F,2d,6h
exim_user = Debian-exim
exim_group = Debian-exim
never_users = root
#local_interfaces = 127.0.0.1
local_interfaces = 0.0.0.0
domainlist local_domains = localhost : itemp*re.biz
rfc1413_query_timeout = 0s
ignore_bounce_errors_after = 2d
log_file_path = /var/log/exim4/%s.log
log_selector = +all \
-incoming_interface -incoming_port -outgoing_port \
-tls_certificate_verified -tls_cipher
begin routers
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
domains = +local_domains
user = Debian-exim
group = Debian-exim
pipe_transport = address_pipe
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more
catchall:
driver = redirect
domains = +local_domains
data = postmaster
begin transports
remote_smtp:
driver = smtp
tls_certificate = /etc/ssl/certs/exim.pem
tls_privatekey = /etc/ssl/private/exim.pem
address_pipe:
driver = pipe
return_output
begin retry
* * F,2h,15m; G,16h,1h,1.5; F,2d,6h
Подскажите в чем проблема? Куда копать?
За ранее, большое спасибо! :-)