exim+dovecot
Добрый вечер.
Возникла проблема с отправкой сообщений локальным пользователям через группу everyone. Часть пользователей получает письма сразу, остальные откладываются, через пол часа, вновь часть получает, остальные откладываются.
из конфига exim:
вот группа:
everyone_groups:
driver = redirect
allow_fail
allow_defer
headers_remove = Subject
headers_add = Subject: [EVERYONE] $rheader_Subject
condition = ${if eq{$local_part}{everyone}{yes}{no}}
data = ${lookup mysql{SELECT concat(localpart, '@', domain) FROM mailboxes WHERE domain='${quote_mysql:${domain}}' AND active='1' AND notineveryone=false}}
no_more
вот роутер:
virtualuser:
driver = accept
condition = ${if eq{} {${lookup mysql{SELECT localpart FROM mailboxes WHERE \
localpart='${quote_mysql:${local_part}}' AND domain='${quote_mysql:${domain}}' AND \
active='1'}}} {no}{yes}}
transport = lmtp_delivery
вот транспорт:
lmtp_delivery:
driver = lmtp
socket = /var/run/dovecot/lmtp
batch_max = 200
delivery_date_add
envelope_to_add
return_path_add
вот лог отправки:
2016-03-04 00:40:11 1abZ6Z-0000FO-F9 SA: Action: Not running SA because SAEximRunCond expanded to false (Message-Id: 1abZ6Z-0000FO-F9). From <cher@domain.ru> (host=NULL [127.0.0.1]) for everyone@domain.ru
2016-03-04 00:40:11 1abZ6Z-0000FO-F9 <= cher@domain.ru H=(mail.domain.ru) [127.0.0.1] P=esmtpa A=CRAM_MD5:cher@domain.ru S=1178 id=247340b3758e9b11561e8f14951af97a@domain.ru from <cher@domain.ru> for everyone@domain.ru
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 => bro (bron1@domain.ru, spir@domain.ru, bron2@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <bron1@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> atnaku (atnakuzina.av@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <atnaku@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> reception (reception.mosgorka@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <recep@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> green (greenwald@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <green@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> gwman (greenwald@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <gwma@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> lubkov (greenwald@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <lubkov@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> sales.gre (greenwald@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <sales.gre@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> tc (tc@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <tc@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> antip (tc@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <anti@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> br (bron7@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <bro@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> itus (itusta@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <itu@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> cherepa (doc@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <cher@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> korsh (doc@domain.ru) <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <korsh@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> suhov <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <suhov@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> aven <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <aven@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> centre <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <centr@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> saifut <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <saifu@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> druzh <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <druz@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> porto <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <porto@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> centre <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <centr@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> cher <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <cheree@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> zinnur <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <zinn@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> aven <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <ave@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> ev_cen <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <ev_ce@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> ev_av <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <evo@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> ev_pr <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <ev@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> kuliko <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <kuli@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> sviri <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <svir@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> webr <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <web@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> cnt-ma <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <cnt-m@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> dsaifutd <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <dsaifu@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> shak <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <shak@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> koord <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <koo@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> tomi <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <tomi@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> yusu <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <yus@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> lyali <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <lyal@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> niku <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <niku@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> agza <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <agz@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> premier <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <prem@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> rog <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <rogk@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> bag <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <ba@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> dyl <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <dyl@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> pinyaz <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <pin@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> yastre <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <yas@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> nod <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <nod@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> docsv <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <docsv@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> shal <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <shaldi@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> rich <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <rich@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> fia <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <fia@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 -> katun <everyone@domain.ru> F=<cher@domain.ru> R=virtualuser T=lmtp_delivery C="250 2.0.0 <katuns@domain.ru> lMzJHx6T2FbCAwAApePGhg Saved"
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == abra@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == jir@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == ro@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == zhui@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == ems@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == pop@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == ovchi@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == ermita@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == on-@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == anal@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == igor@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == consoli@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == dol@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == sko@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == evr@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
2016-03-04 00:40:44 1abZ6Z-0000FO-F9 == mal@domain.ru <everyone@domain.ru> R=virtualuser T=lmtp_delivery defer (-1): LMTP connection closed after end of data
подскажите люди добрые что не так? что проверить. Спасибо.