On Sun, Apr 10, 2016 at 08:08:21AM +0200, Joerg Jung wrote:
>
> > Am 09.04.2016 um 21:33 schrieb Jason McIntyre <[email protected]>:
> >
> >> On Sat, Apr 09, 2016 at 11:42:58AM +0200, [email protected] wrote:
> >> After quite some debugging of why the heck my smtpd.conf was not
> >> working after upgrading to 5.9 and substituting clamsmtp and dkim-
> >> signer by smtpd(8) filters:
> >>
> >> smtpd.conf(5) states:
> >> ?? filter name chain filter [, ...]
> >> but should say:
> >> ?? filter name chain filter [...]
> >>
> >
> > hi.
> >
> > could you explain what works and what doesn;t? from reading this, i'd
> > expect the doc is trying to say you can specify one filter like this:
> >
> > filter x chain y
> >
> > and multiple filters:
> >
> > filter x chain y,z
> >
> > are you speciying one argument to "chain" or multiple?
>
> If read parse.y correctly filter x chain is allowed to have zero, one, or
> multiple arguments.
> Though, only multiple arguments really make sense here.
>
> The given multiple arguments need to be separated by spaces, not commas:
>
> filter x chain y z
>
> so I think the diff below is right.
>
fair enough. but since "..." already means optional i went further and
removed the []:
filter name chain filter ...
jmc