From: Jay Leafey (no email)
Date: Thu May 02 2002 - 00:52:56 EDT
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 90% of being smart is knowing what you're dumb at. - To unsubscribe, send mail to with content (not subject): unsubscribe postfix-users
|
|
|