[CentOS] preventing apache from being a mail relay

Gordon Messmer yinyang at eburg.com
Mon Mar 4 22:49:24 UTC 2013


On 03/03/2013 02:54 PM, Robert Moskowitz wrote:
> Once upon a time, it worked this way out of the box.

You can go all the way back to the first release of Fedora or RHEL and 
check the configuration files.  mod_proxy has never been enabled by 
default, and the included example was not an open one:

#<IfModule mod_proxy.c>
#ProxyRequests On
#
#<Proxy *>
#    Order deny,allow
#    Deny from all
#    Allow from .example.com
#</Proxy>

If you go back as far as Apache 1.0 (late 90s), you'll find a 
configuration file that still does not enable proxy by default, but did 
not include an example of limiting the Proxy command as above.




More information about the CentOS mailing list