Re: smtpd config parsing cleanup

2016-09-11 Thread Gilles Chehade
On Fri, Sep 09, 2016 at 01:35:27PM +0200, Eric Faurot wrote: > Because of the small ad hoc changes that were made here and there over > the years, the listener config code has become a bit convoluted I think. > Here is a little cleanup to: > > - have all listener creation functions take

Re: smtpd config parsing cleanup

2016-09-09 Thread Joerg Jung
> On 09 Sep 2016, at 13:35, Eric Faurot wrote: > > Because of the small ad hoc changes that were made here and there over > the years, the listener config code has become a bit convoluted I think. Yes. > Here is a little cleanup to: > > - have all listener creation functions

smtpd config parsing cleanup

2016-09-09 Thread Eric Faurot
Because of the small ad hoc changes that were made here and there over the years, the listener config code has become a bit convoluted I think. Here is a little cleanup to: - have all listener creation functions take listen_opts as param, and call config_listener() when done, which adds the