Re: smtpd.conf new grammar

2018-05-26 Thread Leighton Sheppard
On Thu, May 24, 2018 at 02:18:56PM +0200, Gilles Chehade wrote: > Hi, > > I have just committed a major change in smtpd that'll require smtpd.conf > to be rewritten before your update to the new code. > > The new grammar is not TOO different from the former one, a lot of stuff > remains exactly i

Re: smtpd.conf new grammar

2018-05-25 Thread Gilles Chehade
On Thu, May 24, 2018 at 04:38:17PM -0400, Rupert Gallagher wrote: > On Thu, May 24, 2018 at 14:18, Gilles Chehade wrote: > > > In effect, instead of having: > > accept from any for local deliver to mbox > > > > You will have: > > action "my_action" mbox > > match from any for local action "my_act

Re: smtpd.conf new grammar

2018-05-24 Thread Todd C. Miller
On Thu, 24 May 2018 16:38:17 -0400, Rupert Gallagher wrote: > It may solve some obscure technical problem, but is a horrible thing > to read and write. How about keeping the best of both worlds? Leave > the old beautiful PF-like syntax to humans, and translate it into > the newEgyptian(tm) on the

Re: smtpd.conf new grammar

2018-05-24 Thread Rupert Gallagher
On Thu, May 24, 2018 at 14:18, Gilles Chehade wrote: > In effect, instead of having: > accept from any for local deliver to mbox > > You will have: > action "my_action" mbox > match from any for local action "my_action" It may solve some obscure technical problem, but is a horrible thing to read

smtpd.conf new grammar

2018-05-24 Thread Gilles Chehade
Hi, I have just committed a major change in smtpd that'll require smtpd.conf to be rewritten before your update to the new code. The new grammar is not TOO different from the former one, a lot of stuff remains exactly identical, but the ruleset is now split into two parts: - a named action - a m