Jernej Porenta: > Heya, > > I am using postfix SMTPD policy delegation for several spam related > tasks and one of the missing attributes was client_port - the TCP port > of client connecting to smtpd service. This attribute helps better > operating system detection using passive OS fingerprinting (p0f) and NAT > detection. > > Because of that, I wrote a small and simple patch (attached) for 2.11 > branch, which also includes client_port in the SMTPD policy delegation > request.
Thanks. Support for the remote SMTP client port was added in Postfix 2.5 so that the port could be logged, but for some reason it was never added to the policy delegation protocol. Wietse