OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Rahul Dhesi (dhesi_at_rahul.net)
Date: Mon Jan 13 2003 - 15:12:55 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Mon, Jan 13, 2003 at 01:03:22PM -0500,
    Victor.Duchovnimorganstanley.com wrote:

    > Yes, I just think that master.cf is a not a very place to put
    > configuration parameters and that the practice should be discouraged and
    > made as much as possible unnecessary.

    I have been creating multiple instances of smtpd by making a symlink to
    the smtpd binary, and using the name of the symlink in master.cf instead
    of the program name 'smtpd'. This lets me distinguish multiple
    instances of smtpd in the syslog output.

    New smtpds might be called, for instance, smtpd-internal and
    smtpd-external, where smtpd-internal and smtpd-external are symlinks
    pointing to the smtpd binary.

    If I could set their respective config parameters in main.cf by
    identifying them by name, I would gladly do so:

      smtpd-internal_relay_domains = ...
      smtpd-external_relay_domains = ...

    This would solve the namespace confusion, would it not? But only If
    Postfix supported this feature, and I don't believe it does.

    Rahul