$os_fingerprint_method and multiple servers

Mark Martinec Mark.Martinec+amavis at ijs.si
Fri Jul 11 13:36:21 CEST 2014


Ben,

> i have two mxes, both relaying mail, via lmtp, to amavis, running on a
> third server.  i'm wondering how i can configure $os_fingerprint_method
> to use the p0f data from both mail servers.

If you supply an asterisk '*' in place of an IP address
in the setting of $os_fingerprint_method, it will be
replaced by an IP address from which a connection
to amavisd was received, i.e. your MX MTA. So the
p0f query from amavisd will connect to a p0f service
on your MTA which supplied the message currently being
processed.

Another option for more complex setups is through the use of
policy banks. The os_fingerprint_method is a dynamic config
parameter, as such it is a member of policy banks.
You can configure amavisd to listen on multiple TCP ports,
associate a policy bank with a dedicated os_fingerprint_method
setting with each policy bank, then let each of your MX
connect to its dedicated amavisd port.

   Mark



More information about the amavis-users mailing list