ZhangHuangbin wrote:Check your settings in Postfix transport_maps lookup files, i guess the username or password is incorrect.
If you mean access data from files /etc/postfix/mysql/transport_maps_user.cf and /etc/postfix/mysql/transport_maps_domain.cf I can log in to mysql with user and password from this files without any problems.
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
Grand Totals
------------
messages
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.
Sep 26 09:16:43 poczta policyd: rcpt=1255028, greylist=new, host=x.x.81.26 (unknown), from=x@x.x, to=y@y.pl, size=0
Sep 26 11:16:43 poczta postfix/smtpd[1134]: NOQUEUE: reject: RCPT from unknown[X.X.81.26]: 450 4.7.1 <biuro@X.pl>: Recipient address rejected: Policy Rejection- Please try later.; from=<x@x.x> to=<biuro@X.pl> proto=ESMTP helo=<user-X.X.118.217.in-addr.arpa>
Sep 26 09:16:43 poczta policyd: connection from: 127.0.0.1 port: 47536 slots: 4 of 2044 used
Sep 26 09:16:43 poczta policyd: rcpt=1255029, whitelist=update, host=XX.XX.80.143 (unknown), from=XX@xXX.pl, to=oxx@xxxda.pl, size=113595
Sep 26 11:16:43 poczta postfix/smtpd[21880]: 21EB02810BC0: client=unknown[x.x.80.143]
Sep 26 11:16:43 poczta postfix/cleanup[6232]: 21EB02810BC0: message-id=<007c01cc7c2b$29aad040$0c00000a@niemiec>
Sep 26 11:16:43 poczta postfix/smtpd[3793]: connect from unknown[X.X.150.28]
Sep 26 11:16:43 poczta postfix/smtpd[1134]: lost connection after DATA (0 bytes) from unknown[X.X.81.26]
Sep 26 11:16:43 poczta postfix/smtpd[1134]: disconnect from unknown[X.X.81.26]
Sep 26 09:16:43 poczta policyd: rcpt=1255030, greylist=update, host=X.X.150.28 (unknown), from=newsletter@xxx.pl, to=XXX@XXX.XXX.pl, size=13384
Sep 26 11:16:43 poczta postfix/smtpd[3793]: 5D2992810D47: client=unknown[X.X.150.28]
Sep 26 11:16:43 poczta postfix/cleanup[25750]: 5D2992810D47: message-id=<01e8631ce44218b1bb1edec91033c315@www.XXXX.pl>
Sep 26 09:16:43 poczta policyd: rcpt=1255031, greylist=new, host=182.183.177.19 (unknown), from=xxxx@xx.ru, to=xxx@xxxx.pl, size=0
Is that normal?? Could that be a reason of temporary lookup failure ???