On 03.05.21 11:40, Vincent Rochatte wrote:
I would like to configure Postfix the following way:

* emails from localhost -> 192.168.1.5
* emails from my_network (192.168.1.0/24) -> the rest of the world
  (with MX resolution)

looks like a job for different postfix instance:
http://www.postfix.org/MULTI_INSTANCE_README.html

I would like to put all outgoing mails in a pool on 192.168.1.5 . This host handles quotas / rate-limiting, etc. and then uses all the other hosts as round robin routers.

I tried to set 192.168.1.5 as the relay host, and reroute the mails from smtpd. I also tried to only reroute the mails coming from localhost. I couldn't manage to implement both options.


What's different on hosts in 192.168.1.0/24 that you want to avoid
everything you want to apply for localhost?


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton

Reply via email to