Re: Relaying based on Souce IP address

2018-12-04 Thread Matus UHLAR - fantomas
On 04.12.18 10:10, pete pot wrote: Currently my Postfix is realying emails from domains listed in $relay_domains are you aware that relay_domains is list of domains that postfix will receive mail TO, not send from? The point is to be MX server for those domains. Is it possible with postfix to

Re: Relaying based on Souce IP address

2018-12-04 Thread Wietse Venema
pete pot: > Hi, > Currently my Postfix is realying emails from domains listed in > $relay_domains only when those emails come from IPs listed in > $mynetworks. Postfix does not give relay permission based on the "mail from" address. Instead, Postfix is usually configured to give relay permission

Relaying based on Souce IP address

2018-12-04 Thread pete pot
Hi, Currently my Postfix is realying emails from domains listed in $relay_domains only when those emails come from IPs listed in $mynetworks. Is it possible with postfix to split this? to allow relaying some domains only when coming from IP 'A' and some other domains only when coming from IP 'B'