Re: Naming a master.cf attribute (RFC: postconf user interface)

2013-01-14 Thread mouss
Le 11/01/2013 21:47, Wietse Venema a écrit : > Viktor Dukhovni: >> The only part that is tricky is the "command + args" column, where >> users arguably may want to add/delete "-o" flags, but in general >> the various "-o" flags one may want to add are not necessarily >> othogonal, and it is not alw

Re: Naming a master.cf attribute (RFC: postconf user interface)

2013-01-14 Thread Robert Moskowitz
On 01/14/2013 03:59 AM, Wietse Venema wrote: Robert Moskowitz: It does raise a question if there is an uncomment option? For example submission is commented in the master.cf and a very frequent uncomment target. I don't understand how that would work. Actually, I don't either! SInce both mai

Re: Naming a master.cf attribute (RFC: postconf user interface)

2013-01-14 Thread Wietse Venema
Robert Moskowitz: > It does raise a question if there is an uncomment option? For example > submission is commented in the master.cf and a very frequent uncomment > target. I don't understand how that would work. Wietse

Re: Naming a master.cf attribute (RFC: postconf user interface)

2013-01-13 Thread Robert Moskowitz
On 01/13/2013 02:54 PM, Wietse Venema wrote: Robert Moskowitz: My thoughts on this is which provides a better delete function? For main.cf, postconf already uses the following syntax: postconf mynetworks ... show main.cf entry(or entries) postconf -# mynetworks ... comment out

Re: Naming a master.cf attribute (RFC: postconf user interface)

2013-01-13 Thread Wietse Venema
Robert Moskowitz: > My thoughts on this is which provides a better delete function? For main.cf, postconf already uses the following syntax: postconf mynetworks ... show main.cf entry(or entries) postconf -# mynetworks ... comment out main.cf entry postconf -X mynetworks ... del

Re: Naming a master.cf attribute (RFC: postconf user interface)

2013-01-13 Thread Robert Moskowitz
On 01/11/2013 03:47 PM, Wietse Venema wrote: Viktor Dukhovni: The only part that is tricky is the "command + args" column, where users arguably may want to add/delete "-o" flags, but in general the various "-o" flags one may want to add are not necessarily othogonal, and it is not always safe t

Re: Naming a master.cf attribute (RFC: postconf user interface)

2013-01-11 Thread Wietse Venema
Viktor Dukhovni: > On Fri, Jan 11, 2013 at 03:47:41PM -0500, Wietse Venema wrote: > > > If the concerns with '=' and '.' in service names can be overcome, > > then the mouss syntax would simplify the user interface to query > > or update a master.cf attribute. > > Neither is actually a problem pr

Re: Naming a master.cf attribute (RFC: postconf user interface)

2013-01-11 Thread Viktor Dukhovni
On Fri, Jan 11, 2013 at 03:47:41PM -0500, Wietse Venema wrote: > If the concerns with '=' and '.' in service names can be overcome, > then the mouss syntax would simplify the user interface to query > or update a master.cf attribute. Neither is actually a problem provided we use "strrchr" to find