[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] subdaemon execl not using routerprog

On Tue, Dec 05, 2006 at 11:31:22AM -0300, zmailer@lists.com.ar wrote:
> Hi, I'm sending again this patch (I've remade it for 2006-12-05 cvs)
> When the smtpserver starts you can set the arg [-R rtrprog]
> so it calls another routerprog
> but in smtpserver/subdaemons.c, this option is ignored.

Oh.  Right.  Applied.

>   execl(smtpserver, "smtpserver", "-I", "sub-router",
>         "-Z", zconf, NULL);
> Should'n be something like:
>   execl(smtpserver, "smtpserver", "-I", "sub-router",
>         "-Z", zconf, routerprog ? "-R" : NULL, routerprog, NULL);
> I think the other execl's have the same problem (didn't correct them)

There is one other instance of execl() in smtpserver with router in it.
That already uses  'routerprog'  for program specification, so no -R is needed.

But should it have -Z parameter ?   Hmm..  Ah, they do.

> Thanks 
> Saludos
> --  
> Leonardo Helman
> Pert Consultores
> Argentina

/Matti Aarnio	<mea@nic.funet.fi>
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi