OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Jay Leafey (jay.leafeymindless.com)
Date: Wed May 01 2002 - 23:52:56 CDT

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

    I've been fussing with this for a while and have yet to get it to work
    properly. Basically, we are trying to set up a couple of hosts to act as
    gateways for all incoming mail to our network. These hosts will relay mail
    to other hosts in our network and provide a 'generic' mail service via a
    directory such that a message addressed to {user}{domain} would get sent to
    the appropriate {user}{host}.{domain} via LDAP lookups.

    To that end, every host on our net has MX records that point to the gateway
    systems. The intent is to block all incoming traffic at our border routers
    to the SMTP port for any host except the 'controlled' hosts. This will
    allow us to do operations such as virus scanning for all traffic.

    The directory-based routing works great, but I have been scratching my head
    about how to properly handle mail for 'other' hosts. The only way I have
    been able to get this to work is to set up an explicit entry in the
    transport map with the hostname on the left side and 'smtp:[{ip-address}]'
    on the right. Unfortunately I don't really want to maintain that sort of
    map for several thousand hosts! If I don't put these entries in I get the
    expected 'mail loops back to myself' errors. Is there any way to handle
    this in a more elegant manner?

    Thanks!
    Jay

    ---
    Jay Leafey
    Memphis, TN
    jay.leafeymindless.com
    

    90% of being smart is knowing what you're dumb at.

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