Hi everybody,
I posted on r/postfix but it seems not to be so active any longer :-( I know this might sound as a quite complicated question but here you go: I need to setup a mail gateway to allow a certain amount of hosts in a LAN to send out mails and still pass SPF/DKIM/DMARC checks. Also, not all hosts in the LAN will be authorized to send mails and I want to keep some sort of traceability for the end user. My idea is to control who is authorized via `mynetworks` and up to here is all fine. The second thing I want to do is rewrite the from address based on the source ip, e.g. 10.1.1.1 -> FROM: j...@test.co.uk 10.1.1.2 -> FROM: m...@test.co.uk I saw many things going around filters and the check_client_access but I didn't get if it's possible or not. Appreciate any help! Thank you :-) All the best, Marco