Madan Thapa wrote: > Hello, > > Please advise an ACL to accept inbound emails from email gateway ( one IP > or a list of mail gateway IPs ) only for some domains, most likely at HELO > stage > > > > Say for example: > ##################### > I have a.com,b.com ..... z.com ( a number of domains on the same server ) > Email gateway ip list: 1.x.x.x , 3.y.y.y , 8.z.z.z > > I want that a.com , c.com and d.com , would accept incoming emails if and > only if emails are coming from 1.x.x.x , 3.y.y.y , 8.z.z.z
Set up a hostlist for those IP addresses (or equivalent names) and require that hosts = +yourgatewaylist in your helo acl. Set up a domainlist for your domains and require that domains = +yourdomainlist in your rcpt acl. Exim docs live at http://exim.org Cheers, Jeremy -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
