On 10/13/2011 5:41 PM, Mark Homoky wrote: > On 11 Oct 2011, at 15:54, "Simon Brereton" <simon.brere...@buongiorno.com> > wrote: > >>>> >>>> this is obseleted (I'm running 2.7.1) and to use >>>> smtpd_tls_security_level = may instead - however, vim tells me that >>>> the former is a valid configurable (it's highlighted) whilst the >>>> latter is not. That's part of my confusion. >>> >>> The authors of vim are not Postfix experts. >> >> Among the other things it's not practical enough to know is how vim does >> this anyway. I assumed there was some sort of file it checks in the postfix >> sources. But I'll amend this. > > No, it's a vim syntax file IIRC.
Yes. > It might be useful for someone senior in Postfix development to look this > over? > Postfix evolves, the vim syntax file hasn't. Updating the current vim syntax file probably isn't terribly complicated, but is well outside the scope of postfix and would be an ongoing project. If you want to fix it, just go through the postconf(5) and master(5) man pages and make sure all valid parameters are included in the vim file (Probably near 800 if you also include all the valid smptd_*_restrictions options). My solution would be to remove the misleading vim syntax file. -- Noel Jones