Skip to forum content
Works on CentOS, Rocky, Debian, Ubuntu, FreeBSD, OpenBSD
You are not logged in. Please login or register.
Здравствуйте. проблема заключается в следующем периодически не принимается новая почта в логах
postfix/smtpd[91073]: NOQUEUE: reject: RCPT from mail.domain.ru[IP]: 451 4.3.0 <forum@domain.ru>: Temporary lookup failure; from=<forum@domain.ru> to=<email@mail.RU> proto=ESMTP helo=<mail.domain.ru>ecли включить логирование smtpd в master.cf
smtp inet n — n — — smtpd -vв mysql нет запросов выполняюшихся больше секунды и даже приближения к максимальному числу запросов.
сервер на базе freebsd 7 postfix 2.6.5бьюсь уже второй день что делать уже просто не представляю)
_DimON_
- Junior member
- Сообщения: 13
- Зарегистрирован: 13 апр 2006, 09:29
- Откуда: Белгород
- Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- Re: Postfix. 451 4.3.0 Temporary lookup failure
- (edited by blade 2011-10-24 14:36:08)
- Topic: Temporary lookup failure …what is the problem?[SOLVED]
- ZhangHuangbin
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- blade
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- ZhangHuangbin
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- blade (edited by blade 2011-09-27 01:54:09)
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- ZhangHuangbin
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- blade
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- ZhangHuangbin
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- blade
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- udi111
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- cemdogan
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- blade
- Re: Temporary lookup failure …what is the problem?[SOLVED]
- Posts
- IRedMail-1. 2 has been released.
- (edited by Anton_Sychev 2018-02-19 23:58:37)
- Topic: 451 4.3.0 temporary lookup failure
- Anton_Sychev
- Re: 451 4.3.0 temporary lookup failure
- ZhangHuangbin
- Re: 451 4.3.0 temporary lookup failure
- Anton_Sychev
- Re: 451 4.3.0 temporary lookup failure
Postfix. 451 4.3.0 Temporary lookup failure
Приветствую! Господа, в логе почтовика встречается следующая запись
Код: Выделить всё
postfix/smtpd[22009]: 1695731B930: reject: RCPT from unknown[81.17.85.187]: 451 4.3.0 <user@mydomen.ru>: Temporary lookup failure; from=<tengdq@msn.com> to=<user@mydomen.ru> proto=ESMTP helo=<[81.17.85.187]>Используется Postfix. Аккаунты, транспорт, домены хранятся в MySQL. Куда копать?.
Перерыл пол гугля. Пока никаких выводов не сделал. На момент появления ошибок в логе Postfix’а, в логе MySQL чисто. Проблема проявляется и для внешних адресов и при пересылке внутри домена.
spiner
- Junior member
- Сообщения: 5
- Зарегистрирован: 17 мар 2009, 19:35
- Откуда: Moscow
Re: Postfix. 451 4.3.0 Temporary lookup failure
17 мар 2009, 19:37

