Rafael Azevedo via Postfix-users:
> Hi there,
> 
> I'm writing a new Milter to be used on transport_maps with tcp map:
> 
> transport_maps = tcp:127.0.0.1:9998
> 
> Here is the thing.
> 
> When I send one message, everything goes smoothly, but when I send
> more than one message, I get this error:
> 
> postfix/trivial-rewrite[214756]: warning: read TCP map reply from
> 127.0.0.1:9998: unexpected EOF (Connection reset by peer).

The tcp_table server at 127.0.0.1:9998 has closed the connection
spontaneously. Don't do that.

The tcp_table server is supposed to keep the connection open until
the Postfix process closes it.

- A Postfix daemon such as trivial-rewrite will terminate (and close
  the tcp_table connection) after 100s idle time.

- A Postfix command-line tool such as postmap will terminat (and
  close the tcp_table connection) immediately.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to