Hello, I have some old slow peers where the default peer timeout 3 seconds are not big enough, frequent retrials are happening. I have some other very fast peers where even shorter peer timeout would be sufficient. In addition too I do not want to go and modify the code for all the new milter-greylist versions (changing the "#define COM_TIMEOUT 3" line in sync.c) So I have decided to implement per peer configurable timeout value through the configuration file. The configuration file syntax change is only that there is now an optional "timeout" clause for the peer line statement with a numeric parameter measured in seconds or optional s, m, h, etc... letter to change the unit. This change does not affect existing configuration files, it is backward compatible syntactically. There is neither semantic change, the default timeout value is kept to be three seconds. The 0 timeout value has a special meaning, it disables the connection timeout totally for that peer. Please include my attached contribution to the main stream of source code if you think it might be useful for others. Bests, Attila
Message
Per peer configurable MX sync timeout
2009-04-03 by attila.bruncsak@itu.int
Attachments
- No local attachments were found for this message.