Re: main.cf format checking.

2009-09-21 Thread Wietse Venema
Gerard: > A GUI that could create 'main.cf', do syntax checking and warn of > potential conflicting options, or perhaps options that were ordered > incorrectly would be a major project IMHO. Add in options for templates > for things like 'virtual hosting', 'sender dependent relaying', etc., > and t

Re: main.cf format checking.

2009-09-21 Thread /dev/rob0
On Monday 21 September 2009 12:17:27 David Southwell wrote: > > Yes, "postconf" could use a couple of extra features. > > What might be especially useful would be to check, in addition to > format erros, whether, on the face of it main.cf shows possible: > > 1. Open Relay Open relay is generally n

Re: main.cf format checking.

2009-09-21 Thread Gerard
On Mon, 21 Sep 2009 18:17:27 +0100 David Southwell wrote: [snip] > What might be especially useful would be to check, in addition to > format erros, whether, on the face of it main.cf shows possible: > > 1. Open Relay > 2. Appropriate configuration of subsidiary tools e.g policyd > 3. Appropria

Re: main.cf format checking.

2009-09-21 Thread David Southwell
> On Mon, Sep 21, 2009 at 08:57:09AM -0600, LuKreme wrote: > > On 21-Sep-2009, at 08:47, Victor Duchovni wrote: > >> It may be useful to highlight for review parameter names that are not > >> known to "postconf -d" (i.e. not built-in). Also any parameters defined > >> more than once (the last value

Re: main.cf format checking.

2009-09-21 Thread Victor Duchovni
On Mon, Sep 21, 2009 at 08:57:09AM -0600, LuKreme wrote: > On 21-Sep-2009, at 08:47, Victor Duchovni wrote: >> It may be useful to highlight for review parameter names that are not >> known to "postconf -d" (i.e. not built-in). Also any parameters defined >> more than once (the last value wins, bu

Re: main.cf format checking.

2009-09-21 Thread LuKreme
On 21-Sep-2009, at 08:47, Victor Duchovni wrote: It may be useful to highlight for review parameter names that are not known to "postconf -d" (i.e. not built-in). Also any parameters defined more than once (the last value wins, but there really should be just one setting of each parameter).

Re: main.cf format checking.

2009-09-21 Thread Victor Duchovni
On Mon, Sep 21, 2009 at 03:33:22PM +0100, David Southwell wrote: > Is there an independent main.cf format checking tool that will identify any > errors in the file? Even better one that analyses the main.cf and points out > weaknesses would be even more welcome!!! Syntax errors are easy to dete