Any one could explain the reason why postfix record log "smtp_get: EOF", Thanks!

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Any one could explain the reason why postfix record log "smtp_get: EOF", Thanks!

yangyangyang
I have add the client ip into mynetworks, but smtp connection from the
specified account from the specified device always be lost, after data
command.

Any one could give me some suggesstion?

thanks very much!

postfix log:
2018-03-28T09:56:31.619016+08:00 localhost postfix/smtpd[2197]: smtp_get:
EOF
2018-03-28T09:56:31.619019+08:00 localhost postfix/smtpd[2197]:
match_hostname: smtpd_client_event_limit_exceptions: unknown ~? 10.100.1.85
2018-03-28T09:56:31.619023+08:00 localhost postfix/smtpd[2197]:
match_hostaddr: smtpd_client_event_limit_exceptions: 10.100.1.85 ~?
10.100.1.85
2018-03-28T09:56:31.619027+08:00 localhost postfix/smtpd[2197]: lost
connection after CONNECT from unknown[10.100.1.85]



any possible reason is welcome´╝î tk



--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
Reply | Threaded
Open this post in threaded view
|

Re: Any one could explain the reason why postfix record log "smtp_get: EOF", Thanks!

yangyangyang
this issues always follow the smtp command "DATA"
postfix log:

2018-03-28T09:53:25.409198+08:00 localhost postfix/smtpd[30183]: >
unknown[10.100.1.237]: 250 2.1.5 Ok
2018-03-28T09:53:25.450287+08:00 localhost postfix/smtpd[30183]: <
unknown[10.100.1.237]: DATA
2018-03-28T09:53:25.450309+08:00 localhost postfix/smtpd[30183]: >
unknown[10.100.1.237]: 354 End data with <CR><LF>.<CR><LF>
2018-03-28T09:53:25.451396+08:00 localhost postfix/smtpd[30183]: smtp_get:
EOF
2018-03-28T09:53:25.451407+08:00 localhost postfix/smtpd[30183]:
match_hostname: smtpd_client_event_limit_exceptions: unknown ~? 10.100.1.85
2018-03-28T09:53:25.451412+08:00 localhost postfix/smtpd[30183]:
match_hostaddr: smtpd_client_event_limit_exceptions: 10.100.1.237 ~?
10.100.1.85
2018-03-28T09:53:25.451416+08:00 localhost postfix/smtpd[30183]:
match_hostname: smtpd_client_event_limit_exceptions: unknown ~? 10.100.1.237
2018-03-28T09:53:25.451419+08:00 localhost postfix/smtpd[30183]:
match_hostaddr: smtpd_client_event_limit_exceptions: 10.100.1.237 ~?
10.100.1.237
2018-03-28T09:53:25.451423+08:00 localhost postfix/smtpd[30183]: lost
connection after DATA (0 bytes) from unknown[10.100.1.237]
2018-03-28T09:53:27.008682+08:00 localhost postfix/



--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
Reply | Threaded
Open this post in threaded view
|

Re: Any one could explain the reason why postfix record log "smtp_get: EOF", Thanks!

Bastian Blank-3
In reply to this post by yangyangyang
On Fri, Mar 30, 2018 at 12:27:37AM -0700, yangyangyang wrote:
> I have add the client ip into mynetworks, but smtp connection from the
> specified account from the specified device always be lost, after data
> command.
>
> Any one could give me some suggesstion?

Disable verbose logging.

Bastian

--
I'm frequently appalled by the low regard you Earthmen have for life.
                -- Spock, "The Galileo Seven", stardate 2822.3
Reply | Threaded
Open this post in threaded view
|

Re: Any one could explain the reason why postfix record log "smtp_get: EOF", Thanks!

yangyangyang
that could not fix the problem....



--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html
Reply | Threaded
Open this post in threaded view
|

Re: Any one could explain the reason why postfix record log "smtp_get: EOF", Thanks!

Matus UHLAR - fantomas
In reply to this post by yangyangyang
On 30.03.18 00:35, yangyangyang wrote:

>this issues always follow the smtp command "DATA"
>postfix log:
>
>2018-03-28T09:53:25.409198+08:00 localhost postfix/smtpd[30183]: >
>unknown[10.100.1.237]: 250 2.1.5 Ok
>2018-03-28T09:53:25.450287+08:00 localhost postfix/smtpd[30183]: <
>unknown[10.100.1.237]: DATA
>2018-03-28T09:53:25.450309+08:00 localhost postfix/smtpd[30183]: >
>unknown[10.100.1.237]: 354 End data with <CR><LF>.<CR><LF>
>2018-03-28T09:53:25.451396+08:00 localhost postfix/smtpd[30183]: smtp_get:
>EOF

may be a broken client.

being that an external IP I would guess remote mailserver checking validity
of mail addresses at your system.


--
Matus UHLAR - fantomas, [hidden email] ; 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.
Linux is like a teepee: no Windows, no Gates and an apache inside...
Reply | Threaded
Open this post in threaded view
|

Re: Any one could explain the reason why postfix record log "smtp_get: EOF", Thanks!

Bill Cole-3
In reply to this post by yangyangyang
On 30 Mar 2018, at 3:44, yangyangyang wrote:

> that could not fix the problem....

True, but having verbose logging switched on has clearly led to
confusion.

The message you are asking about is not intrinsically a problem. It
merely indicates that the SMTP session has no more data to be read and
has been closed. This is something that happens normally at the end of
every SMTP session. It is an event, not an error.

The relevant log message is the last one you quoted:

     lost connection after CONNECT from unknown[10.100.1.85]

This is logged normally. It includes all of the details ofthe relevant
context that you need to understand the event.

This indicates that the prospective SMTP client at 10.100.1.85, whose
hostname is unknown, closed an established TCP connection before sending
any SMTP commands. Exactly why that happened can probably only be
diagnosed from the client side. The only oddity about this sort of an
event is that it is coming from a RFC1918 private IP, i.e. within your
own network, rather than from somewhere out on the Internet on the other
side of one or more routers run by total strangers.