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)


On 03.05.21 15:08, IL Ka wrote:
Do you know which sender will be used for your locally generated mail?
If so, try
http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps

note that sender_dependent_relayhost_maps use sender mail address, not
sending IP.
--
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.
Linux IS user friendly, it's just selective who its friends are...

Reply via email to