Fast
- Power member
- Сообщения: 37
- Зарегистрирован: 03 авг 2007, 15:10
- Откуда: Minsk
- Контактная информация:
Re: Postfix. 451 4.3.0 Temporary lookup failure
17 мар 2009, 20:43
а заодно приведите вывод:
из mysql.
Есть подозрение на то что по дефолту значения в 100 коннектов не хватает.
_DimON_
- Junior member
- Сообщения: 13
- Зарегистрирован: 13 апр 2006, 09:29
- Откуда: Белгород
Re: Postfix. 451 4.3.0 Temporary lookup failure
18 мар 2009, 09:20
Код: Выделить всё
mail# postconf -n | grep mysql | less
transport_maps = mysql:$base/mysqlLookupMaps/transport.conf
virtual_alias_maps = mysql:$base/mysqlLookupMaps/alias.conf
virtual_mailbox_domains = mysql:$base/mysqlLookupMaps/domain.conf
virtual_mailbox_limit_maps = mysql:$base/mysqlLookupMaps/quota.conf
virtual_mailbox_maps = mysql:$base/mysqlLookupMaps/mailbox.confКод: Выделить всё
mysql> show variables like '%connections';
+----------------------+-------+
| Variable_name | Value |
+----------------------+-------+
| max_connections | 300 |
| max_user_connections | 0 |
+----------------------+-------+
2 rows in set (0.00 sec)spiner
- Junior member
- Сообщения: 5
- Зарегистрирован: 17 мар 2009, 19:35
- Откуда: Moscow
Re: Postfix. 451 4.3.0 Temporary lookup failure
18 мар 2009, 16:15
Попробуйте к mysql через прокси подключаться.
proxy:mysql:
_DimON_
- Junior member
- Сообщения: 13
- Зарегистрирован: 13 апр 2006, 09:29
- Откуда: Белгород
Re: Postfix. 451 4.3.0 Temporary lookup failure
18 мар 2009, 22:51
Сегодня, в качестве эксперимента, сделал замену.
Код: Выделить всё
transport_maps = mysql:$base/mysqlLookupMaps/transport.confВыбор был обусловлен тем, что в логах было обнаружено сообщение
Код: Выделить всё
postfix/trivial-rewrite[12580]: warning: transport_maps lookup failurespiner
- Junior member
- Сообщения: 5
- Зарегистрирован: 17 мар 2009, 19:35
- Откуда: Moscow
Re: Postfix. 451 4.3.0 Temporary lookup failure
18 мар 2009, 23:17
А если сделать более детальные логи postfix? Они очень информативны.
_DimON_
- Junior member
- Сообщения: 13
- Зарегистрирован: 13 апр 2006, 09:29
- Откуда: Белгород
Re: Postfix. 451 4.3.0 Temporary lookup failure
18 мар 2009, 23:22
spiner
- Junior member
- Сообщения: 5
- Зарегистрирован: 17 мар 2009, 19:35
- Откуда: Moscow
Re: Postfix. 451 4.3.0 Temporary lookup failure
18 мар 2009, 23:31
Правильно ли я понял, что ошибка появляется не всегда? Может все-таки изучить во время ошибки запросы к mysql? Мне кажется, что именно туда и надо копать.
_DimON_
- Junior member
- Сообщения: 13
- Зарегистрирован: 13 апр 2006, 09:29
- Откуда: Белгород
Re: Postfix. 451 4.3.0 Temporary lookup failure
19 мар 2009, 10:00
Правильно. Но в логах мускула чисто. Ощущение, будто postfix обратился, но запрос до мускула не дошел. Как-будто какое-то ограничение сработало.
Выяснил еще одну вещь. Старый админ, от которого мне сервер достался, на почтовике не пересобирал ядро. Там Generic крутится.
spiner
- Junior member
- Сообщения: 5
- Зарегистрирован: 17 мар 2009, 19:35
- Откуда: Moscow
Re: Postfix. 451 4.3.0 Temporary lookup failure
19 мар 2009, 10:52
Хм.. Пусть крутится. Если использование прокси для подключения к mysql хоть как-то, но помогает, может использовать его или увеличить число коннектов в mysql (хотя 300 — это много, но я не знаю нагрузку на сервер)
Вернуться в «Серверы — ПО, Unix подобные системы»
Добрый день. Имеется Centos 6.2, а на нем Postfix-2.6.6. Работал полгода без проблем.Проблема в следующем вот уже несколько дней появляется прихожу утром и вижу в логах следующее:
Nov 6 06:55:27 proxy postfix/smtpd[26398]: NOQUEUE: reject_warning: RCPT from vancoover.org.ua[85.17.138.224]: 451 4.3.0 <market@domain.com>: Temporary lookup failure; from=<???@espro.org.ua> to=<market@domain.com> proto=ESMTP helo=<star-media.org>
Nov 6 06:55:27 proxy postfix/smtpd[26269]: NOQUEUE: reject_warning: RCPT from vancoover.org.ua[85.17.138.224]: 451 4.3.0 <market@domain.com>: Temporary lookup failure; from=<???@hijet.org.ua> to=<market@domain.com> proto=ESMTP helo=<star-media.org>
Nov 6 06:55:27 proxy postfix/smtpd[25823]: NOQUEUE: reject_warning: RCPT from vancoover.org.ua[85.17.138.224]: 451 4.3.0 <market@domain.com>: Temporary lookup failure; from=<???@hijet.org.ua> to=<market@domain.com> proto=ESMTP helo=<star-media.org>
Nov 6 06:55:27 proxy postfix/smtpd[27229]: NOQUEUE: reject_warning: RCPT from vancoover.org.ua[85.17.138.224]: 451 4.3.0 <market@domain.com>: Temporary lookup failure; from=<???@espro.org.ua> to=<market@domain.com> proto=ESMTP helo=<star-media.org>
Nov 6 06:55:27 proxy postfix/smtpd[26100]: NOQUEUE: reject_warning: RCPT from espro.org.ua[85.17.138.134]: 451 4.3.0 <market@domain.com>: Temporary lookup failure; from=<???@espro.org.ua> to=<market@domain.com> proto=ESMTP helo=<star-media.org>На root пришло след письмо
Transcript of session follows.Out: 220 post.betonmash.com ESMTP Postfix
In: EHLO star-media.org
Out: 250-post.betonmash.com
Out: 250-PIPELINING
Out: 250-SIZE 35840000
Out: 250-ETRN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: MAIL FROM:<???@barracuda.org.ua> SIZE=280572
Out: 250 2.1.0 Ok
In: RCPT TO:<urist@betonmash.com> ORCPT=rfc822;urist@betonmash.com
Out: 451 4.3.0 < @barracuda.org.ua>: Temporary lookup failure
In: DATA
Out: 554 5.5.1 Error: no valid recipients
In: RSET
Out: 250 2.0.0 Ok
In: QUIT
Out: 221 2.0.0 ByeFor other details, see the local mail logfile
При этом лог разрастается до вселенских размеров. При этом в 23:00 запускается awstats для парсинга и отжирает все ресурсы, все начинат дико тормозить.
Так как думал что спам атака то в первый день закрыл этот ip 85.17.138.134 в iptables. И добавил ограничения на соединения в main.cf
anvil_rate_time_unit=60s
smtpd_client_connection_rate_limit=20
smtpd_client_connection_count_limit=3
smtpd_connection_message_rate_limit=10И внес в проверку заголовков header_checks=pcre:/etc/… след строку /From:.*<[?]+([^>]+)/ REJECT In your email adress wrong symbols Для отсеивания адресов вида ????@.
Но сегодня ситуация опять повторилась но в логе уже был другой ip и сервак
Nov 9 07:15:35 proxy postfix/smtpd[19579]: NOQUEUE: reject_warning: RCPT from mail.betterwitnesses.com[63.226.243.162]: 451 4.3.0 <urist@domain.com>: Temporary lookup failure; from=<MASTERGROUP???@pledgebank.org.ua> to=<urist@domain.com> proto=ESMTP helo=<betterwitnesses.com>
Nov 9 07:15:35 proxy postfix/smtpd[19579]: NOQUEUE: reject_warning: RCPT from mail.betterwitnesses.com[63.226.243.162]: 451 4.3.0 <urist@domain.com>: Temporary lookup failure; from=<MASTERGROUP???@pledgebank.org.ua> to=<urist@domain.com> proto=ESMTP helo=<betterwitnesses.com>
Nov 9 07:15:35 proxy postfix/smtpd[19579]: NOQUEUE: reject_warning: RCPT from mail.betterwitnesses.com[63.226.243.162]: 451 4.3.0 <urist@domain.com>: Temporary lookup failure; from=<MASTERGROUP???@pledgebank.org.ua> to=<urist@domain.com> proto=ESMTP helo=<betterwitnesses.com>Тогда прслушал tcpdumpom все интерфейсы никаких соединений на smtp порт не было. Но ошибки продолжали сыпаться. Затем обрубил 25 порт на инетовском и локальном интерфейсе — ошибки все равно продолжали валиться. Посмотрел qshape — все очереди пусты, да и в логах пишет что NOQUEUE.
Только после перезапуска postfix ошибки перестали валиться.Очень прошу помогите, в чем может быть причина.
Вот конфиги постфикса и mysql:
myhostname = post.betonmash.com
smtp_helo_name = post.betonmash.com
mydomain = betonmash.com
myorigin = betonmash.com
mynetworks_style = host
mynetworks = 127.0.0.0/8 192.168.0.0/24
mydestination =
#local_recipient_maps = $virtual_mailbox_maps
##############System defaults###################
inet_protocols = ipv4
#inet_ifaces = all
#########Section for users and aliases##########
alias_maps = hash:/etc/aliases
virtual_mailbox_base = /var/spool/mailboxes
virtual_mailbox_domains = mysql:/etc/postfix/virtual_maps/virtual_domains.cf
virtual_uid_maps = mysql:/etc/postfix/virtual_maps/virtual_uid.cf
virtual_gid_maps = $virtual_uid_maps
transport_maps = mysql:/etc/postfix/virtual_maps/virtual_transport.cf
virtual_mailbox_maps = mysql:/etc/postfix/virtual_maps/virtual_users.cf
virtual_alias_maps = mysql:/etc/postfix/virtual_maps/virtual_aliases.cf
debug_peer_level = 2##########Section for restrictions and spamming##############
#smtpd_helo_restrictions =
# permit_mynetworks
# check_helo_access hash:/etc/postfix/restrictions/hello_access
# warn_if_reject reject_unknown_hostname
# warn_if_reject reject_non_fqdn_hostname
# warn_if_reject reject_invalid_hostname#smtpd_client_restrictions =
# permit_mynetworks
# check_client_access hash:/etc/postfix/restrictions/client_access
# warn_if_reject reject_unknown_client#smtpd_sender_restrictions =
# permit_mynetworks
# check_sender_access hash:/etc/postfix/restrictions/sender_access
# warn_if_reject reject_unknown_sender_domain
# warn_if_reject reject_non_fqdn_sendersmtpd_recipient_restrictions =
warn_if_reject reject_non_fqdn_recipient
warn_if_reject reject_unknown_recipient_domain
permit_mynetworks
reject_unauth_destination
check_recipient_access hash:/etc/postfix/restrictions/recipient_exceptions
check_client_access hash:/etc/postfix/restrictions/client_access
reject_unknown_reverse_client_hostname
reject_unknown_client
check_helo_access hash:/etc/postfix/restrictions/hello_access
check_helo_access pcre:/etc/postfix/restrictions/hello_checks
reject_unknown_hostname
reject_non_fqdn_hostname
reject_invalid_hostname
check_sender_access hash:/etc/postfix/restrictions/sender_access
check_sender_mx_access cidr:/etc/postfix/restrictions/bogus_mx
reject_non_fqdn_sender
reject_unknown_sender_domain
reject_rbl_client dnsbl.njabl.org
reject_rbl_client bl.spamcop.net
reject_rbl_client cbl.abuseat.org
check_policy_service inet:127.0.0.1:2501
permit
header_checks = pcre:/etc/postfix/restrictions/mime_header_checks
smtp_data_restrictions = reject_multi_recipient_bounce################Restrictions for connections################
smtp_soft_error_limit = 5
smtp_hard_error_limit = 10
smtp_error_sleep_time = 1s#################Restriction for lifetime##################
maximum_queue_lifetime = 5d
queue_run_delay = 10m#client_connections_status_update_time=20m
#client_connections_rate_time_unit = 60s
#smtpd_connections_rate_limit = 30
#smtpd_connections_count_limit = 25
anvil_rate_time_unit=60s
smtpd_client_connection_rate_limit=20
smtpd_client_connection_count_limit=3
smtpd_connection_message_rate_limit=10
###########Other restrictions##################
disable_vrfy_command = yes
smtpd_banner = $myhostname ESMTP $mail_name
message_size_limit = 35840000
###########SMTP AUTH FOR SERVER-SERVER###########
#smtp_sasl_auth_enable = yes
#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd.db###########SMTP AUTH FOR CLIENT-SERVER###############
#smtpd_sasl_auth_enable = yes
#smtpd_sasl_security_options = noanonymous
#broken_sasl_auth_clients = yes
#smtpd_sasl_local_domain =##########Scaning conent for viruses and spam###############
content_filter = scan:127.0.0.1:10025
receive_override_options = no_address_mappings***********************Вот mysql***********************
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
default-character-set=utf8
character-set-server=utf8
init-connect=’SET NAMES UTF8′
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid[client]
default-character-set=utf8Ошибок в mysqllog нет:
121101 11:12:21 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
121101 11:13:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
121101 11:13:30 [Warning] ‘—default-character-set’ is deprecated and will be removed in a future release. Please use ‘—character-set-server’ instead.
121101 11:13:31 InnoDB: Initializing buffer pool, size = 8.0M
121101 11:13:31 InnoDB: Completed initialization of buffer pool
121101 11:13:31 InnoDB: Started; log sequence number 0 44233
121101 11:13:31 [Note] Event Scheduler: Loaded 0 events
121101 11:13:31 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.1.61’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 Source distribution
You must login or register to post a reply
(edited by blade 2011-10-24 14:36:08)
- blade
Topic: Temporary lookup failure …what is the problem?[SOLVED]
Im getting a lots of Temporary lookup failure messeges in my maillog. I readed that problem could be mydestination statement in postfix main.cf file.
My distribution is centos 5.6
mydestination statement in my main.cf file :
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Stable release is out.
ZhangHuangbin
- ZhangHuangbin
Re: Temporary lookup failure …what is the problem?[SOLVED]
It’s hard to understand what you explained. Please post detail Postfix error log instead.
blade
- blade
Re: Temporary lookup failure …what is the problem?[SOLVED]
Im getting huge amount of this logs :
ps. sorry for my bad language ,my English is poor
ZhangHuangbin
- ZhangHuangbin
Re: Temporary lookup failure …what is the problem?[SOLVED]
blade (edited by blade 2011-09-27 01:54:09)
- blade
Re: Temporary lookup failure …what is the problem?[SOLVED]
And I think that problem occurs only periodically, or in certain cases (do not yet found a pattern). this is output from pflogsumm -d today —problems_first -e /var/log/maillog
Postfix log summaries for Sep 26
22618 received
26262 delivered
258 forwarded
343 deferred (537 deferrals)
94 bounced
18023 rejected (40%)
0 reject warnings
0 held
0 discarded (0%)
7436m bytes received
8733m bytes delivered
3943 senders
2194 sending hosts/domains
3123 recipients
1355 recipient hosts/domains
message deferral detail
————————
error (total: 168)
168 address resolver failure
local (total: 16)
16 address resolver failure
And today when I was looking in maillog I noticed that policyd logs time stamp is two hours late to podtfix log.
Is that normal?? Could that be a reason of temporary lookup failure ???
ZhangHuangbin
- ZhangHuangbin
Re: Temporary lookup failure …what is the problem?[SOLVED]
blade
- blade
Re: Temporary lookup failure …what is the problem?[SOLVED]
Can this errors be realated to lookup failure problem?
Sep 28 00:31:53 poczta postfix/proxymap23175: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 00:36:19 poczta postfix/proxymap23175: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 01:01:52 poczta postfix/proxymap23175: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 01:41:52 poczta postfix/proxymap5268: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 01:46:19 poczta postfix/proxymap5268: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 02:01:11 poczta postfix/proxymap9010: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 02:51:52 poczta postfix/proxymap12896: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 03:11:11 poczta postfix/proxymap12896: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 03:21:52 poczta postfix/proxymap12896: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 04:01:52 poczta postfix/proxymap20343: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 04:21:10 poczta postfix/proxymap24843: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 05:11:52 poczta postfix/proxymap700: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 05:31:10 poczta postfix/proxymap700: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 05:41:52 poczta postfix/proxymap700: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 06:21:51 poczta postfix/proxymap700: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 06:41:10 poczta postfix/proxymap700: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 06:51:51 poczta postfix/proxymap700: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=’
Sep 28 08:19:24 poczta postfix/proxymap30443: warning: mysql query failed: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ‘=
ZhangHuangbin
- ZhangHuangbin
Re: Temporary lookup failure …what is the problem?[SOLVED]
blade
- blade
Re: Temporary lookup failure …what is the problem?[SOLVED]
udi111
- udi111
Re: Temporary lookup failure …what is the problem?[SOLVED]
changing ascii_general_ci to utf8_general_ci worked for me.
cemdogan
- cemdogan
Re: Temporary lookup failure …what is the problem?[SOLVED]
and change all latin1_swedish to utf8_general_ci via phpmysql
blade
- blade
Re: Temporary lookup failure …what is the problem?[SOLVED]
changing to utf genral ci helped. Thanks
You must login or register to post a reply
«Postfix: Temporary lookup failure»
lehase


