On 16.11.21 10:06, natan wrote:
I need some help about uderstand log:
I have
FILTER smtp-amavis:[127.0.0.1]:10628
you have this where?
this is local haproxy where connect postfix to port 10628 like:
...
bind 127.0.0.1:10628
server amavis1 86.xxx.xxx.125:10628 check maxconn
server amavis2 86.xxx.xxx.155:10628 check maxconn
server amavis3 86.xxx.xxx.234:10628 check maxconn
and come back from amavis to postfix is like
86.xxx.xxx.199:10027 inet n - n - 140 smtpd
-o smtpd_proxy_timeout=900s
-o content_filter=
-o mynetworks_style=host
-o
mynetworks=10.0.100.0/24,86.xxx.xxx.199/32,46.xxx.xxx.98/32,86.xxx.xxx.159/32,86.xxx.xxx.125/32,86.xxx.xxx.155/32,86.xxx.xxx.234/32
I recommend adding something like
-o syslog_name=postfix/filtered
to see clearly when the mail comes from your content filter.
Some times I get in logs "Temporary MTA failure on relaying" and I dont
known where is problem
1)in postfix ?
2)in amavis ?
beacuse is to cleary for me
log:
Nov 16 09:45:59 thebe4 postfix/smtpd[476]: 4Htfm74ZJCz20nZL:
client=mail.firmshop.pl[80.211.143.207]
Nov 16 09:45:59 thebe4 postfix/cleanup[800]: 4Htfm74ZJCz20nZL:
message-id=<20211116074501-0.1.53.wynw.0.3c4546q...@firmshop.pl>
Nov 16 09:45:59 thebe4 postfix/cleanup[800]: 4Htfm74ZJCz20nZL: warning:
header Subject: Fotowoltaika- propozycja instalacji from
mail.firmshop.pl[80.211.143.207]; from=<cc...@fdomain.pl>
to=<x...@xxxx.ltd> proto=ESMTP helo=<mail.firmshop.pl>
Nov 16 09:45:59 thebe4 postfix/qmgr[21807]: 4Htfm74ZJCz20nZL:
from=<krystian.os...@firmshop.pl>, size=2367, nrcpt=1 (queue active)
Nov 16 09:46:03 thebe4 postfix/smtp[25808]: 4Htfm74ZJCz20nZL:
to=<x...@xxxx.ltd>, relay=127.0.0.1[127.0.0.1]:10628, delay=4.1,
delays=0.19/0/0/3.9, dsn=4.4.2, status=deferred (host
127.0.0.1[127.0.0.1] said: 421 4.4.2 id=25846-08 - Temporary MTA failure
on relaying, from MTA(smtp:[86.xxx.xxx.199]:10027): 421 4.4.2
thebe4.domain.ltd Error: timeout exceeded (in reply to end of DATA command))
looks like your incoming smtpd on port 10027 said this to content_filter
which further said this to your postfix.
however, I don't see where your postfix [86.xxx.xxx.199]:10027 rejected the
mail. You should have that in logs, and if you do what I recommended above,
you'll see those errors in log under name "postfix/filtered/smtpd"
Nov 16 09:50:24 thebe4 postfix/qmgr[4959]: 4Htfm74ZJCz20nZL:
from=<krystian.os...@firmshop.pl>, size=2367, nrcpt=1 (queue active)
Nov 16 09:50:31 thebe4 postfix/smtp[5087]: 4Htfm74ZJCz20nZL:
to=<ku...@saletyni.pl>, relay=127.0.0.1[127.0.0.1]:10628, delay=272,
delays=265/3.9/0/2.6, dsn=2.0.0, status=sent (250 2.0.0 from
MTA(smtp:[86.xxx.xxx.199]:10027): 250 2.0.0 Ok: queued as 4HtfsM1LTZz20nWG)
Nov 16 09:50:31 thebe4 postfix/qmgr[4959]: 4Htfm74ZJCz20nZL: removed
after retry the mail went well.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I wonder how much deeper the ocean would be without sponges.