Loading ...
Sorry, an error occurred while loading the content.

Re: spaces when using "-o" in master.cf

Expand Messages
  • mouss
    ... it s not also . it s the . ... , is a separator. so that works, but it is obscure. avoid it.
    Message 1 of 7 , Dec 3, 2012
    • 0 Attachment
      Le 03/12/2012 14:59, Tomas Macek a écrit :
      > On Mon, 3 Dec 2012, Reindl Harald wrote:
      >
      >>
      >>
      >> Am 03.12.2012 14:42, schrieb Tomas Macek:
      >>> I have line like this
      >>>
      >>> smtpd_client_restrictions = check_policy_service
      >>> inet:127.0.0.1:24575, ...
      >>>
      >>> in my main.cf
      >>>
      >>> I would like the $smtpd_client_restrictions to override in
      >>> master.cf, something like:
      >>>
      >>> submission inet n - n - - smtpd
      >>> -o smtpd_client_restrictions=check_policy_service
      >>> inet:127.0.0.1:24575
      >>>
      >>> but the space between "check_policy_service" and "inet" is a problem.
      >>>
      >>> How can I write this (if it's possible generally)? I know, that the
      >>> doc says, the spaces are not allowed but maybe
      >>> there is a way...
      >>
      >> main.cf
      >> whatever_smtpd_client_restrictions = check_policy_service
      >> inet:127.0.0.1:24575
      >>
      >> master.cf:
      >> -o smtpd_client_restrictions=$whatever_smtpd_client_restrictions
      >
      > Thanks, this seems to be also the solution.

      it's not "also". it's "the".

      >
      > But according to the
      > http://marc.info/?l=postfix-users&m=108075412814545 (found after
      > really long time) the "," (comma) did the job:
      >
      > -o smtpd_client_restrictions=check_policy_service,inet:127.0.0.1:24575
      >
      > How this can work?? :-o

      ',' is a separator. so that works, but it is obscure. avoid it.
    Your message has been successfully submitted and would be delivered to recipients shortly.