Re: Postfix error checking (Was *panic* Open relay ...)

From: Michael Tokarev (no email)
Date: Tue Apr 02 2002 - 05:40:02 EST


 wrote:
>
[]
> Computing the correct map spec (in a shell script) is complex because
> "postconf" returns unexpanded variable values. It would be made easier if
> "postconf -x -h variable" returned the fully expanded value of a
> configuration variable (this would be valuable more broadly).

Just a little somewhat unrelated note.
Victor, before modifying postconf to accept -x option, think: -x stands
for execute, not expand. ;) My idea was to have `postconf -x someprog args'
to set up environment - export ALL configuration as env. variables, expanded --
and execute someprog with args. Just like `env foo=bar someprog args'. That
way, some postfix's tasks will be very trivial -- install, postfix check/start
etc, and many others. In other words, it's my vote that -x will not be used
to mean "expand" but be reserved for "execute". ;) Maybe -X?

Regards,
 Michael.
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD