I have 1500 IP addresses SMTP source and Exchange 2016 (Behind KEMP LB) Due to LB topology, my anonymous SMTP relay receive connector scopes store on Exchange server. Now I can control anon. SMTP relay traffic by using DNS (stmp.company.com) But, due to availability concerns and redundancy I want to move this IP address to OpentSMTPd server. My idea, all SMTP mail sources send mails to opensmptd server and opensmtpd server relays those mail to Exchange 2016 server.
When I try to configure smtpd.conf file;
- I can create rule for from any domain to specific domain:
accept from any for domain "syt314.yasarsap.grp" relay via smtp://smtp.company.com:25
- But I can1t create rule about from a table to any domain by using "relay via"
table sourceaddr file:/etc/opensmtpd/sourceaddr
accept from source <sourceaddr> for domain any relay via smtp://smtp.company.com:25
Is there any way to do this?