[PLUG] Postfix send only...

Ed Sawicki ed at alcpress.com
Sun Oct 7 09:26:38 UTC 2007


robinson-west user wrote:
> How do I configure postfix to reject any 
> attempt from an untrusted remote site to 
> initiate communication without causing 
> outgoing connections to fail?
> 
> 
> -------       /-----\
> | HUB |--->---| NET |
> -------       \-----/
> 
> Notice the arrow which means, only from the HUB.
> 
> If someone tries to initiate email transfer to 
> HUB from NET directly, I want them to get, 
> 550 this is not a relay.

I'd take a different approach. If it's not listed as
an MX, I'd use this as a honeypot and blacklist any
host that tries to use it.

Ed

   Noone should be
> attempting to do this anyways because my
> mailhub receives NET email from one of two
> dedicated relays which are listed as the
> mail exchangers for the NET.
> 
> An only out server on the relay machines
> strikes me as an option, but I don't know
> how to implement one.

This is probably what you want:

http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client






More information about the PLUG mailing list