????? ?????: > Hi people ! > > I need to set several milters in postfix working un the same time. > One of those have old milter protocol and non-default *_macros milter > parameters. > Other milters can share default milter parameters from main.cf. > And as far as I understood the milter readme I can't do that because: > > per-milter settings in curly braces support only four milter protocol > parameters: command_timeout, connect_timeout, content_timeout, > default_action, and protocol. So I can't set milter macroses and > content_timeout !
No problem: if you send "too many" macros the milter(s) will just ignore them. > Also I cant get the proper syntax for multi-milter configuration from > milter readme: > - should I get rid of spaces around "=" ? Is the following record > valid?: {inet:127.0.0.1:9027, milter_protocol = 3, > milter_command_timeout = 180} As documented, you can specify "name=value" or "{ name = value }" > - it's not relevant since *_macros settings aren't supported but what > about "{}" in item definition inside milter definition that itself is in > "{}" ? You can specify "name={}" or "{ name = {} }". > - how, in paticular, I should put several milter definitions under > /smtpd_milters/ parameter. Is following example valid?: > > > smtpd_milters = { unix:greylist/milter-greylist.sock, > > connect_timeout=180, > > default_action=accept}, > > { unix:opendkim/opendkim.sock, default_action = tempfail, > > command_timeout=120} I thought that all this is documented. You specify one or more milter definitions separated by comma or space, and each milter definition can be inside { }. Wietse