On Tue, Jan 04, 2011 at 07:14:34AM +0100, Ralf Hauser wrote:

> When I want to add a different banner with -o in master.cf for a
> secondary smtpd, this fails

    http://www.postfix.org/master.5.html

      ...

      -o name=value
             Override  the  named  main.cf  configuration
             parameter. The parameter value can refer  to
             other parameters as $name etc., just like in
             main.cf.  See postconf(5) for syntax.

             NOTE 1: do not specify whitespace around the
             "=".   In  parameter  values,  either  avoid
             whitespace altogether, use commas instead of
===>>        spaces,   or  consider  overrides  like  "-o
===>>        name=$override_parameter"    with     $over-
===>>        ride_parameter set in main.cf.

             NOTE  2: Over-zealous use of parameter over-
             rides makes the Postfix  configuration  hard
             to  understand  and  maintain.  At a certain
             point, it might be easier to configure  mul-
             tiple  instances of Postfix, instead of con-
             figuring  multiple  personalities  via  mas-
             ter.cf.

    http://www.postfix.org/MULTI_INSTANCE_README.html

Finally, no client software cares what your banner says beyond the minimal:

        220 server.example.com ESMTP

So banner customization is almost always pointless.

-- 
        Viktor.

Reply via email to