Hi, i would like some info about exim and how i can limit the ips that can send emails.
My scenario is :
Server A, cpanel
Server B, custom server that sends mails with smtp through server A (A as smarthost).
I would like only the ip of server B to be allowed to send emails.
I could allow through my firewall only B ip to connect to 25/587/465 ports, but other problems will appear (a third mail server cannot connect to A to see if exists, smtp banner etc).
Is there a way to setup exim to allow sending only from B ip and accept connections from any host to allow actions like helo, telnet to mailserver ports etc ?
thank you in advance,
My scenario is :
Server A, cpanel
Server B, custom server that sends mails with smtp through server A (A as smarthost).
I would like only the ip of server B to be allowed to send emails.
I could allow through my firewall only B ip to connect to 25/587/465 ports, but other problems will appear (a third mail server cannot connect to A to see if exists, smtp banner etc).
Is there a way to setup exim to allow sending only from B ip and accept connections from any host to allow actions like helo, telnet to mailserver ports etc ?
thank you in advance,