OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Michael Tokarev (mjttls.msk.ru)
Date: Wed Sep 05 2001 - 15:02:08 CDT

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

    Will Yardley wrote:
    >
    > Michael Tokarev wrote:
    > > Will Yardley wrote:
    >
    > > > does postfix try to guess what subnet you're in by looking at your
    > > > netmask and make that the default 'mynetworks'?
    >
    > > Yes, current postfix version might look into your interface
    > > configuration to "guess" mynetworks. Read about mynetworks_style
    > > parameter -- by default it is `subnet', other values are `host' and
    > > `class' (read sample-smtpd.cf and sample-misc.cf files).
    >
    > ahh this makes sense. the trouble is that i'd like to build it without
    > postfix doing this, as i'm making a homemade debian package for internal
    > use which will be distributed to various servers. since they're in
    > totally different netblocks, this is obviously not desirable. while i
    > could just make the default main.cf set $mynetworks to 127.0.0.1 i'd
    > prefer to compile it without the networks (or any other machine specific
    > settings) as default.

    Not quite shure what you're asking about or trying to do. Postfix's
    (now default) mynetwork_style=subnet is a "magic entry" -- with it,
    there are usually no other tweaks needed, postfix will adopt itself
    on any given host. Well, *usually*, but not always. If you want
    to have some other *dynamic* (i.e. based on host) settings, you can
    configure that into your dpkg post-install scripts (using postconf -e).

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