Добрый день!
Система FreeBSD 6.2-RELEASE
Почтовик postfix-current-2.6.20090125,4 из портов.
в один из суровых дней, когда в Финляндии перерубили оптоволоконный канал на Европу, посыпались проблемы с провайдерским DNS’ом. и все бы ничего, но Postfix начал в очень маленьком проценте писем давать отлуп пользователям, ссылаясь на то, что не может определить куда деть письмо. (Большинство писем отправляются нормально).
Выглядит это примерно так:
Feb 24 12:44:58 proliantx postfix/smtpd[26456]: connect from unknown[192.168.0.56]
Feb 24 12:44:58 proliantx postfix/smtpd[26456]: BA6682885B: client=unknown[192.168.0.56]
Feb 24 12:45:02 proliantx postfix/smtpd[26456]: disconnect from unknown[192.168.0.56]
Feb 24 12:45:43 proliantx postfix/smtpd[26456]: connect from unknown[192.168.0.17]
Feb 24 12:45:43 proliantx postfix/smtpd[26456]: warning: SASL authentication failure: realm changed: authentication aborted
Feb 24 12:45:43 proliantx postfix/smtpd[26456]: warning: unknown[192.168.0.17]: SASL DIGEST-MD5 authentication failed: authentication failure
Feb 24 12:45:43 proliantx postfix/smtpd[26456]: NOQUEUE: reject: RCPT from unknown[192.168.0.17]: 451 4.3.0 <rvi@ctc-motors.ru>: Temporary lookup failure; from=<rvi@ctc-motors.ru> to=<kuznetsova@kelin.ru> proto=ESMTP helo=<WS383>
Feb 24 12:45:45 proliantx postfix/smtpd[26456]: disconnect from unknown[192.168.0.17]Помогает либо
#postfix stop
#postfix startЧто понятное дело — не вариант, либо (иногда) перезапуск почтового клиента.
Конфигурация postfix:
[root@proliantx /home/phoenix]# postconf -n
address_verify_sender = <>
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_list = 127.0.0.1, ctc-motors.ru, ctc-c.ru, umgb.ru
default_privs = nobody
disable_vrfy_command = yes
header_checks = regexp:$base/header_checks
html_directory = no
inet_interfaces = all
local_recipient_maps = $virtual_mailbox_maps, $virtual_alias_maps, $alias_maps
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 31457280
mydestination = $myhostname, localhost
mydomain = ctc-motors.ru
myhostname = ctc-c.ru
mynetworks = 192.168.0.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
show_user_unknown_table_name = no
smtp_always_send_ehlo = yes
smtp_helo_timeout = 60s
smtp_mail_timeout = 60s
smtp_rcpt_timeout = 90s
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated,
check_client_access hash:$base/client_access, reject_unknown_client
smtpd_etrn_restrictions = reject
smtpd_hard_error_limit = 8
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
check_helo_access hash:$base/hello_access,
reject_invalid_hostname,
reject_non_fqdn_hostnamesmtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
permit_auth_destination,
check_sender_access hash:$base/sender_access,
check_recipient_access hash:$base/recipient_access,
reject_unauth_destination,
reject_unlisted_recipient,
reject_unknown_recipient_domain,
reject_non_fqdn_recipient,
reject_unverified_recipientsmtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks,
permit_sasl_authenticated,
check_sender_access hash:$base/sender_access,
reject_unknown_sender_domain,
reject_unlisted_sender,
reject_unverified_sendersmtpd_timeout = 120s
strict_rfc821_envelopes = yes
transport_maps = mysql:$base/mysqlLookupMaps/transport.conf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:$base/mysqlLookupMaps/alias.conf
virtual_gid_maps = static:1981
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = mysql:$base/mysqlLookupMaps/domain.conf
virtual_mailbox_maps = mysql:$base/mysqlLookupMaps/mailbox.conf
virtual_minimum_uid = 1000
virtual_uid_maps = static:1981[root@proliantx /home/phoenix]# cat /etc/resolv.conf
options timeout:4 attempts:3
domain ctc-motors.ru
nameserver 127.0.0.1DNS — Кэширующий Bind (Собственно здесь, как мне кажется основная проблема)
хотя не помогали подстановки провайдерских DNS’ов или DNS’а внутри сети.
Высказать мнение
Ответить
Правка
Cообщить модератору
- Postfix: Temporary lookup failure,
Michael, 14:30 , 24-Фев-09, (1)
- Postfix: Temporary lookup failure,
lehase, 15:29 , 24-Фев-09, (2)
- Postfix: Temporary lookup failure,
Michael, 16:45 , 24-Фев-09, (5)
- Postfix: Temporary lookup failure,
lehase, 16:51 , 24-Фев-09, (8)
- Postfix: Temporary lookup failure,
lehase, 15:46 , 24-Фев-09, (3)
- Postfix: Temporary lookup failure,
Michael, 16:35 , 24-Фев-09, (4)
- Postfix: Temporary lookup failure,
lehase, 16:46 , 24-Фев-09, (6)
- Postfix: Temporary lookup failure,
Michael, 16:47 , 24-Фев-09, (7)
- Postfix: Temporary lookup failure,
lehase, 17:39 , 24-Фев-09, (9)
- Postfix: Temporary lookup failure,
LS, 03:21 , 25-Фев-09, (10)
- Postfix: Temporary lookup failure,
lehase, 14:25 , 25-Фев-09, (11)
- Postfix: Temporary lookup failure,
ALex_hha, 20:21 , 26-Фев-09, (12)
- Postfix: Temporary lookup failure,
lehase, 19:57 , 28-Фев-09, (13)
- Postfix: Temporary lookup failure,
LS, 23:13 , 01-Мрт-09, (14)
- Postfix: Temporary lookup failure,
LS, 23:58 , 01-Мрт-09, (16)
- Postfix: Temporary lookup failure,
lehase, 11:42 , 02-Мрт-09, (18)
- Postfix: Temporary lookup failure,
LS, 23:22 , 01-Мрт-09, (15)
- Postfix: Temporary lookup failure,
Stonecold, 10:38 , 02-Мрт-09, (17)
| 1. «Postfix: Temporary lookup failure» | |
Сообщение от Michael (??) on 24-Фев-09, 14:30 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору |
| 2. «Postfix: Temporary lookup failure» | |
Сообщение от lehase ![]() (ok) on 24-Фев-09, 15:29 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 5. «Postfix: Temporary lookup failure» | |
Сообщение от Michael (??) on 24-Фев-09, 16:45 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 8. «Postfix: Temporary lookup failure» | |
Сообщение от lehase ![]() (ok) on 24-Фев-09, 16:51 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 3. «Postfix: Temporary lookup failure» | |
Сообщение от lehase ![]() (ok) on 24-Фев-09, 15:46 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 4. «Postfix: Temporary lookup failure» | |
Сообщение от Michael (??) on 24-Фев-09, 16:35 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 6. «Postfix: Temporary lookup failure» | |
Сообщение от lehase ![]() (ok) on 24-Фев-09, 16:46 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 7. «Postfix: Temporary lookup failure» | |
Сообщение от Michael (??) on 24-Фев-09, 16:47 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 9. «Postfix: Temporary lookup failure» | |
Сообщение от lehase ![]() (ok) on 24-Фев-09, 17:39 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 10. «Postfix: Temporary lookup failure» | |
Сообщение от LS (ok) on 25-Фев-09, 03:21 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 11. «Postfix: Temporary lookup failure» | |
Сообщение от lehase ![]() (ok) on 25-Фев-09, 14:25 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 13. «Postfix: Temporary lookup failure» | |
Сообщение от lehase ![]() (ok) on 28-Фев-09, 19:57 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 14. «Postfix: Temporary lookup failure» | |
Сообщение от LS ![]() (ok) on 01-Мрт-09, 23:13 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 16. «Postfix: Temporary lookup failure» | |
Сообщение от LS ![]() (ok) on 01-Мрт-09, 23:58 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 18. «Postfix: Temporary lookup failure» | |
Сообщение от lehase ![]() (ok) on 02-Мрт-09, 11:42 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 15. «Postfix: Temporary lookup failure» | |
Сообщение от LS ![]() (ok) on 01-Мрт-09, 23:22 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
| 17. «Postfix: Temporary lookup failure» | |
Сообщение от Stonecold ![]() on 02-Мрт-09, 10:38 | |
| |
| Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору | |
Posts
Pages 1
You must login or register to post a reply
Generated in 0.008 seconds (66% PHP — 34% DB) with 8 queries
IRedMail-1. 2 has been released.

You must login or register to post a reply
(edited by Anton_Sychev 2018-02-19 23:58:37)
- Anton_Sychev
Topic: 451 4.3.0 temporary lookup failure
also i get
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Stable release is out.
Anton_Sychev
- Anton_Sychev
Re: 451 4.3.0 temporary lookup failure
ZhangHuangbin
- ZhangHuangbin
Re: 451 4.3.0 temporary lookup failure
You can try to restart postfix and check its log file immediately, Postfix may log some useful info.
Anton_Sychev
- Anton_Sychev
Re: 451 4.3.0 temporary lookup failure
Sorry for the long answer.
Logs a quite alright, but i found that collation for db and connection is UTF8_general_ci
Searched this trouble throgh the forum and found, that it is recomeded to use utf8_unicode_ci when using cyrillic
I’ll try to change my dbs’ collation and post a result.

